File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -182,9 +182,6 @@ If you would like additional configuration for diagnostics from gopls, please se
182
182
}
183
183
}
184
184
185
- // Present a warning about the deprecation of a 'dlv-dap' binary setting.
186
- checkAlternateTools ( cfg ) ;
187
-
188
185
updateGoVarsFromConfig ( ) . then ( async ( ) => {
189
186
suggestUpdates ( ctx ) ;
190
187
offerToInstallLatestGoVersion ( ) ;
@@ -989,23 +986,3 @@ export async function setGOROOTEnvVar(configGOROOT: string) {
989
986
delete process . env . GOROOT ;
990
987
}
991
988
}
992
-
993
- async function checkAlternateTools ( goConfig : vscode . WorkspaceConfiguration ) {
994
- const alternateTools = goConfig ? goConfig [ 'alternateTools' ] : { } ;
995
- // TODO(hyangah): delete this check after 2022-03-01.
996
- if ( alternateTools [ 'dlv-dap' ] ) {
997
- const msg = `The extension no longer requires a separate 'dlv-dap' binary but uses the 'dlv' binary.
998
- The "dlv-dap" property of the "go.alternateTools" setting will be ignored.
999
- Please use the "dlv" property if you need to override the default Go debugger.` ;
1000
-
1001
- const selected = await vscode . window . showWarningMessage ( msg , 'Open settings.json' ) ;
1002
- if ( selected === 'Open settings.json' ) {
1003
- const { workspaceValue } = goConfig . inspect ( 'alternateTools.dlv-dap' ) ;
1004
- if ( workspaceValue !== undefined ) {
1005
- vscode . commands . executeCommand ( 'workbench.action.openWorkspaceSettingsFile' ) ;
1006
- } else {
1007
- vscode . commands . executeCommand ( 'workbench.action.openSettingsJson' ) ;
1008
- }
1009
- }
1010
- }
1011
- }
You can’t perform that action at this time.
0 commit comments