A multifunctional extension pack for gmt files of the game Euclidea in Visual Studio Code.
Display various parts of the code in different colors for easy editing and debugging:
Geometric figures(points, lines, circles, names)
Constructional functions(like 'Line' and 'Circle', basic and advanced)
Numbers(values)
Arguments(in the functions 'Intersect', 'EdgePoint' and 'Tangent')
Level setting variables(like 'initial', 'result' and 'explore')
Connecting symbols(':', '.' and '|')
Operating symbols('#', '/', '<' and '>')
Comments
With functions and blocks:
Constructional functions
Level settings
Variables (more accurate)
List all symbols and level-settings
Including help window in functions' completion and variables' completion
Support hovering windows to variables and functions
Hover the cursor over the words to show
Select a renamable symbol and press F2 to rename
Automatically distinguish between variable and display names(in 'named')
Support basic semantic error checking, including punctuation issues, variables and functions checks, etc.
Errors(red) and warnings(yellow)
- Visual Studio Code
- Open this extension pack (folder) in VSCode
- F5 to open a new VSCode window
- Open a gmt file
- Enjoy
- Also can be imported as an integral extension (Directory: users/xxx/.vscode/extensions/). Suggest packaging this extension folder as a vsix file to install.
- Apply Gmt Highlighting Theme (or overwrite the 'settings.json' with tmTheme files) if syntax highlighting dosen't work normally.













