vscode-epics, EYE (Enlight Your Epics)
This VS Code extension provides syntax highlighting for EPICS database, template, substitutions and startup files, and streamdevice prototype files.
- Syntax highlighting for:
- database and template files (.db, .dbd and .template)
- substitutions files (.substitutions, .sub, and .subs)
- startup files (.cmd and .iocsh)
- streamdevice prototype files (.proto)
- SNL files (.st extensions are considered as .c extension and some keywords are highlighted)
- Snippets for:
- database and template files (.db and .template)
- substitutions files (.substitutions, .sub, and .subs)
- startup files (.cmd and .iocsh)
- C source code
- streamdevice prototype files (.proto)
- SNL files (over charge of your .c extension)
- we-test (scenario and suite)
Tips: to see all the available snippets per file type, write "epics." and a list will show up (file has to have a known extension). |
---|
-
Compilation facilities
-
Linter for:
- database and template files
- substitutions files
- startup files
- streamdevice prototype files
- SNL files
VS Code 1.5 or newer version.
None yet!
Every field types are not recognized yet, only the more commons.
Snippets are mainly coming from language-epics Atom plugin, agaget and vnadot.
- issues
- weTest:
- new scheme
- add field value to snippet test
- mbbi: add alarm?
- add CP or PP by default ?
- field to add: OROC, OOPT ...?
- dbLoadTemplate(char ⋆subfile, char ⋆substitutions): dbLoadTemplate("../../db/iocTest.substitutions", "ASYN_RFFI_PORT=${ASYN_RFFI_PORT}")
- dbLoadRecords() ...
- dtyp: asy32..
- ao: egul eguf prec drvl hopr...
- ai ao: add alarms
- mbbi alarms
- raw soft channel vs soft channel
- add epicsRegisterFunction(myFunction);
- add conversion field: LINR, RVAL, ROFF, EGUF, EGUL, AOFF, ASLO, ESLO, EOFF