Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update jBASE syntax handling #182

Open
stuboydl opened this issue Feb 1, 2023 · 1 comment
Open

Update jBASE syntax handling #182

stuboydl opened this issue Feb 1, 2023 · 1 comment

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

@stuboydl
Copy link
Contributor Author

stuboydl commented Sep 2, 2024

PR #196 Code folding formatting addresses

  • Add formatStructure flag to allow formatting for better vscode folding (eg label: <> return)
  • Add rFormatStructure to formatter to asign left aligned keywords for folding when formatStructure is true
  • Update folding markers with MV comment markers to allow vscode folding regions. !!#region, !!#endregion

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

No branches or pull requests

1 participant