nextflow-io / nextflow-io/language-server

Valid option `stubRun` labelled as unrecognized

Open
#126 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
31
Forks
8
Avg merge
1d 10h
Merged PRs (30d)
2

Description

Using a profile for stub runs the language server raises a warning saying that the option stubRun is unrecognized.

To reproduce

$ echo "profiles {
  stub {
    stubRun = true
  }
}
" > nextflow.config

Using to option this way does work however, so I think this is a bug in the language server.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the warning with the nextflow.config profile shown in the issue, then trace the language server's validation of profile options. Done means stubRun = true is accepted without an unrecognized-option warning while the existing configuration remains valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.