Skip to content

Latest commit

 

History

History
73 lines (48 loc) · 2.39 KB

README.md

File metadata and controls

73 lines (48 loc) · 2.39 KB

Nextflow extension for Visual Studio Code

VS Code extension for Nextflow that provides language support for scripts and config files, using the Nextflow language server.

nextflow vscode extension

Read the blog posts (part 1, part 2) and the docs for more information.

See also:

Features

The following language features are currently supported:

  • syntax highlighting
  • code navigation (outline, go to definition, find references)
  • completion
  • diagnostics (errors, warnings)
  • formatting
  • hover hints
  • rename
  • DAG preview for workflows

Requirements

The language server requires Java 17 or later.

Development

Clone this repository:

git clone https://github.com/nextflow-io/vscode-language-nextflow
cd vscode-language-nextflow

If you need to edit the language server, clone the repository and build it:

git clone https://github.com/nextflow-io/language-server
make server

Otherwise, you can simply download a language server release into the following subdirectory:

mkdir -p language-server/build/libs
wget -P language-server/build/libs https://github.com/nextflow-io/language-server/releases/download/$VERSION/language-server-all.jar

Finally, press F5 to build the extension and launch a new VS Code window with the extension loaded.

Publishing

  1. Update the extension version number in package.json.
  2. Update the changelog in CHANGELOG.md.
  3. Run the "Deploy Extension" action to publish the extension to the VSCode marketplace and Open VSX.

Contributing

Contributions are welcome. Feel free to fork this repository and open a pull request to propose changes.

Useful links

Enjoy!