-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hyperlink to method to IntelliJ's editor #352
Comments
That sounds like something IntelliJ itself should support, is there a feature request on youtrack? |
I'm talking to the JetBrains support. |
AFAIU this editing support is needed inside the |
@Krivich from where do you want to jump? From a web browser or from a diagram preview or from a plantuml source code? |
For me personally - from diagram preview. And jump from web browser can fix jatbrains team only. |
You can try it, it is really generic for all identifiers, not only methods ( |
Hi. It was mentioned that it is possible to navigate to a specific line in a file in IntelliJ's editor through a link, but when I set the link to include a line number, I am unable to navigate to it, like [[src/main/resources/config/process.xml:20 gotoStateEnd]]. What format should I use to enable jumping from the PlantUML plugin to a specific line of code in a designated file? |
It needs to be implemented. |
Hello @krasa, Thank you for your continuous efforts and contributions to the project. I would like to emphasize how much your work has positively impacted my team, providing us with invaluable tools and enhancements. Could you kindly provide any updates on the progress of this feature? Additionally, if there is an estimated timeline for when it might be available, that information would be greatly appreciated. |
@wheat2021 Thanks, it is done. But navigation from the editor does not work right, I have to consult someone if it is even possible. |
Hello @krasa, |
Hi. I'd want to be able to jump from diagram to the source code which diagram represents. There is a working way to use IntelliJ's build-in HTTP API in pair with PlantUML's hyperlink syntax like
[[http://localhost:63342/api/file/src/main/java/com/example/MyApp.java MyApp]]
- and this link will open Idea's editor for the beginning of the specified file. This InetlliJ's HTTP API supports referencing to the file line number but it not supports referencing to method name which is the only one robust way. There is also a bit disappointing side-effect of this HTTP API way that every jump creates a new empty tab in web-browser. Can PlantUML plugin provides its own mechanism to jump to the method from diagram?The text was updated successfully, but these errors were encountered: