-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support 'goto definition' #3
Comments
Thank you for contributing! |
Sure! |
It only works with the language set to GDL-HSF. |
Yeah I guessed so. But: Doesn't work for me (I never work with XML). Extension is uptodate. |
Try editing the file, adding an enter, does it solve the issue? For me a certain SCM extension loads the unmodified document in an invisible editor, which this extension handles unnecessarily. We will need to apply changes only of the active editor in GDLExtension.onDocumentChanged() |
Ah, it seems that it somehow needs some kind of initialization. The trick with hitting enter worked! |
rename GDLManual gdlglobal IDs containing []
rename GDLManual gdlglobal IDs containing []
# This is the 1st commit message: use constants from currently edited text # This is the commit message #2: search definitions in master script search references from master in other scripts # This is the commit message #3: find other references from selected reference use extra parser for subroutine calls (don't include yet in symbols) # This is the commit message #4: use current edited version of HSF files # This is the commit message #5: Show all definitions / references, even erroneous # This is the commit message #6: use HSFLibpart to handle other scripts of libpart don't use extension setting for intellisense filtering # This is the commit message #7: Revert "use HSFLibpart to handle other scripts of libpart" This reverts commit 32463ec. # This is the commit message #8: Revert "Show all definitions / references, even erroneous" This reverts commit 1ca043e. # This is the commit message #9: Revert "use current edited version of HSF files" This reverts commit 7a04743. # This is the commit message #10: Revert "find other references from selected reference" This reverts commit 4721353. # This is the commit message #11: Revert "search definitions in master script" This reverts commit 317be45.
Nice to have the outline, but it would be great if we could support the "goto definition" function of VSC as well.
This is especially helpful when having a lot of subroutines.
We could then place the cursor in the name and use the "goto definition" function to go to the subroutine in a fast way. Would speed up daily development for sure!
The text was updated successfully, but these errors were encountered: