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

Build targets in sidebar #1

Open
5 tasks
Hugovdberg opened this issue Mar 11, 2021 · 2 comments
Open
5 tasks

Build targets in sidebar #1

Hugovdberg opened this issue Mar 11, 2021 · 2 comments

Comments

@Hugovdberg
Copy link

It would be nice to have a panel in the sidebar that lists all the targets in the Snakefile so you can quickly run a target, perhaps including a [Force run] button, and an option to quickly jump to the definition.

A plain text mockup:

  • all [> [!> [\
  • download_data [> [!> [\
  • preprocess_data [> [!> [\

using the following definitions for the symbold:

  • [> Run selected rule, call snakemake {rule}
  • [!> Force run selected rule, call `snakemake --force {rule}
  • [\ Edit rule definition, open file and go to line

Some things that need to be considered:

  • visualise modular rules
  • handle multiple open folders in the current workspace
  • select profile to use (per open folder)
  • how and when to update the list of rules as building the list can be slow
  • visualise running rules, can we allow starting multiple rules in parallel?

Finally, I don't have any experience building VS Code plugins, but I figure it should be possible.

@johanneskoester
Copy link
Contributor

That is a great idea! I am happy to take a PR.

@Hugovdberg
Copy link
Author

Do you have more things we should consider when developing this?

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