You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seqera, the company behind Nextflow, has released a new much improved developer experience for VS Code, using a new Language Server, with features such as auto-completion, error checking and much more, that can greatly improve coding productivity. See this blog post for details, and the docs here
The problem
The caveat is that, just as they mention here, the plugin will parse the Nextflow code according to the Nextflow language specification, which is a more strict set of syntax compared to what is technically allowed to run via the nextflow CLI command.
Currently, the VS Code plugin and language server can not run on the gms_16S codebase due to code constructs that are outside the more strict rules in the language specification, causing the plugin to either crash VS Code completely, or just hinder the code intelligence tools to run (based on my own testing).
Proposed solution
The proposed solution is to refactor the gms_16S codebase to only use code constructs in the Nextflow language specification, as this should allow the new VS Code plugin and language server tool to run properly, and help us develop the project more efficiently.
The text was updated successfully, but these errors were encountered:
I'm currently investigating if there is some way to run a linter on the code to have the deviations from the language spec pointed out.
They are apparently working on incorporating such a tool in the nextflow command itself, but there is also a 3rd party tool that I haven't managed to install just yet though (the installation procedure is a little broken atm).
Background
Seqera, the company behind Nextflow, has released a new much improved developer experience for VS Code, using a new Language Server, with features such as auto-completion, error checking and much more, that can greatly improve coding productivity. See this blog post for details, and the docs here
The problem
The caveat is that, just as they mention here, the plugin will parse the Nextflow code according to the Nextflow language specification, which is a more strict set of syntax compared to what is technically allowed to run via the nextflow CLI command.
Currently, the VS Code plugin and language server can not run on the gms_16S codebase due to code constructs that are outside the more strict rules in the language specification, causing the plugin to either crash VS Code completely, or just hinder the code intelligence tools to run (based on my own testing).
Proposed solution
The proposed solution is to refactor the gms_16S codebase to only use code constructs in the Nextflow language specification, as this should allow the new VS Code plugin and language server tool to run properly, and help us develop the project more efficiently.
The text was updated successfully, but these errors were encountered: