Run files without extension (using code-runner.defaultLanguage)
See original GitHub issueI’d like to run files without extensions, typically bash scripts using your great code-runner extension
Currently it works if a script has the .sh
extension, not without (which is more usual for scripts)
Is this possible to implement?
it could respect default language setting for those files
"code-runner.defaultLanguage": "shellscript",
running ./foo
or bash foo
or sh foo
work in the terminal, before you ask (the file has the right permissions)
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How to hide file with no extension that is generated after ...
3 Answers 3 · Press f1. · Enter settings.json and choose the second option which is Open Setting(JSON). · Then find the "code-runner.executorMap"...
Read more >Code Runner - Visual Studio Marketplace
Extension for Visual Studio Code - Run C, C++, Java, JS, PHP, Python, Perl, ... View output in Output Window; Set default language...
Read more >VS Code extension "Code Runner" does not include <math.h ...
To fix this issue, you can edit the Code-runner: Executor Map file, and add "-lm" in "c": "cd $dir && gcc $fileName -o...
Read more >Download: Code Runner for Visual Studio Code - formulahendry
To implement this, I just need to create a temp file with the selected code, then call the corresponding interpreter to run the...
Read more >Code Runner extension supports running 40 languages - Reddit
Run code file of current active Text Editor · Run code file through context menu of file explorer · Run selected code snippet...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @caub , this issue has been fixed, please try the latest version.
Oh! This is a bug of the extension.