@@ -143,12 +143,6 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<ExtensionA
143
143
} ) ;
144
144
}
145
145
146
- if ( isInPreviewMode ( ) ) {
147
- // For Nightly extension users, show a message directing them to forums
148
- // to give feedback.
149
- setTimeout ( showGoNightlyWelcomeMessage , 10 * timeMinute ) ;
150
- }
151
-
152
146
// Show the Go welcome page on update.
153
147
if ( ! IsInCloudIDE ) {
154
148
showGoWelcomePage ( ctx ) ;
@@ -753,44 +747,6 @@ export function shouldShowGoWelcomePage(showVersions: string[], newVersion: stri
753
747
return semver . gte ( coercedNew , coercedOld ) && showVersions . includes ( coercedNew . toString ( ) ) ;
754
748
}
755
749
756
- async function showGoNightlyWelcomeMessage ( ) {
757
- const shown = getFromGlobalState ( goNightlyPromptKey , false ) ;
758
- if ( shown === true ) {
759
- return ;
760
- }
761
- const prompt = async ( ) => {
762
- const selected = await vscode . window . showInformationMessage (
763
- `Thank you for testing new features by using the Go Nightly extension!
764
- We'd like to welcome you to share feedback and/or join our community of Go Nightly users and developers.` ,
765
- 'Share feedback' ,
766
- 'Community resources'
767
- ) ;
768
- switch ( selected ) {
769
- case 'Share feedback' :
770
- await vscode . env . openExternal (
771
- vscode . Uri . parse ( 'https://github.com/golang/vscode-go/blob/master/docs/nightly.md#feedback' )
772
- ) ;
773
- break ;
774
- case 'Community resources' :
775
- await vscode . env . openExternal (
776
- vscode . Uri . parse ( 'https://github.com/golang/vscode-go/blob/master/docs/nightly.md#community' )
777
- ) ;
778
- break ;
779
- default :
780
- return ;
781
- }
782
- // Only prompt again if the user clicked one of the buttons.
783
- // They may want to look at the other option.
784
- prompt ( ) ;
785
- } ;
786
- prompt ( ) ;
787
-
788
- // Update state to indicate that we've shown this message to the user.
789
- updateGlobalState ( goNightlyPromptKey , true ) ;
790
- }
791
-
792
- const goNightlyPromptKey = 'goNightlyPrompt' ;
793
-
794
750
export function deactivate ( ) {
795
751
return Promise . all ( [
796
752
cancelRunningTests ( ) ,
0 commit comments