Releases: ianharper/Sublime-Text-MVBasic-Syntax
Releases · ianharper/Sublime-Text-MVBasic-Syntax
Bug Fix
- Syntax highlighting for "subroutine" statements wasn't picking up the subroutine name that follows because it was requiring that the subroutine statement start at the beginning of the line. If there was an indent this wouldn't match. The fix allows the subroutine statement to be indented.
- Fixed copy-paste error that showed QM Basic in the syntax list as D3 Basic.
Changed scope for builtin functions/statements
Changes for D3 and QM:
- The scope for builtin functions and statements has been changed from entity.name.* to support.function.*. This better conforms with the way Sublime is setup (which involves the goto definition functionality).
- An association between external subroutine calls and the subroutine statement has been created. You can now goto the external subroutine by pressing F12 when the caret is on the subroutine name of a call statement. The subroutine will been to be opened in another tab or contained within the project for this to work.
Updated QM syntax
Updated QM syntax with fixes that were included in the previous release for D3.
Bug fixes: incorrect highlighting and word separators
Fixed Bugs for D3:
- Variables with partial matching to keywords were highlighted.
- goto definition wasn't working because "." were seen as word separators. This also allows selecting a whole word with ctrl + d to work for MV variables.
Other Changes:
- Enhanced the syntax test.
- Added highlighting of numeric literals.
Removed "." word separators and syntax fixes
- Enabled syntax specific settings for D3 which will labels and variables with "." to be treated as a single symbol.
- Fixed bug where new scopes wouldn't be pushed onto the stack resulting in code with little highlighting (no comments or strings).
- Renamed the syntax scopes which will better conform to standards in Sublime.
- "(" after functions will not be highlighted.
Fix for line labels
Fix line labels The line labels were showing the whole line in the symbol list. This fix corrects that and better conforms to the documentation regarding allowed characters in line labels.
Enhanced Syntax Highlighting
Enhanced the syntax highlighting and added tests for the syntax.
Reformatted for package-control
- Reorganized into dirs for each MV distro.
- Removed .cache files.
- Added .gitignore with *.cache
- Added MIT License
First Release
This is the first release of my syntax, indentation, and snippets for MultiValue BASIC. There's a lot more that I'd like to do but I've been using this with D3 for some time now so I figured I'd get this into the Sublime Package Manager.