-
Notifications
You must be signed in to change notification settings - Fork 299
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
Run files without extension (using code-runner.defaultLanguage) #273
Comments
I think you could use |
@formulahendry thanks, but I'd need a different shortcut to run it, not very practical It's very common that bash/shell script are extension-less, so it would be great that it uses the defaultLanguage when there is no extension (that's the behavior with sublime-text). I cloned the repo, looked at the sources, but didn't find why it wasn't working. How can I load your extension locally instead of the marketplace one to test? things I'd like to work on
|
Sorry, I am not very clear about you requirement. Could you please share more details? What's the current behavior? And what's your expected behavior? To debug the extension, just clone the repo, run |
my code-runner settings: "code-runner.saveFileBeforeRun": true,
// "code-runner.runInTerminal": true,
"code-runner.clearPreviousOutput": true,
"code-runner.defaultLanguage": "shellscript",
"code-runner.enableAppInsights": false,
"code-runner.showExecutionMessage": true,
"code-runner.executorMap": {
"sql": "psql -U postgres -f",
"bash": "bash"
}, I'd want to still be able to run the |
Oh! This is a bug of the extension. |
Hi @caub , this issue has been fixed, please try the latest version. |
I'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
running
./foo
orbash foo
orsh foo
work in the terminal, before you ask (the file has the right permissions)The text was updated successfully, but these errors were encountered: