Skip to content
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

Update jBASE syntax handling #182

Open
stuboydl opened this issue Feb 1, 2023 · 0 comments
Open

Update jBASE syntax handling #182

stuboydl opened this issue Feb 1, 2023 · 0 comments

Comments

@stuboydl
Copy link
Contributor

stuboydl commented Feb 1, 2023

Various feature additions

Extension.ts

  • Add formatStructLeft flag to allow formatting for better vscode folding (eg label: <> return)
  • Add rStructLeft to formatter to asign left aligned keywords for folding when formatStructLeft is set
  • Add jBASE transaction keywords transtart/transend/transabort to formatter rBlockStart

Language-configuration.json

  • Add single & double quotes to surroundingPairs to allow fast quoting a selected string
  • Update folding markers with MV comment markers to allow vscode folding regions. !!#region, !!#endregion

jBASE.tmLanguage.json syntax

  • general enhancements to jbase syntax handling
  • add keywords try/end try/catch/exec/in/throw
  • add jabba patterns
  • add block comment pattern
  • add numeric pattern
  • add pattern for $ifdef, $endif, etc. compiler switch

General

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant