-
Notifications
You must be signed in to change notification settings - Fork 17
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
Grammar overhaul #38
Grammar overhaul #38
Conversation
Also use correct token name for classdef block modifiers (#27)
Tests aren't running because vscode-grammar can't backtrack in the new single line block tests. Will fix tomorrow. |
Fixed tests. @rlivings39 @gauravsavadi You're probably busy with R2021b but what's the ETA on merging this pull |
This comment has been minimized.
This comment has been minimized.
I have signed the CLA (I'm Munin!) however I haven't completed the work yet. Noting here that I've done readwrite operation matching via injection grammar in the |
@gauravsavadi requesting review on this PR |
* Add MATLAB support library injections * Sync MATLAB grammar submodule * Validate Oniguruma patterns in injection grammars * Add missing functions (images, errors) * Update dependencies * Remove duplicated constants from injection grammar * Fix builtin grammar injection selector * Sync submodule with mathworks/MATLAB-Language-grammar#38 * Fix typo in builtin.matlab.injection * Highlight readwrite variables and properties * Add and enforce Editorconfig * Use support.function.io to avoid `storage` clashes * Enforce editorconfig in readwrite injection * Add toolboxes and simplify regexes * Undeprecate figure.Visible * Undeprecate generic properties * Fix package.json whitespace npm/npm#3180 (comment) * Add matlab.io scientific dataset packages * Fix builtin functions with identifier/dot prefixes * Fix readwrite injection selector * Prevent variables in command dualilty * Respect entities and shell highlighting * Exclude support library in shell highlighting * Fix variable injection patterns * Use two-space indent in source code * Undeprecate rm* functions * Sync with mathworks/MATLAB-Language-grammar#39 * Added extended syntax features Registers TOC, folding, workspace symbol and document symbol providers. * Register new editor providers * Re-implement Textmate tokenizer engine * Consistently use single quotes * Re-implement block folding ranges * Add tokenizer caching, fix folding provider fatal * Extract to vsctmls package * Sync editorconfig and existing whitespace * Fold variable highlighting into core grammar Refs: mathworks/MATLAB-Language-grammar#40 Co-authored-by: 4086606 <82655227+4086606@users.noreply.github.com>
This pull does numerous things:
Closes #26.
Closes #27.
Closes #35.
Closes #36.