How to open a file in the editor?
Answered
I want an API to help me open a file on disk in the editor. The scene is shown in the figure below. Thanks.
Please sign in to leave a comment.
Hi Lizhiqun1994,
You can use
com.intellij.openapi.fileEditor.OpenFileDescriptor
to achieve this.Thank, it can work.