How to open a file in the editor?

已回答

I want an API to help me open a file on disk in the editor. The scene is shown in the figure below. Thanks.

0

Hi Lizhiqun1994,

You can use com.intellij.openapi.fileEditor.OpenFileDescriptor to achieve this.

1

请先登录再写评论。