Skip to content

Commit ede2b2e

Browse files
committed
src/goMain: update the link to modules doc
Wiki page was replaced with docs/modules.md. Also, change the command id to go.open.modulesdoc Change-Id: I42c8422b88949786231d0b8cba6351bcadf38a85 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/238017 Reviewed-by: Rebecca Stambler <[email protected]>
1 parent 87d1420 commit ede2b2e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/goMain.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ export function activate(ctx: vscode.ExtensionContext): void {
148148
initCoverageDecorators(ctx);
149149

150150
ctx.subscriptions.push(
151-
vscode.commands.registerCommand('go.open.modulewiki', async () => {
151+
vscode.commands.registerCommand('go.open.modulesdoc', async () => {
152152
vscode.commands.executeCommand(
153153
'vscode.open',
154-
vscode.Uri.parse('https://github.com/microsoft/vscode-go/wiki/Go-modules-support-in-Visual-Studio-Code')
154+
vscode.Uri.parse('https://github.com/golang/vscode-go/blob/master/docs/modules.md')
155155
);
156156
})
157157
);

src/goStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const statusBarItemModule = vscode.window.createStatusBarItem(vscode.StatusBarAl
1818
statusBarItemModule.text = '$(megaphone) Go Modules';
1919
statusBarItemModule.tooltip =
2020
'Modules is enabled for this project. Click to learn more about Modules support in VS Code.';
21-
statusBarItemModule.command = 'go.open.modulewiki';
21+
statusBarItemModule.command = 'go.open.modulesdoc';
2222

2323
export function showHideStatus(editor: vscode.TextEditor) {
2424
if (statusBarEntry) {

0 commit comments

Comments
 (0)