File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 44- Automatically set the "pattern" record mode when you create a new tour, and select ` None ` for the git ref
55- Added support for opening a ` *.tour ` file in the VS Code notebook editor (Insiders only)
66
7+ ## v0.0.58 (07/08/2021)
8+
9+ - The "Tours available!" prompt is now suppressed when opening a [ CodeSwing] ( https://aka.ms/codeswing ) workspace
10+
711## v0.0.57 (07/08/2021)
812
913- Added a new ` CodeTour: Custom Tour Directory ` setting, that allows a project to specify a custom directory for their tours to be stored in
Original file line number Diff line number Diff line change 33 "displayName" : " CodeTour" ,
44 "description" : " VS Code extension that allows you to record and playback guided tours of codebases, directly within the editor" ,
55 "publisher" : " vsls-contrib" ,
6- "version" : " 0.0.57 " ,
6+ "version" : " 0.0.58 " ,
77 "author" : {
88 "name" : " Microsoft Corporation"
99 },
Original file line number Diff line number Diff line change @@ -145,6 +145,11 @@ export async function moveCurrentCodeTourForward() {
145145 _onDidStartTour . fire ( [ store . activeTour ! . tour , store . activeTour ! . step ] ) ;
146146}
147147
148+ async function isCodeSwingWorkspace ( uri : Uri ) {
149+ const files = await workspace . findFiles ( "codeswing.json" ) ;
150+ return files && files . length > 0 ;
151+ }
152+
148153function isLiveShareWorkspace ( uri : Uri ) {
149154 return (
150155 uri . path . endsWith ( "Visual Studio Live Share.code-workspace" ) ||
@@ -162,7 +167,10 @@ export async function promptForTour(
162167 tours . length > 0 &&
163168 ! globalState . get ( key ) &&
164169 ! isLiveShareWorkspace ( workspaceRoot ) &&
165- workspace . getConfiguration ( "codetour" ) . get ( "promptForWorkspaceTours" , true )
170+ workspace
171+ . getConfiguration ( EXTENSION_NAME )
172+ . get ( "promptForWorkspaceTours" , true ) &&
173+ ! isCodeSwingWorkspace ( workspaceRoot )
166174 ) {
167175 globalState . update ( key , true ) ;
168176
You can’t perform that action at this time.
0 commit comments