Search code examples
javaintellij-ideaintellij-plugin

How to call to "Go to Line" via "com.intellij.openapi"?


I'm looking for a method in "com.intellij.openapi" that get filename, line and column and call to "Go to Line".

This method will navigate to the location ("Not will open the window Go to Line").

enter image description here


Solution

  • new OpenFileDescriptor(project, file, line, column).navigate(...)