Skip to content

What do you think about Visual Studio Marketplace? We are looking for feedback from developers like you! Take the survey

| Marketplace
Sign in
Visual Studio Code>Programming Languages>K frameworkNew to Visual Studio Code? Get it now.

K framework

RuntimeVerification

|
33 installs
| (0) | Free
Syntax highlighting for the K language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

K-syntax

K framework syntax highlight for VSCode.

The official extension maintained by Runtime Verification Inc. and comunity contributors.

Features

  • Syntax highlighting for .k files and code blocks inside markdown files

  • The K framework is an open source project and you can view the source code here: https://github.com/runtimeverification/k

  • Integration with the klsp that provides limited support for code completion and error reporting for syntax errors. Requires K v5.5.60 or higher.

  • To enable klsp in Markdown you have to manually select the Language Mode in the bottom right. To make this the default behavior you can modify the Workspace Settings by adding "files.associations": { "*.md": "kframework" } in your package.json.

Contribute

  • Download this extension from https://github.com/runtimeverification/k-editor-support

  • Import the k-vscode directory in VSCode

  • Type npm install in the Terminal window to fetch the Node.js dependencies.

  • Launch with F5

  • For more details read vsc-extension-quickstart.md

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft