mvbasic icon indicating copy to clipboard operation
mvbasic copied to clipboard

Update jBASE syntax handling

Open stuboydl opened this issue 2 years ago • 1 comments

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 avatar Feb 01 '23 02:02 stuboydl

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

stuboydl avatar Sep 02 '24 04:09 stuboydl