idea plugin dev: how to open file with openapi

in idea, i can use file > open > full file path to open a file, i wanna know how to open file with openapi, i wanna quickly open some special file with my convention
for instance i wanna quickly navigate test file with one key, this is my previous question about this https://intellij-support.jetbrains.com/requests/38671, i just implement a quickly navigate to first test file with /\_test.py$|/ or /Test.java$/

2 comments
Comment actions Permalink

new OpenFileDescriptor(project, file).navigate(true)

1
Comment actions Permalink

Yole saved my life again.

0

Please sign in to leave a comment.