Skip to content

Update jBASE syntax handling #182

@stuboydl

Description

@stuboydl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions