Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>vscode-epicsNew to Visual Studio Code? Get it now.
vscode-epics

vscode-epics

nsd

|
27,178 installs
| (2) | Free
EPICS syntax highlighting and tools.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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.

Features

  • [x] Syntax highlighting for:
    • [x] database and template files (.db, .dbd and .template)
    • [x] substitutions files (.substitutions, .sub, and .subs)
    • [x] startup files (.cmd and .iocsh)
    • [x] streamdevice prototype files (.proto)
    • [x] SNL files (.st extensions are considered as .c extension and some keywords are highlighted)

Syntax highlighting

  • [ ] Snippets for:
    • [x] database and template files (.db and .template)
    • [x] substitutions files (.substitutions, .sub, and .subs)
    • [x] startup files (.cmd and .iocsh)
    • [x] C source code
    • [ ] streamdevice prototype files (.proto)
    • [x] SNL files (over charge of your .c extension)
    • [x] 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

get all the fields of the EPICS database

  • ".db": to select .dbd and .dbd.pod files
  • commun:
$ cat <path_to_epics-base>/src/ioc/db/*.db*  | grep 'field(' | tr "(," " " | awk '{print $2}' | tr "\n" "|" | sed 's/.$//'
  • specific:
$ cat <path_to_epics-base>/src/std/rec/*.db* | grep 'field(' | tr "(," " " | awk '{print $2}' | tr "\n" "|" | sed 's/.$//'

Requirements

VS Code 1.5 or newer version.

Extension Settings

None yet!

Known Issues

Every field types are not recognized yet, only the more commons.

Credits

  • Snippets are mainly coming from language-epics Atom plugin, agaget and vnadot.
  • get all the fields of the EPICS database trick is coming from atzvetkov
  • should add contributor names here (todo)

to do

  • issues
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft