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

Include shellscript extension in positron #5253

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build/gulpfile.extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ const compilations = [
'extensions/php-language-features/tsconfig.json',
'extensions/references-view/tsconfig.json',
'extensions/search-result/tsconfig.json',
// --- Start Positron ---
'extensions/shellscript/tsconfig.json',
// --- End Positron ---
'extensions/simple-browser/tsconfig.json',
'extensions/tunnel-forwarding/tsconfig.json',
'extensions/typescript-language-features/test-workspace/tsconfig.json',
Expand Down
3 changes: 3 additions & 0 deletions build/npm/dirs.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ const dirs = [
'extensions/php-language-features',
'extensions/references-view',
'extensions/search-result',
// --- Start Positron ---
'extensions/shellscript',
// --- End Positron ---
'extensions/simple-browser',
'extensions/tunnel-forwarding',
'extensions/typescript-language-features',
Expand Down
8 changes: 8 additions & 0 deletions extensions/shellscript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
},
"categories": ["Programming Languages"],
"contributes": {
"keybindings": [
{
"command": "workbench.action.terminal.runSelectedText",
"key": "ctrl+enter",
"mac": "cmd+enter",
"when": "editorTextFocus && editorLangId == shellscript"
}
],
"languages": [
{
"id": "shellscript",
Expand Down