Jumping to line using tag + offset in VS Code
How would one jump to a particular line by typing a tag and adding an offset in VS Code (zMethodName + n)? I know this can be done in Studio and would be particularly helpful for debugging error messages.
Here's a quick example. In short:
It would be nice if this was available via quick pick based on the isfs context (including the routine, not just the tag+offset).
Sounds like a good enhancement request.
I'd place this as a embedded link (like debug and copy invocation) but above the classname, like "goto line" - you click it, place the copied debug string and it goes to the line. And opens "Other code" in neighbor window if needed.
It would be nice if this was not be hidden when View -> Output panel is visible.
somewhat related, I commonly used in the past in IRIS Studio CRTL-G (goto) to jump to an entity within a class or routine. This dialog
allow you to goto either a Line Number or Tag or Label.
I wanted to be able to do the same in VS Code and found by looking at
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
in VS Code you can use CTRL-SHIFT-O.
This isn't exactly your question but the link to the shortcuts is useful and for me, CTRL-SHIFT-O is what I was looking for as I wanted to jump around without using my mouse.
Hi @Stephen Canzano. We now have these keyboard equivalents documented.
The VS Code extension gj :: locate will do this for you. You can paste in an error message and it will take you directly to the corresponding source line. https://openexchange.intersystems.com/package/gj-::-locate
Social networks
InterSystems resources
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue