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

Use syntax supported by Nextflow language support #189

Open
Jakob37 opened this issue Dec 10, 2024 · 1 comment
Open

Use syntax supported by Nextflow language support #189

Jakob37 opened this issue Dec 10, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Jakob37
Copy link
Contributor

Jakob37 commented Dec 10, 2024

Description of feature

As you might have seen, Nextflow has recently introduced a proper language server!

Meaning that developing in Nextflow DSL-2 gives proper editor support with error highlighting, auto-completion, quick navigation through references and so on. A huge difference for the dev experience :D

https://seqera.io/blog/modernizing-nextflow-developer-experience/

It can also visualize how processes / workflows connect. Here is the Tomte workflow illustrated by the VSCode plugin (in my Peddy-WIP branch):

tomte_dependencies

Tomte is currently using some syntax not supported by this plugin, such as the switch statement and for loops. Not a lot, I just needed to touch a handful places to get it error free and working.

Would it make sense to adapt the Tomte syntax to align with the syntax expected here?

@Jakob37 Jakob37 added the enhancement New feature or request label Dec 10, 2024
@jemten
Copy link
Contributor

jemten commented Dec 10, 2024

Good point! The addition of the nextflow language server is so nice and we should try to adhere to the standards. I think that @Lucpen also opened an issue to remove the switch logic from the pipeline, #183.

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

No branches or pull requests

2 participants