Skip to main content

Language server

When you ask Co-Scientist to help with code in your workspace, it uses language server (LSP) context to provide:

  • Explanations for errors and warnings in your code.
  • Context-aware completions and suggestions.
  • Better navigation and understanding across project files.

For Nextflow projects, this includes diagnostics and code intelligence for scripts and config files.

Language support

LSP ServerExtensionsRequirements
Nextflow.nf, .configJava 17+ installed
Python (Pyright).py, .pyiAuto-installs
R.r, .R, .rmd, .RmdR runtime installed

LSP servers automatically start when you work with files that match these extensions.

Workspace detection

Co-Scientist detects the relevant language context from your active workspace and applies matching intelligence automatically.

This means you can move between Nextflow, Python, and R files in the same project and get language-aware assistance without manual setup.

See Nextflow Language Server for advanced configuration details.

Learn more