snakemake / snakemake-lang-vscode-plugin

Language support and snippets for Snakemake workflows (Snakefile, *.smk) for Visual Studio Code and Apache Theia.
MIT License
13 stars 13 forks source link

Choose Python interpreter per file based on conda directive #21

Open timtroendle opened 2 years ago

timtroendle commented 2 years ago

It would be great if this plugin could infer script-env dependencies from the rule files and set the Python interpreter for each Python script file accordingly. Otherwise, as it is now, Python interpreters do not match the chosen env in Snakemake.

Not sure if this is technically possible or in-scope of this plug-in. Just saying that such a feature would be great.