Skip to content
Merged
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
9 changes: 2 additions & 7 deletions extensions/vscode/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const { activate, deactivate } = defineExtension(() => {

if (needRestart) {
vscode.window.showInformationMessage(
'Please restart the extension host to activate Vue support in remote environments.',
'Please restart the extension host to activate Vue support.',
'Restart Extension Host',
'Reload Window',
).then(action => {
Expand Down Expand Up @@ -230,12 +230,7 @@ try {
}

if (tsExtension.isActive) {
if (!vscode.env.remoteName) {
vscode.commands.executeCommand('workbench.action.restartExtensionHost');
}
else {
needRestart = true;
}
needRestart = true;
}
}
catch {}
1 change: 0 additions & 1 deletion extensions/vscode/languages/stub.json

This file was deleted.

9 changes: 1 addition & 8 deletions extensions/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
"vscode": "^1.88.0"
},
"activationEvents": [
"onLanguage:vue",
"onLanguage:markdown",
"onLanguage:html"
"onLanguage"
],
"main": "./dist/extension.js",
"browser": "./web.js",
Expand Down Expand Up @@ -67,11 +65,6 @@
{
"id": "jade",
"configuration": "./languages/sfc-template-language-configuration.json"
},
{
"id": "plaintext",
"configuration": "./languages/stub.json",
"//": "Make sure Vue extension is loaded immediately when VSCode starts."
}
],
"typescriptServerPlugins": [
Expand Down
Loading