Skip to content

EFTEC/capsulebasic

Repository files navigation

CapsuleBasic Syntax Highlighting

Syntax highlighting for CapsuleBasic, a language that uses <| and |> delimiters.

Features

  • Syntax highlighting for .cbasic files
  • CapsuleBasic Dark theme included
  • Language configuration for brackets, comments, and more

Installation

  1. Open VS Code
  2. Go to the Extensions view (Ctrl+Shift+X)
  3. Search for CapsuleBasic Syntax Highlighting
  4. Click Install

Usage

Open any .cbasic file and syntax highlighting will activate automatically.

To use the CapsuleBasic Dark theme, select it from File > Preferences > Color Theme.

Supported Keywords

  • add
  • addindent
  • array
  • arraykey
  • async
  • await
  • between
  • block
  • break
  • case
  • casearr
  • catch
  • class
  • clearcontent
  • concat
  • const
  • content
  • contentvar
  • continue
  • createstack
  • deco
  • def
  • default
  • do
  • else
  • endblock
  • endcase
  • endcontent
  • endindent
  • eq
  • eqchange
  • error
  • eventtemplate
  • explode
  • export
  • false
  • filter
  • finally
  • first
  • firstitem
  • foldercontent
  • for
  • from
  • function
  • idash
  • if
  • implode
  • import
  • in
  • include
  • increase
  • indent
  • inkey
  • instanceof
  • iserror
  • isnoterror
  • let
  • len
  • list
  • listcase
  • listswitch
  • lookup
  • lower
  • minus
  • mod
  • ne
  • nechange
  • new
  • nidash
  • nil
  • none
  • norepeat
  • notemplate
  • notin
  • notinkey
  • null
  • of
  • pdash
  • ping
  • pos
  • print
  • printt
  • pusharr
  • quit
  • region
  • rem
  • regionend
  • replace
  • req
  • return
  • savecontent
  • set
  • setarr
  • setfn
  • size
  • struct
  • structure
  • switch
  • template
  • throw
  • timestamp
  • toarray
  • tostring
  • trim
  • tri
  • true
  • typeof
  • undefined
  • upper
  • var
  • while
  • yield

Supported Constants

  • @objid
  • @objtable
  • @objdescription
  • @objparent
  • @objchildren
  • @objnamespace
  • @objcolid
  • @objcolname
  • @objcolenable
  • @objclass
  • @objmethod
  • @objmap
  • @objactionmap
  • true
  • false
  • null
  • undefined
  • none
  • nil

Requirements

  • VS Code 1.50.0 or later

Release Notes

0.0.3

  • Renamed extension from CBasic to CapsuleBasic
  • Changed file extension from .cb to .cbasic
  • Added publisher and repository fields
  • Added LICENSE (GPL-3.0)
  • Added supported keywords and constants documentation to README

0.0.1

Initial release with basic syntax highlighting and dark theme.

About

a syntax highlight for visual studio code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors