nextflow-io / language-server

The Nextflow language server
Apache License 2.0
0 stars 0 forks source link

Parameter schema #5

Closed bentsherman closed 2 months ago

bentsherman commented 4 months ago

The language server should be able to use the nf-core parameter schema to determine the names and types of pipeline parameters. It should look for a schema file in the same directory as the main script.

More generally, any Nextflow script that defines an entry workflow should be able to define a parameter schema in the same directory.

Might want to wait until https://github.com/nextflow-io/nextflow/issues/4669 is implemented

Actually might be helpful to do this in the language server first

bentsherman commented 2 months ago

Basic parameter validation is now supported