This extension provides Full GPPL language support for VSCode: highlighting, formatting, autocomplete, code snippets, sidebar with procedures tree view & sorting capability.
Features
- Syntax highlighting with customization capability from
settings.json
file
- Simple Document Formatting functionality
- Procedure tree panel with navigation and sorting capability and auto-refresh the tree
Go to Definition
functionality for procedures and variables
Go to References
functionality for procedures and user variables
- Auto-complete & auto-indentation code
- Shown hints when hovering
- New auto-complete code functionality: just highlight the variable name and type the name of function - the variable will be wrapped in the function automatically
- internationalization support for
Completion
- Full compatibility with
SolidCAM debugger
New auto-complete code functionality:
Sidebar with procedures tree view & sorting capability:
Go To Definition
and Go To References
functionality for procedures:
(by Ctrl+Click
, or RightClick -> Go to Definition
, or F12
)
Tip: You can open the definition to the side with Ctrl+Alt+Click
.
Displays information about variables when the cursor is pointing
Added internationalization support for Completion
Extension Settings
There are a few settings for this extension:
(File -> Preferenses -> Settins -> Extensions)
Editor: Default Formatter
: you must specify 'anzory.vscode-gppl-support' to be able to format GPPL documents (by default)
Format: Enable
: specifies whether or not the document can be formatted
Format: Insert Spaces
: indicates whether or not to replace tabs with spaces
Format: Tab Size
: specifies the indent size
Files: Encoding
: one of the common encodings
In addition, the formatting behavior depends on the following settings:
(File -> Preferenses -> Settins -> Text Editor -> Formatting)
Format On Save
: defines whether or not the document will be formatted when it is saved
Dependencies
There are no hard dependencies here, but I highly recommend using:
JetBrains Mono font Designed by JetBrains, Philipp Nurullin, Konstantin Bulenkov.
Color Highlight if you want to set up a different syntax highlighting.
Known Issues
There are no known issues with this extension.
See a issue? feel free to open the issues.
Release Notes
1.7.8
Update
to the latest versions of VSCode and other libraries
Plan to implement
It is a good text editor with GPPL language support for SolidCAM postprocessor editing at the moment. But I want even better. The next version will be 2.0.0, and I'll implement in it:
- LSP functionality to improve performance
- a semantic analyzer for the GPPL
- here should be a complete project with a settings file, parsing of all dependent files, deploy functionality and packaging into an archive
- and more ...
How to support the project
It is not necessary, but if you do it, I would appreciate it.