Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add ability to disable line warnings #73

Closed
VasLem opened this issue Jan 14, 2025 · 2 comments
Closed

Feature Request: Add ability to disable line warnings #73

VasLem opened this issue Jan 14, 2025 · 2 comments

Comments

@VasLem
Copy link

VasLem commented Jan 14, 2025

Most language servers AFAIK allow the usage of a special comment suffix to a line of interest, that disables the linter for that line. It would be helpful to have this feature also available for Nextflow plugin. One example of a warning that I find kind of uninformative in some cases is Variable was declared but not used, as I like assigning all calls to processes and sub-workflows to variables, even if they are the last ones in the workflow to be called. So this:

workflow {
output = doSomeWork()
}

produces a warning.

@VasLem
Copy link
Author

VasLem commented Jan 14, 2025

Closing as duplicate of nextflow-io/language-server#76

@VasLem VasLem closed this as completed Jan 14, 2025
@bentsherman
Copy link
Member

I'm curious, why doesn't the last variable get used? I would expect the process outputs to be emitted by the workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants