Skip to content

Commit

Permalink
collect GUID as workspace symbol - can be used for ancestry GUIDs
Browse files Browse the repository at this point in the history
goto definition/reference of subroutines
separate license file
bracket pairs for identation
readme
  • Loading branch information
pbaksa committed Nov 18, 2021
1 parent 93dad35 commit 311debd
Show file tree
Hide file tree
Showing 22 changed files with 3,763 additions and 1,693 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"out": true // set this to false to include "out" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
"typescript.tsc.autoDetect": "off",
"typescript.tsdk": "node_modules\\typescript\\lib"
}
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ __hotspot__ or __hotspot2__ - length edit hotspot triplet
* Type after @: to group results by type and filter them
* This list is also visible and can be filtered in the Breadcrumbs bar and the Explorer/Outline view
* The Breadcrumbs bar also shows which subroutine the cursor is in
* Workspace symbols (Ctrl-T) lists library parts in the opened folders
* Workspace symbols (Ctrl-T) searches library parts in the opened folders by name or GUID
* The search opens with the currently selected text
* Type to filter results
* Select to open the same script or xml that the current editor contains, or libpartdata.xml if unknown
Expand All @@ -53,6 +53,7 @@ __hotspot__ or __hotspot2__ - length edit hotspot triplet
* IntelliSense lists master script constants (ALL_CAPS) with their initialized values
* IntelliSense lists parameters with their description, type, flags and default value. This list can be filtered by parameter type too.
* These can all be toggled on/off together with Ctrl-Shift-Space
* Go to definitions/references, find all references of subroutines in same gdl-hsf file (Ctrl-click or F12, Shift-F12, Shift-Alt-F12)

# Script outline view

Expand Down Expand Up @@ -86,6 +87,7 @@ Use the Related... link at the bottom of the page to see similar commands: this
* Detect parentheses, array dimension and range \[]() mixups
* Detect function calls with missing parentheses
* Highlight illegal variable names (e.g. 0var)
* Highlight innermost loop, macro call, group boundaries

## Extra capabilities with GDL themes
* Different styles for 2d/3d/parameter/properties/ui script-related commands
Expand Down Expand Up @@ -155,6 +157,14 @@ Some valid syntaxes won't be highlighted, and some invalid syntaxes will be high
# Release Notes
## 1.25.2
* Go to definitions/references, find all references of subroutines in same gdl-hsf file (Ctrl-click or F12, Shift-F12, Shift-Alt-F12)
* Exclude commented macro calls from outline and symbols
* Workspace symbols (Ctrl-T) can find libparts by GUID
* Highlight innermost loop, macro call, group boundaries
* Automatic unidentation of loop end keywords and groups, automatic identation of do and repeat blocks
* IntelliSense lists parameter types in second row
## 1.25.1
* Document symbols (Ctrl-Shift-O)
* Workspace symbols (Ctrl-T)
Expand Down
1 change: 0 additions & 1 deletion language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
["call", "returned_parameters"],
["group", "endgroup"],
// for identation
[":", "return"],
["do", "endwhile"]
],
// symbols that are auto closed when typing
Expand Down
2 changes: 1 addition & 1 deletion out/constparser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion out/constparser.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 311debd

Please sign in to comment.