Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>p-codeNew to Visual Studio Code? Get it now.
p-code

p-code

qlab-sw-test

|
113 installs
| (0) | Free
A Visual Studio Code extension with rich support for the Preh/Pia sequence language.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

p-code

A Visual Studio Code extension with rich support for the Preh/Pia sequence language.

Features

  • Syntax highlighting for *.seq files
  • Document Outline to provide an brief overview of the currently open file
  • Codecompletion for Commanders
  • Commanders browser
  • Details on mouse hoover
  • Go to definition: Allow the user to see the definition of variables or functions right where thy are being used.

Known Issues

Please let us know.

Release Notes

1.0.36

  • Comments in String declarations
string str = "//" // does not generate an error any more

1.0.34

  • Brace Validation only for .seq files :)

1.0.34

  • Added Brace Analyzer to extension. This starts before syntax check.

1.0.33

  • Added a fiew code snippets into extension

1.0.32

  • Extended Hover-Info for Commanders. Now, parameter, return alues, examples and exceptions are shown in the hover

1.0.31

  • Brace Errror

1.0.30

  • handling document's path when searching for symbols

1.0.29

  • counting braces in a statement added. Issue will be generated if the numbers of opening and closing braces are not equal.

1.0.28

  • array like variables

1.0.27

  • handlich array style variables updated.

1.0.27

  • whitespaces in function declarations fix
  • typevalidation for numeric datatypes: ind and double are handled the same way
  • #include statement is validated only if it is recognized as valid (#include "name.seq"). incomplete statements are ignored (eg.: missing .seq)

1.0.26

  • output_channel added for p-code

1.0.25

  • Ignore DirtyState when reading document symbols (forces updates on GlobalList also for included documents)
  • Allow subcommands in commanders (obj.cmommand.subcommand.subsubcommand())
  • "[]" in strings
  • Added Path iformation into include statements (just for info).

1.0.24

  • Braces in Strings: e.g.:
    obj.call("text with ()")
    
  • = in string assingments: e.g.:
    message = "=>"
    

1.0.23

  • toLowerCase() when resolving paths

1.0.20

  • start analysing file after reading Commanders on startup

1.0.20

  • type validation of return values and parameter values in function calls

1.0.19

  • onFileRenamed/onFileDeleted implemented
  • initialysing boolean variables does not cause syntax errors
  • Array valiable usage does not lead to syntax errors
  • DocumentLinkPovider added: using derictive can be used to navigate to docudepot
  • HoverProvider shows file comment when hovering over an #include statement
  • Definition Provider: Jumps to correct variable if you have an Array and a simple variable declared with the same name
int MY_CONST[3] = 7;
int MY_CONST = 42;
...
...
result = MY_CONST * Faktor;

1.0.18

  • url to BIG FAT NOTEBOOK updated

1.0.17

  • simple doc comments added
  • open BIG FAT NOTEBOOK command added to navigate to documentation

1.0.16

  • circular includes does not freaze validation
  • floating point values in variables declaration
  • string constances in Commander calls
  • some refactoring done

1.0.14

  • reading commanders from *.md files implemented

1.0.13

  • resolving relative paths fixed.
  • added missing internal functions
  • added hoover information for internal functions
  • added hoover information for mathematical functions
  • commanders can be transfered to commanders whithout errors

1.0.12

  • reading commanders before continuing file validation (synchronized the flow).

1.0.11

  • removed link to github repository
  • Initial dignostic is executed after startup has been completed

1.0.9

  • 'p-code-explorer': sorted by libraries, sorted alphabetically

1.0.8

  • 'blobal' keyword added
  • bugfix: assignment of string constants fixed

1.0.7

  • bugfix: formula validation
  • multiline statements are valid now

1.0.5

  • bugfix: eslint-parser removed from extension (has blocked execution of the extension)
  • case/default added to validation

1.0.4

  • ; marks end of line only if followed by a comment or end of line.
  • , is ignored in parameter lists if surrounded by "
  • files can be documented now (just start the file with a doc-comment ///)
  • files doc is shown when hovering over an #include statement
  • Open file spicified in an #include statement
  • bugfix: CompletionProvider provides only LocalVariables of current function
  • bugfix: include does not start parsing the given file if it is already done by another document
  • file icon changed
  • p-code-explorer icon changed

1.0.3

  • formula parser added
  • hovering over local variables fixed
  • autocompletion optimized (depends on context)

1.0.2

  • basic syntax check

1.0.1

  • Go to definition feature implemented
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft