Is this syntax warning expected: `Unrecognized con...
# nf-schema
m
Is this syntax warning expected:
Unrecognized config option 'validation.parametersSchema'nextflow
, or have I got something set up wrong? Ive got annoying yellow squiggles in my config that I can’t get rid of.
Copy code
// nf-schema validation configuration
validation {
    parametersSchema = 'nextflow_schema.json'
{
a
Custom config for plugins was definitely known to have this issue, but I thought that there was an update to allow plugins to register their config options. It may be that either your language server of plugin is an older version though.
👀 1
m
As far as I can tell everything is up-to-date, but I guess something must be miss-aligned
a
I think you need Nextflow v25.04 or later and the latest nf-schema (v2.5.1). However this may introduce changes you will need to modify your code for.
m
I have both of those 😃
a
Hmm. Maybe try reloading the VSCode extension? Also check that it is configure to v 25.04 of the language
m
All of that seems good form what I can tell. The only thing that works for me is setting the “Error Reporting Mode” level to errors rather than warning.
n
Hmm that's strange, I'll need to investigate this a bit more later, please just ignore it for now
m
Let me know if there is anything you would like me to try or help replicate the issue. High chance it’s something I’m doing.
n
I will, thank you!
b
The is a limitation of the language server: https://github.com/nextflow-io/language-server/issues/11
which we plan to address in Nextflow 25.10
🙌 2