File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " go-nightly " ,
3- "displayName" : " Go Nightly " ,
2+ "name" : " go2go " ,
3+ "displayName" : " Go (go2go) " ,
44 "version" : " 0.0.0" ,
55 "publisher" : " golang" ,
6- "description" : " Rich Go language support for Visual Studio Code (Nightly) " ,
6+ "description" : " Rich Go language support for Visual Studio Code" ,
77 "author" : {
88 "name" : " Go Team at Google"
99 },
Original file line number Diff line number Diff line change @@ -79,16 +79,18 @@ export function activate(ctx: vscode.ExtensionContext): void {
7979 const prevGoroot = toolsGoInfo [ toolsGopath ] . goroot ;
8080 const currentGoroot : string = process . env [ 'GOROOT' ] && process . env [ 'GOROOT' ] . toLowerCase ( ) ;
8181 if ( prevGoroot && prevGoroot . toLowerCase ( ) !== currentGoroot ) {
82- vscode . window
83- . showInformationMessage (
82+ // Don't suggest recompiling tools for the go2go version.
83+ if ( false ) {
84+ vscode . window . showInformationMessage (
8485 `Your current goroot (${ currentGoroot } ) is different than before (${ prevGoroot } ), a few Go tools may need recompiling` ,
8586 updateToolsCmdText
8687 )
87- . then ( ( selected ) => {
88- if ( selected === updateToolsCmdText ) {
89- installAllTools ( true ) ;
90- }
91- } ) ;
88+ . then ( ( selected ) => {
89+ if ( selected === updateToolsCmdText ) {
90+ installAllTools ( true ) ;
91+ }
92+ } ) ;
93+ }
9294 } else {
9395 const currentVersion = await getGoVersion ( ) ;
9496 if ( currentVersion ) {
Original file line number Diff line number Diff line change 55
66// TODO(hyangah): move this somewhere else (where easily modifiable during release process)
77
8- export const extensionId : string = 'golang.go-nightly ' ;
8+ export const extensionId : string = 'golang.go2go ' ;
You can’t perform that action at this time.
0 commit comments