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

[Feature request] ignoreSelection by language/Glob/FileExtension ? #1209

Open
iamqiz opened this issue Jan 29, 2025 · 0 comments
Open

[Feature request] ignoreSelection by language/Glob/FileExtension ? #1209

iamqiz opened this issue Jan 29, 2025 · 0 comments

Comments

@iamqiz
Copy link

iamqiz commented Jan 29, 2025

Is your feature request related to a problem? Please describe.
Description of what the problem is. Ex. I'm always frustrated when [...]

在我的使用中,有的编程语言我希望能够 运行选中的代码片段,有的语言又不希望能运行选中(在编写脚本时可能会因为经常选中文本而导致运行出错)

Describe the solution you'd like
Description of what you want to happen.
增加几个设置项,支持类似如下map

    "code-runner.ignoreSelectionByFileExtension": {
        ".py": true,
        ".bat": false
    }
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

1 participant