Closed bentsherman closed 2 months ago
Basic parameter validation is now supported
./nextflow_schema.json
relative to the source file containing the entry workflow, so each "entry" script can define it's own parameter schema alongside itdefs
and definitions
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 implementedActually might be helpful to do this in the language server first