formulahendry / formulahendry/vscode-code-runner
[Feature request] Exclude Code-Runner from running with certain file extensions (to avoid duplicate run buttons)
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 351
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
I am requesting a feature where I can have code-runner be excluded from being enabled with certain file extensions. This would avoid having duplicate run buttons like what I have in PowerShell .ps1 and .psm files.
**Describe the solution you'd like**
I would like to have the ability to exclude code-runner from running with certain file extensions by adding an exclusion list in settings or in the settings .json file. So for example I would add a line in the .json settings file that would stop code-runner from running with certain extensions such as .ps1 and .psm.
For example, with PowerShell (.ps1 and .psm), the PowerShell extension already has a run and debug button, so code-runner creates a duplicate run button. See the following example, the left duplicate run button is from code-runner.

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.