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 1
1
{
2
- "name" : " go-nightly " ,
3
- "displayName" : " Go Nightly " ,
2
+ "name" : " go2go " ,
3
+ "displayName" : " Go (go2go) " ,
4
4
"version" : " 0.0.0" ,
5
5
"publisher" : " golang" ,
6
- "description" : " Rich Go language support for Visual Studio Code (Nightly) " ,
6
+ "description" : " Rich Go language support for Visual Studio Code" ,
7
7
"author" : {
8
8
"name" : " Go Team at Google"
9
9
},
Original file line number Diff line number Diff line change @@ -79,16 +79,18 @@ export function activate(ctx: vscode.ExtensionContext): void {
79
79
const prevGoroot = toolsGoInfo [ toolsGopath ] . goroot ;
80
80
const currentGoroot : string = process . env [ 'GOROOT' ] && process . env [ 'GOROOT' ] . toLowerCase ( ) ;
81
81
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 (
84
85
`Your current goroot (${ currentGoroot } ) is different than before (${ prevGoroot } ), a few Go tools may need recompiling` ,
85
86
updateToolsCmdText
86
87
)
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
+ }
92
94
} else {
93
95
const currentVersion = await getGoVersion ( ) ;
94
96
if ( currentVersion ) {
Original file line number Diff line number Diff line change 5
5
6
6
// TODO(hyangah): move this somewhere else (where easily modifiable during release process)
7
7
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