%3CLINGO-SUB%20id%3D%22lingo-sub-1274297%22%20slang%3D%22en-US%22%3ECodeTour%20VSCode%20extension%20allows%20you%20to%20produce%20interactive%20guides%2C%20assessments%20and%20tutorials.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1274297%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ECodeTour%20is%20a%20Visual%20Studio%20Code%20extension%3C%2FA%3E%2C%20which%20allows%20you%20to%20record%20and%20playback%20guided%20walkthroughs%20of%20your%20codebases.%20It's%20like%20a%20step%20by%20step%20guide%20or%20table%20of%20contents%20of%20activities%20to%20undertake.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECodeTour%20is%20perfect%20for%20the%20development%20of%20walkthrough%2C%20tutorials%20and%20interactive%20hands%20on%20lesson%20and%20guides%20or%20for%20use%20when%20you%20want%20to%20on%20board%20new%20teaching%2C%20learning%20or%20research%20partners.%20%3CBR%20%2F%3E%3CBR%20%2F%3ECodeTour%20will%20make%20it%20easier%20to%20produce%20interactive%20step%20by%20step%20and%20walkthroughs%20for%20tutorials%20and%20lesson.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2276165260-c6c00500-6112-11ea-9cda-0a6cb9b72e8f%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181535i8C5686E2625DF6FA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2276165260-c6c00500-6112-11ea-9cda-0a6cb9b72e8f%22%20alt%3D%2276165260-c6c00500-6112-11ea-9cda-0a6cb9b72e8f%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECodeTour%20is%20perfect%20for%20bringing%20students%20up%20to%20speed%20on%20projects%20and%20code%20bases%20or%20providing%20guided%20tutorials%20or%20assessments.%20The%20CodeTour%20extensions%20allows%20you%20to%20highlight%20and%20visualize%20bug%20reports%2C%20understand%20the%20context%20of%20a%20code%20review%2FPR%20change%20or%20simply%20complete%20a%20step%20of%20guide%20tasks%20to%20complete%20an%20assessment%20or%20assignment.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3EA%20%22code%20tour%22%20is%20simply%20a%20series%20of%20interactive%20steps%2C%20each%20of%20which%20are%20associated%20with%20a%20specific%20file%2Fline%2C%20and%20include%20a%20description%20of%20the%20respective%20code.%20This%20allows%20developers%20to%20clone%20a%20repo%2C%20and%20then%20immediately%20start%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Elearning%20it%3C%2FSTRONG%3E%2C%20without%20needing%20to%20refer%20to%20a%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECONTRIBUTING.md%3C%2FCODE%3E%26nbsp%3B%3CSPAN%3Eor%20tutorial%20instructions.md%26nbsp%3B%3C%2FSPAN%3Efile%20and%2For%20rely%20on%20help%20from%20others.%20Tours%20can%20either%20be%20checked%20into%20a%20repo%2C%20to%20enable%20sharing%20with%20other%20contributors%2C%20or%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23exporting-tours%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eexported%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20a%20%22tour%20file%22%2C%20which%20allows%20anyone%20to%20replay%20the%20same%20tour%2C%20without%20having%20to%20clone%20any%20code%20to%20do%20it!%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CH2%20id%3D%22starting-a-tour%22%20id%3D%22toc-hId--1381250508%22%20id%3D%22toc-hId--1381250539%22%20id%3D%22toc-hId--1381250539%22%20id%3D%22toc-hId--1381250539%22%3EStarting%20on%20developing%20your%20first%20CodeTour%3C%2FH2%3E%0A%3CP%3EIn%20order%20to%20start%20a%20tour%2C%20simply%20open%20up%20a%20codebase%20that%20has%20one%20or%20more%20tours.%20If%20this%20is%20the%20first%20time%20you've%20ever%20opened%20this%20codebase%2C%20you'll%20be%20presented%20with%20a%20toast%20notification%20asking%20if%20you'd%20like%20to%20take%20a%20tour%20of%20it.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_1%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3EOtherwise%2C%20you%20can%20manually%20start%20a%20tour%20via%20any%20of%20the%20following%20methods%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%0A%3CP%3EClicking%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E%26gt%3B%20Start%20CodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ebutton%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23status-bar%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Estatus%20bar%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3ESelecting%20a%20tour%20(or%20specific%20step)%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23tree-view%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eview%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ein%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EExplorer%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eactivity%20tab%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_2%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2276164362-8610bd80-610b-11ea-9621-4ba2d47a8a52%22%20style%3D%22width%3A%20348px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181537iA32414AB5D36708F%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%2276164362-8610bd80-610b-11ea-9621-4ba2d47a8a52%22%20alt%3D%2276164362-8610bd80-610b-11ea-9621-4ba2d47a8a52%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3ERunning%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3A%20Start%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23contributed-commands%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ecommand%3C%2FA%3E%2C%20and%20selecting%20the%20tour%20you'd%20like%20to%20take%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EIf%20the%20current%20workspace%20only%20has%20a%20single%20code%20tour%2C%20then%20any%20of%20the%20above%20actions%20will%20automatically%20start%20that%20tour.%20Otherwise%2C%20you'll%20be%20presented%20with%20a%20list%20of%20tours%20to%20select%20from.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22opening-a-tour%22%20id%3D%22toc-hId--690689034%22%20id%3D%22toc-hId--690689065%22%20id%3D%22toc-hId--690689065%22%20id%3D%22toc-hId--690689065%22%3EGuide%20for%20opening%20a%20tour%20students%20interaction%3C%2FH3%3E%0A%3CP%3EIn%20addition%20to%20taking%20tours%20that%20are%20part%20of%20the%20currently%20open%20workspace%2C%20you%20can%20also%20open%20a%20tour%20file%20that%20someone%20else%20sent%20you%20and%2For%20you%20created%20yourself.%20%3CBR%20%2F%3E%3CBR%20%2F%3ESimply%20run%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3A%20Open%20Tour%20File...%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecommand%20and%2For%20click%20the%20folder%20icon%20in%20the%20title%20bar%20of%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20view.%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%3A%20The%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20view%20only%20appears%20if%20the%20currently%20opened%20workspace%20has%20any%20tours%20and%2For%20you're%20currently%20taking%20a%20tour.%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CH3%20id%3D%22toc-hId-1796823799%22%20id%3D%22toc-hId-1796823768%22%20id%3D%22toc-hId-1796823768%22%20id%3D%22toc-hId-1796823768%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22tour-markers%22%20id%3D%22toc-hId--10630664%22%20id%3D%22toc-hId--10630695%22%20id%3D%22toc-hId--10630695%22%20id%3D%22toc-hId--10630695%22%3ECodeTour%20markers%20(Visual%20Icon%20in%20the%20gutter%20on%20Visual%20Studio%20Code%20IDE)%3C%2FH3%3E%0A%3CP%3EAs%20you%20explore%20a%20codebase%2C%20you%20might%20encounter%20a%20%22tour%20marker%22%2C%20which%20displays%20the%20CodeTour%20icon%20in%20the%20file%20gutter.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20indicates%20that%20a%20line%20of%20code%20participates%20in%20a%20tour%20for%20the%20open%20workspace%2C%20which%20makes%20it%20easier%20to%20discover%20tours%20that%20might%20be%20relevant%20to%20what%20you're%20currently%20working%20on%20or%20been%20assigned.%20When%20you%20see%20a%20marker%2C%20simply%20hover%20over%20the%20line%20and%20click%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EStart%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Elink%20in%20the%20hover%20tooltip.%20This%20will%20start%20the%20tour%20that's%20associated%20with%20this%20line%20of%20code%2C%20at%20the%20specific%20step.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_4%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2278101204-9aa74500-739b-11ea-8a1e-dea923910524%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181541iC9B2ACE15844A63F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2278101204-9aa74500-739b-11ea-8a1e-dea923910524%22%20alt%3D%2278101204-9aa74500-739b-11ea-8a1e-dea923910524%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20disable%20tour%20markers%2C%20you%20can%20perform%20one%20of%20the%20following%20actions%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ERun%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3A%20Hide%20Tour%20Markers%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecommand%3C%2FLI%3E%0A%3CLI%3EClick%20the%20%22eye%20icon%22%20in%20the%20title%20bar%20of%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20view%3C%2FLI%3E%0A%3CLI%3ESet%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Ecodetour.showMarkers%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Econfiguration%20setting%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Efalse%3C%2FCODE%3E.%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3ENote%20that%20the%20above%20two%20actions%20do%20this%20for%20you%20automatically.%3C%2FEM%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--21133768%22%20id%3D%22toc-hId--21133799%22%20id%3D%22toc-hId--21133799%22%20id%3D%22toc-hId--21133799%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22navigating-a-tour%22%20id%3D%22toc-hId--1828588231%22%20id%3D%22toc-hId--1828588262%22%20id%3D%22toc-hId--1828588262%22%20id%3D%22toc-hId--1828588262%22%3ENavigating%20a%20tour%20(Students%20View)%3C%2FH2%3E%0A%3CP%3EOnce%20a%20student%20has%20started%20a%20tour%2C%20the%20comment%20UI%20will%20guide%20you%2C%20and%20includes%20navigation%20actions%20that%20allow%20you%20to%20perform%20the%20following%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CCODE%3EMove%20Previous%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Navigate%20to%20the%20previous%20step%20in%20the%20current%20tour.%20This%20command%20is%20visible%20for%20step%20%232%20and%20later.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3EMove%20Next%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Navigate%20to%20the%20next%20step%20in%20the%20current%20tour.%20This%20command%20is%20visible%20for%20all%20steps%20but%20the%20last%20one%20in%20a%20tour.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3EEdit%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Begin%20editing%20the%20current%20tour%20(see%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23authoring-tours%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eauthoring%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efor%20details).%20Note%20that%20not%20all%20tours%20are%20editable%2C%20so%20depending%20on%20how%20you%20started%20the%20tour%2C%20you%20may%20or%20may%20not%20see%20this%20action.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3EEnd%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20End%20the%20current%20tour%20and%20remove%20the%20comment%20UI.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EAdditionally%2C%20you%20can%20use%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Ectrl%2Bright%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%2F%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Ectrl%2Bleft%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(Windows%2FLinux)%20and%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Ecmd%2Bright%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%2F%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Ecmd%2Bleft%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(macOS)%20keyboard%20shortcuts%20to%20move%20forwards%20and%20backwards%20in%20the%20tour.%20The%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20view%20and%20status%20bar%20is%20also%20kept%20in%20sync%20with%20your%20current%20tour%2Fstep%2C%20to%20help%20the%20developer%20easily%20understand%20where%20they're%20at%20in%20the%20context%20of%20the%20broader%20tour.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_6%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2276807453-a1319c00-67a1-11ea-9b88-7e448072f33d%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181544i9A19F4BB602E1C98%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2276807453-a1319c00-67a1-11ea-9b88-7e448072f33d%22%20alt%3D%2276807453-a1319c00-67a1-11ea-9b88-7e448072f33d%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20navigate%20away%20from%20the%20current%20step%20and%20need%20to%20resume%2C%20you%20can%20do%20that%20via%20any%20of%20the%20following%20actions%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ERight-clicking%20the%20active%20tour%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20and%20selecting%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EResume%20Tour%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3EClicking%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Estatus%20bar%20item%3C%2FLI%3E%0A%3CLI%3ERunning%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3A%20Resume%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecommand%20in%20the%20command%20palette%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EAt%20any%20time%2C%20you%20can%20end%20the%20current%20code%20tour%20by%20means%20of%20one%20of%20the%20following%20actions%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EClick%20the%20stop%20button%20(the%20red%20square)%20in%20the%20current%20step%20comment%3C%2FLI%3E%0A%3CLI%3EClick%20the%20stop%20button%20next%20to%20the%20active%20tour%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%3C%2FLI%3E%0A%3CLI%3ERunning%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3A%20End%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecommand%20in%20the%20command%20palette%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-658924602%22%20id%3D%22toc-hId-658924571%22%20id%3D%22toc-hId-658924571%22%20id%3D%22toc-hId-658924571%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22authoring-tours%22%20id%3D%22toc-hId--1148529861%22%20id%3D%22toc-hId--1148529892%22%20id%3D%22toc-hId--1148529892%22%20id%3D%22toc-hId--1148529892%22%3EEducators%20and%20Teaching%20Assistants%20How%20to%20Author%20your%20first%20tours%3C%2FH2%3E%0A%3CP%3EIf%20you'd%20like%20to%20create%20a%20code%20tour%20for%20your%20codebase%2C%20assessment%2C%20assignments%20or%20labs%2C%20your%20first%20need%20to%20install%20the%20CodeTour%20Visual%20Studio%20Code%20extension.%26nbsp%3Bvscode%3Aextension%2Fvsls-contrib.codetour%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--457968387%22%20id%3D%22toc-hId--457968418%22%20id%3D%22toc-hId--457968418%22%20id%3D%22toc-hId--457968418%22%3EGetting%20Started%26nbsp%3B%3C%2FH3%3E%0A%3CP%3EYou%20can%20simply%20click%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E%2B%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ebutton%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20view%20(if%20it's%20visible)%20and%2For%20run%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3A%20Record%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecommand.%20This%20will%20start%20the%20%22tour%20recorder%22%2C%20which%20allows%20you%20to%20begin%20opening%20files%2C%20clicking%20the%20%22comment%20bar%22%20for%20the%20line%20you%20want%20to%20annotate%2C%20and%20then%20adding%20the%20respective%20description%20(including%20markdown!).%20Add%20as%20many%20steps%20as%20you%20want%2C%20and%20then%20when%20done%2C%20simply%20click%20the%20stop%20tour%20action%20(the%20red%20square%20button).%3C%2FP%3E%0A%3CP%3EWhile%20you're%20recording%2C%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23tree-view%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etree%20view%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ewill%20display%20the%20currently%20recorded%20tour%2C%20and%20it's%20current%20set%20of%20steps.%20You%20can%20tell%20which%20tour%20is%20being%20recorded%20because%20it%20will%20have%20a%20microphone%20icon%20to%20the%20left%20of%20its%20name.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_7%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2276165260-c6c00500-6112-11ea-9cda-0a6cb9b72e8f%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181545i19CADA5A7A9A9528%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2276165260-c6c00500-6112-11ea-9cda-0a6cb9b72e8f%22%20alt%3D%2276165260-c6c00500-6112-11ea-9cda-0a6cb9b72e8f%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20need%20to%20edit%20or%20delete%20a%20step%20while%20recording%2C%20click%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E...%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Emenu%20next%20to%20the%20step's%20description%2C%20and%20select%20the%20appropriate%20action.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_8%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2276168548-1f50cb80-612e-11ea-9aca-8598b9e1c730%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181546i1B0B6212DC7406CA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2276168548-1f50cb80-612e-11ea-9aca-8598b9e1c730%22%20alt%3D%2276168548-1f50cb80-612e-11ea-9aca-8598b9e1c730%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-2029544446%22%20id%3D%22toc-hId-2029544415%22%20id%3D%22toc-hId-2029544415%22%20id%3D%22toc-hId-2029544415%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22step-titles%22%20id%3D%22toc-hId--473073496%22%20id%3D%22toc-hId--473073527%22%20id%3D%22toc-hId--473073527%22%20id%3D%22toc-hId--473073527%22%3ECreating%20Steps%20within%20your%20Tour%20and%20adding%20titles%3C%2FH3%3E%0A%3CP%3EBy%20default%2C%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20displays%20each%20tour%20step%20using%20the%20following%20display%20name%20format%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E%23%3CSTEPNUMBER%3E%20-%20%3CFILEPATH%3E%3C%2FFILEPATH%3E%3C%2FSTEPNUMBER%3E%3C%2FCODE%3E.%20However%2C%20if%20you'd%20like%20to%20give%20the%20step%20a%20more%20friendly%20name%2C%20you%20can%20edit%20the%20step's%20description%20and%20add%20a%20markdown%20heading%20to%20the%20top%20of%20it%2C%20using%20whichever%20heading%20level%20you%20prefer%20(e.g.%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E%23%3C%2FCODE%3E%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E%23%23%3C%2FCODE%3E%2C%20etc.).%20For%20example%2C%20if%20you%20add%20a%20step%20whose%20description%20starts%20with%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E%23%23%23%20Activation%3C%2FCODE%3E%2C%20the%20step%20and%20tree%20view%20would%20look%20like%20the%20following%3A%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_9%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2276721235-91ac4780-66fc-11ea-80bf-f6de8bf4b02e%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181547i2325FA706C1EE2AF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2276721235-91ac4780-66fc-11ea-80bf-f6de8bf4b02e%22%20alt%3D%2276721235-91ac4780-66fc-11ea-80bf-f6de8bf4b02e%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhile%20you%20can%20any%20heading%20level%20for%20the%20step%20title%2C%20we'd%20recommend%20using%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E%23%23%23%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eor%20%22lower%22%20(e.g.%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E%23%23%23%23%3C%2FCODE%3E)%2C%20since%20that%20provides%20a%20nice%20look%20within%20the%20step's%20comment%20UI.%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EIf%20you'd%20like%20to%20add%20step%20titles%20to%20a%20tour%2C%20but%20don't%20want%20to%20add%20markdown%20headings%20to%20their%20descriptions%2C%20you%20can%20manually%20set%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Etitle%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eproperty%20for%20each%20step%20in%20the%20tour's%20underlying%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EJSON%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efile%20(which%20can%20be%20found%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E.vscode%2Ftours%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Edirectory).%20See%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23tour-schema%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etour%20schema%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efor%20more%20detials.%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CH3%20id%3D%22toc-hId-2014439337%22%20id%3D%22toc-hId-2014439306%22%20id%3D%22toc-hId-2014439306%22%20id%3D%22toc-hId-2014439306%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22recording-text-selection%22%20id%3D%22toc-hId-206984874%22%20id%3D%22toc-hId-206984843%22%20id%3D%22toc-hId-206984843%22%20id%3D%22toc-hId-206984843%22%3ERecording%20text%20selection%3C%2FH3%3E%0A%3CP%3EBy%20default%2C%20each%20step%20is%20associated%20with%20the%20line%20of%20code%20you%20created%20the%20comment%20on%20(i.e.%20the%20line%20you%20clicked%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E%2B%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eon%20the%20comment%20bar%20for).%20However%2C%20if%20you%20want%20to%20call%20out%20a%20specific%20span%20of%20code%20as%20part%20of%20the%20step%2C%20simply%20highlight%20the%20code%20before%20you%20add%20the%20step%20(clicking%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EAdd%20Tour%20to%20Step%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ebutton)%2C%20and%20the%20selection%20will%20be%20captured%20as%20part%20of%20the%20step.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_10%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2276705627-b96cc280-669e-11ea-982a-d754c4f001aa%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181548i0A8C9F7609AFD5AD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2276705627-b96cc280-669e-11ea-982a-d754c4f001aa%22%20alt%3D%2276705627-b96cc280-669e-11ea-982a-d754c4f001aa%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20need%20to%20tweak%20the%20selection%20that's%20associated%20with%20a%20step%2C%20simply%20edit%20the%20step%2C%20reset%20the%20selection%20and%20then%20save%20it.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1600469589%22%20id%3D%22toc-hId--1600469620%22%20id%3D%22toc-hId--1600469620%22%20id%3D%22toc-hId--1600469620%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22re-arranging-steps%22%20id%3D%22toc-hId-887043244%22%20id%3D%22toc-hId-887043213%22%20id%3D%22toc-hId-887043213%22%20id%3D%22toc-hId-887043213%22%3ERe-arranging%20steps%20within%20your%20code%20your%3C%2FH3%3E%0A%3CP%3EWhile%20you're%20recording%20a%20tour%2C%20each%20new%20step%20that%20you%20add%20will%20be%20appended%20to%20the%20end%20of%20the%20tour.%20However%2C%20you%20can%20move%20existing%20steps%20up%20and%20down%20in%20the%20order%20by%20performing%20one%20of%20the%20following%20actions%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EHover%20over%20the%20step%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20and%20click%20the%20up%2Fdown%20arrow%20icon%3C%2FLI%3E%0A%3CLI%3ERight-click%20the%20step%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20and%20select%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EMove%20Up%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eor%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EMove%20Down%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Emenu%20items%3C%2FLI%3E%0A%3CLI%3EClick%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E...%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Emenu%20in%20the%20step%20comment%20UI%20and%20select%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EMove%20Up%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eor%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EMove%20Down%3C%2FCODE%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EAdditionally%2C%20if%20you%20want%20to%20add%20a%20new%20step%20in%20the%20middle%20of%20a%20tour%2C%20simply%20navigate%20to%20the%20step%20that%20you%20want%20to%20insert%20a%20new%20step%20after%2C%20and%20then%20create%20the%20new%20step.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--920411219%22%20id%3D%22toc-hId--920411250%22%20id%3D%22toc-hId--920411250%22%20id%3D%22toc-hId--920411250%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22deleting-steps%22%20id%3D%22toc-hId-1567101614%22%20id%3D%22toc-hId-1567101583%22%20id%3D%22toc-hId-1567101583%22%20id%3D%22toc-hId-1567101583%22%3EDeleting%20steps%20within%20your%20CodeTour%3C%2FH3%3E%0A%3CP%3EIf%20you%20no%20longer%20need%20a%20specific%20step%20in%20a%20tour%2C%20you%20can%20delete%20it%20by%20means%20of%20one%20of%20the%20following%20actions%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ERight-clicking%20the%20step%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20and%20selecting%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EDelete%20Step%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3ENavigating%20to%20the%20step%20in%20the%20replay%2Fcomment%20UI%2C%20selecting%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E...%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Emenu%20next%20to%20the%20comment%20description%20and%20selecting%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EDelete%20Step%3C%2FCODE%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId--240352849%22%20id%3D%22toc-hId--240352880%22%20id%3D%22toc-hId--240352880%22%20id%3D%22toc-hId--240352880%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22editing-a-tour%22%20id%3D%22toc-hId--2047807312%22%20id%3D%22toc-hId--2047807343%22%20id%3D%22toc-hId--2047807343%22%20id%3D%22toc-hId--2047807343%22%3EEditing%20a%20CodeTour%3C%2FH3%3E%0A%3CP%3EIf%20you%20want%20to%20edit%20an%20existing%20tour%2C%20simply%20right-click%20the%20tour%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20and%20select%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EEdit%20Tour%3C%2FCODE%3E.%20Alternatively%2C%20you%20can%20edit%20a%20tour%20you're%20actively%20viewing%20by%20clicking%20the%20pencil%20icon%20in%20the%20current%20step's%20comment%20bar%2C%20or%20running%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3A%20Edit%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecommand.%3C%2FP%3E%0A%3CP%3EAt%20any%20time%2C%20you%20can%20right-click%20a%20tour%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20and%20change%20it's%20title%2C%20description%20or%20git%20ref%2C%20by%20selecting%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EChange%20Title%3C%2FCODE%3E%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EChange%20Description%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eor%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EChange%20Git%20Ref%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Emenu%20items.%20Additionally%2C%20you%20can%20delete%20a%20tour%20by%20right-clicking%20it%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20and%20seelcting%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EDelete%20Tour%3C%2FCODE%3E.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-439705521%22%20id%3D%22toc-hId-439705490%22%20id%3D%22toc-hId-439705490%22%20id%3D%22toc-hId-439705490%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22versioning-tours%22%20id%3D%22toc-hId--669587001%22%20id%3D%22toc-hId--669587032%22%20id%3D%22toc-hId--669587032%22%20id%3D%22toc-hId--669587032%22%3EVersioning%20of%20your%20CodeTours%3C%2FH3%3E%0A%3CP%3EWhen%20you%20record%20a%20tour%2C%20you'll%20be%20asked%20which%20git%20%22ref%22%20to%20associate%20it%20with.%20This%20allows%20you%20to%20define%20how%20resilient%20you%20want%20the%20tour%20to%20be%2C%20as%20changes%20are%20made%20to%20the%20respective%20codebase.%20This%20is%20perfect%20if%20want%20CodeTour%20for%20specific%20classes%2C%20cohort%20or%20year%20study%20groups.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_11%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2276692462-3f8ff700-6614-11ea-88a1-6fbded8e8507%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181549i9AEB46A0D200D853%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2276692462-3f8ff700-6614-11ea-88a1-6fbded8e8507%22%20alt%3D%2276692462-3f8ff700-6614-11ea-88a1-6fbded8e8507%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20choose%20to%20associate%20with%20the%20tour%20with%20the%20following%20ref%20types%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CCODE%3ENone%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20The%20tour%20isn't%20associated%20with%20any%20ref%2C%20and%20therefore%2C%20the%20file%2Fline%20numbers%20in%20the%20tour%20might%20get%20out%20of%20sync%20over%20time.%20The%20benefit%20of%20this%20option%20is%20that%20it%20enables%20the%20code%20to%20be%20edited%20as%20part%20of%20the%20tour%2C%20since%20the%20tour%20will%20walk%20the%20user%20through%20whichever%20branch%2Fcommit%20they%20have%20checked%20out.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3ECurrent%20Branch%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20The%20tour%20is%20restricted%20to%20the%20current%20branch.%20This%20can%20have%20the%20same%20resiliency%20challenges%20as%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ENone%3C%2FCODE%3E%2C%20but%2C%20it%20allows%20you%20to%20maintain%20a%20special%20branch%20for%20your%20tours%20that%20can%20be%20versioned%20seperately.%20If%20the%20end-user%20has%20the%20associated%20branch%20checked%20out%2C%20then%20the%20tour%20will%20enable%20them%20to%20make%20edits%20to%20files%20as%20its%20taken.%20Otherwise%2C%20the%20tour%20will%20replay%20with%20read-only%20files.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3ECurrent%20Commit%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20The%20tour%20is%20restricted%20to%20the%20current%20commit%2C%20and%20therefore%2C%20will%20never%20get%20out%20of%20sync.%20If%20the%20end-user's%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EHEAD%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Epoints%20at%20the%20specified%20commit%2C%20then%20the%20tour%20will%20enable%20them%20to%20make%20edits%20to%20files%20as%20its%20taken.%20Otherwise%2C%20the%20tour%20will%20replay%20with%20read-only%20files.%3C%2FLI%3E%0A%3CLI%3ETags%20-%20The%20tour%20is%20restricted%20to%20the%20selected%20tag%2C%20and%20therefore%2C%20will%20never%20get%20out%20of%20sync.%20The%20repo's%20entire%20list%20of%20tags%20will%20be%20displayed%2C%20which%20allows%20you%20to%20easily%20select%20one.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EAt%20any%20time%2C%20you%20can%20edit%20the%20tour's%20ref%20by%20right-clicking%20it%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20and%20selecting%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EChange%20Git%20Ref%3C%2FCODE%3E.%20This%20let's%20you%20%22rebase%22%20a%20tour%20to%20a%20tag%2Fcommit%20as%20you%20change%2Fupdate%20your%20code%20and%2For%20codebase.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1817925832%22%20id%3D%22toc-hId-1817925801%22%20id%3D%22toc-hId-1817925801%22%20id%3D%22toc-hId-1817925801%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22tour-files%22%20id%3D%22toc-hId-10471369%22%20id%3D%22toc-hId-10471338%22%20id%3D%22toc-hId-10471338%22%20id%3D%22toc-hId-10471338%22%3EFormat%20and%20content%20of%20the%20CodeTour%20Files%3C%2FH3%3E%0A%3CP%3EBehind%20the%20scenes%2C%20the%20tour%20will%20be%20written%20as%20a%20JSON%20file%20to%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E.vscode%2Ftours%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Edirectory%20of%20the%20current%20workspace.%20This%20file%20is%20pretty%20simple%20and%20can%20be%20hand-edited%20if%20you'd%20like.%20Additionally%2C%20you%20can%20manually%20create%20tour%20files%2C%20by%20following%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23tour-schema%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etour%20schema%3C%2FA%3E.%20You%20can%20then%20store%20these%20files%20to%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E.vscode%2Ftours%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Edirectory%2C%20or%20you%20can%20also%20create%20a%20tour%20at%20any%20of%20the%20following%20locations%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CCODE%3Ecodetour.json%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Etour.json%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3E.vscode%2Fcodetour.json%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3E.vscode%2Ftour.json%3C%2FCODE%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId--1796983094%22%20id%3D%22toc-hId--1796983125%22%20id%3D%22toc-hId--1796983125%22%20id%3D%22toc-hId--1796983125%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22exporting-tours%22%20id%3D%22toc-hId-690529739%22%20id%3D%22toc-hId-690529708%22%20id%3D%22toc-hId-690529708%22%20id%3D%22toc-hId-690529708%22%3EExporting%20CodeTours%3C%2FH3%3E%0A%3CP%3EBy%20default%2C%20when%20you%20record%20a%20tour%2C%20it%20is%20written%20to%20the%20currently%20open%20workspace.%20This%20makes%20it%20easy%20to%20check-in%20the%20tour%20and%20share%20it%20with%20the%20rest%20of%20the%20team.%20However%2C%20there%20may%20be%20times%20where%20you%20want%20to%20record%20a%20tour%20for%20yourself%2C%20or%20a%20tour%20to%20help%20explain%20a%20one-off%20to%20someone%2C%20and%20in%20those%20situations%2C%20you%20might%20not%20want%20to%20check%20the%20tour%20into%20the%20repo.%3C%2FP%3E%0A%3CP%3ESo%20support%20this%2C%20after%20you%20finish%20recording%20a%20tour%2C%20you%20can%20right-click%20it%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20and%20select%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EExport%20Tour%3C%2FCODE%3E.%20This%20will%20allow%20you%20to%20save%20the%20tour%20to%20a%20new%20location%2C%20and%20then%20you%20can%20delete%20the%20tour%20file%20from%20your%20repo.%20Furthermore%2C%20when%20you%20export%20a%20tour%2C%20the%20tour%20file%20itself%20will%20embed%20the%20contents%20of%20all%20files%20needed%20by%20the%20tour%2C%20which%20ensures%20that%20someone%20can%20play%20it%20back%2C%20regardless%20if%20the%20have%20the%20respective%20code%20available%20locally.%20This%20enables%20a%20powerful%20form%20of%20collaboration.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_12%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CH3%20id%3D%22tour-schema%22%20id%3D%22toc-hId--1116924724%22%20id%3D%22toc-hId--1116924755%22%20id%3D%22toc-hId--1116924755%22%20id%3D%22toc-hId--1116924755%22%3ECodeTour%20JSON%20Schema%3C%2FH3%3E%0A%3CP%3EWithin%20the%20tour%20file%2C%20you%20need%20to%20specify%20the%20following%20required%20properties%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CCODE%3Etitle%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20The%20display%20name%20of%20the%20tour%2C%20which%20will%20be%20shown%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20view%2C%20quick%20pick%2C%20etc.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Edescription%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20An%20optional%20description%20for%20the%20tour%2C%20which%20will%20be%20shown%20as%20the%20tooltip%20for%20the%20tour%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20view%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Eref%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20An%20optional%20%22git%20ref%22%20(branch%2Ftag%2Fcommit)%20that%20this%20tour%20applies%20to.%20See%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23versioning-tours%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eversioning%20tours%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efor%20more%20details.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Esteps%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20An%20array%20of%20tour%20steps%0A%3CUL%3E%0A%3CLI%3E%3CCODE%3Efile%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20The%20file%20path%20(relative%20to%20the%20workspace%20root)%20that%20this%20step%20is%20associated%20with%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Euri%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20An%20absolute%20URI%20that%20this%20step%20is%20associated%20with.%20Note%20that%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Euri%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Efile%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eare%20mutually%20exclusive%2C%20so%20only%20set%20one%20per%20step%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Eline%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20The%201-based%20line%20number%20that%20this%20step%20is%20associated%20with%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Etitle%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20An%20optional%20title%2C%20which%20will%20be%20displayed%20as%20the%20step%20name%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20view.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Edescription%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20The%20text%20which%20explains%20the%20current%20file%2Fline%20number%2C%20and%20can%20include%20plain%20text%20and%20markdown%20syntax%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EFor%20an%20example%2C%20refer%20to%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E.vscode%2Ftour.json%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efile%20of%20this%20repository.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1241505390%22%20id%3D%22toc-hId-1241505359%22%20id%3D%22toc-hId-1241505359%22%20id%3D%22toc-hId-1241505359%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22tree-view%22%20id%3D%22toc-hId--565949073%22%20id%3D%22toc-hId--565949104%22%20id%3D%22toc-hId--565949104%22%20id%3D%22toc-hId--565949104%22%3ETree%20View%3C%2FH2%3E%0A%3CP%3EIf%20the%20currently%20opened%20workspace%20has%20any%20code%20tours%2C%20or%20you're%20actively%20taking%2Frecording%20a%20tour%2C%20you'll%20see%20a%20new%20tree%20view%20called%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%2C%20that's%20added%20to%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EExplorer%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etab.%20This%20view%20simply%20lists%20the%20set%20of%20available%20code%20tours%2C%20along%20with%20their%20title%20and%20number%20of%20steps.%20If%20you%20select%20a%20tour%20it%20will%20start%20it%2C%20and%20therefore%2C%20this%20is%20simply%20a%20more%20convenient%20alternative%20to%20running%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3A%20Start%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecommand.%20However%2C%20you%20can%20also%20expand%20a%20tour%20and%20start%20it%20at%20a%20specific%20step%2C%20edit%2Fdelete%20steps%2C%20re-order%20steps%2C%20and%20change%20the%20tour's%20description%2Ftitle%2Fgit%20ref.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_13%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2276164362-8610bd80-610b-11ea-9621-4ba2d47a8a52%22%20style%3D%22width%3A%20544px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181551i50B21936341A3D1A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2276164362-8610bd80-610b-11ea-9621-4ba2d47a8a52%22%20alt%3D%2276164362-8610bd80-610b-11ea-9621-4ba2d47a8a52%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAdditionally%2C%20the%20tree%20view%20will%20display%20the%20tour%20currently%20being%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23authoring-tours%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Erecorded%3C%2FA%3E%2C%20which%20makes%20it%20easy%20to%20track%20your%20status%20while%20in%20the%20process%20of%20creating%20a%20new%20tour.%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20tree%20view%20is%20automatically%20kept%20up-to-date%2C%20as%20you%20add%2Fedit%2Fdelete%20tours%20within%20the%20current%20workspace.%20So%20feel%20free%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23authoring-tours%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Erecord%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%2For%20edit%20tours%2C%20and%20then%20navigate%20them%20when%20done.%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CH2%20id%3D%22status-bar%22%20id%3D%22toc-hId-1921563760%22%20id%3D%22toc-hId-1921563729%22%20id%3D%22toc-hId-1921563729%22%20id%3D%22toc-hId-1921563729%22%3EStatus%20Bar%3C%2FH2%3E%0A%3CP%3EIn%20addition%20to%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20view%2C%20the%20CodeTour%20extension%20also%20contributes%20a%20new%20status%20bar%20item%20called%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EStart%20CodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20your%20status%20bar.%20It's%20only%20visible%20when%20the%20current%20workspace%20has%20one%20or%20more%20tours%2C%20and%20when%20clicked%2C%20it%20allows%20you%20to%20select%20a%20tour%20and%20then%20begin%20navigating%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhile%20you're%20within%20a%20tour%2C%20the%20status%20bar%20will%20update%20to%20show%20the%20title%20and%20step%20of%20the%20current%20tour.%20When%20clicked%2C%20it%20will%20open%20the%20file%2Fline%20of%20the%20current%20tour%20step%2C%20which%20allows%20you%20to%20open%20other%20files%20while%20taking%20a%20tour%2C%20and%20then%20resume%20the%20tour%20when%20ready.%20Once%20you%20end%20the%20current%20tour%2C%20the%20status%20bar%20will%20transition%20back%20to%20displaying%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EStart%20CodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ebutton.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EIf%20you%20don't%20want%20to%20display%20the%20status%20bar%20item%2C%20simply%20right-click%20it%20and%20select%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EHide%20CodeTour%20(Extension)%3C%2FCODE%3E.%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CH2%20id%3D%22contributed-commands%22%20id%3D%22toc-hId-114109297%22%20id%3D%22toc-hId-114109266%22%20id%3D%22toc-hId-114109266%22%20id%3D%22toc-hId-114109266%22%3EContributed%20Commands%3C%2FH2%3E%0A%3CP%3EIn%20addition%20to%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etree%20view%20and%20the%20status%20bar%20item%2C%20the%20CodeTour%20extension%20also%20contributes%20the%20following%20commands%20to%20the%20command%20palette%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%0A%3CP%3E%3CCODE%3ECodeTour%3A%20Open%20Tour%20File...%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Allows%20you%20to%20select%20a%20tour%20file%20that%20was%20previously%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23exporting-tours%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eexported%3C%2FA%3E.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CCODE%3ECodeTour%3A%20Record%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Starts%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23authoring-tours%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etour%20recorder%3C%2FA%3E%2C%20which%20allows%20you%20to%20create%20a%20new%20tour%20by%20creating%20a%20sequence%20of%20steps.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CUL%3E%0A%3CLI%3E%0A%3CP%3E%3CCODE%3ECodeTour%3A%20Start%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Starts%20a%20tour%20for%20the%20currently%20opened%20workspace.%20This%20command%20is%20only%20visible%20if%20the%20current%20workspace%20has%20one%20or%20more%20code%20tours.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CCODE%3ECodeTour%3A%20Refresh%20Tours%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Refreshes%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23tree-view%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eview%3C%2FA%3E%2C%20which%20can%20be%20handy%20if%20you'd%20created%2Fmodified%2Fdeleted%20tour%20files%20on%20disk.%20This%20command%20is%20only%20visible%20if%20the%20current%20workspace%20has%20one%20or%20more%20code%20tours.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CCODE%3ECodeTour%3A%20Hide%20Tour%20Markers%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Hides%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23tour-markers%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etour%20markers%3C%2FA%3E.%20This%20command%20is%20only%20visible%20if%20the%20current%20workspace%20has%20one%20or%20more%20code%20tours%2C%20and%20tour%20markers%20are%20currently%20visible.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CCODE%3ECodeTour%3A%20Show%20Tour%20Markers%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Shows%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23tour-markers%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etour%20markers%3C%2FA%3E.%20This%20command%20is%20only%20visible%20if%20the%20current%20workspace%20has%20one%20or%20more%20code%20tours%2C%20and%20tour%20markers%20are%20currently%20hidden.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CUL%3E%0A%3CLI%3E%0A%3CP%3E%3CCODE%3ECodeTour%3A%20Edit%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Puts%20the%20currently%20active%20tour%20into%20edit%20more.%20This%20command%20is%20only%20visible%20while%20you're%20actively%20playing%20a%20tour%2C%20that%20you're%20not%20already%20editing.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CCODE%3ECodeTour%3A%20End%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Ends%20the%20currently%20active%20tour.%20This%20command%20is%20only%20visible%20while%20you're%20actively%20recording%2Fplaying%20a%20tour.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CCODE%3ECodeTour%3A%20Resume%20Current%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Resumse%20the%20current%20tour%20by%20navigating%20to%20the%20file%2Fline%20number%20that's%20associated%20with%20the%20current%20step.%20This%20command%20is%20only%20visible%20while%20you're%20actively%20recording%2Fplaying%20a%20tour.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--995183225%22%20id%3D%22toc-hId--995183256%22%20id%3D%22toc-hId--995183256%22%20id%3D%22toc-hId--995183256%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22configuration-settings%22%20id%3D%22toc-hId-1492329608%22%20id%3D%22toc-hId-1492329577%22%20id%3D%22toc-hId-1492329577%22%20id%3D%22toc-hId-1492329577%22%3EConfiguration%20Settings%3C%2FH2%3E%0A%3CP%3EThe%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eextension%20contributes%20the%20following%20settings%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CCODE%3Ecodetour.showMarkers%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Specifies%20whether%20or%20not%20to%20show%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dvsls-contrib.codetour%23tour-markers%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etour%20markers%3C%2FA%3E.%20Defaults%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Etrue%3C%2FCODE%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22keybindings%22%20id%3D%22toc-hId--315124855%22%20id%3D%22toc-hId--315124886%22%20id%3D%22toc-hId--315124886%22%20id%3D%22toc-hId--315124886%22%3ECodeTour%20Keybindings%3C%2FH2%3E%0A%3CP%3EIn%20addition%20to%20the%20available%20commands%2C%20the%20Code%20Tour%20extension%20also%20contributes%20the%20following%20commands%2C%20which%20are%20active%20while%20you're%20currently%20taking%20a%20tour%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CCODE%3Ectrl%2Bright%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(Windows%2FLinux)%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Ecmd%2Bright%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(macOS)%20-%20Move%20to%20the%20next%20step%20in%20the%20tour%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Ectrl%2Bleft%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(Windows%2FLinux)%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Ecmd%2Bleft%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(macOS)%20-%20Move%20to%20the%20previous%20step%20in%20the%20tour%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--2122579318%22%20id%3D%22toc-hId--2122579349%22%20id%3D%22toc-hId--2122579349%22%20id%3D%22toc-hId--2122579349%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22extension-api-experimental%22%20id%3D%22toc-hId-364933515%22%20id%3D%22toc-hId-364933484%22%20id%3D%22toc-hId-364933484%22%20id%3D%22toc-hId-364933484%22%3ECodeTour%20Extension%20API%20(Experimental)%3C%2FH2%3E%0A%3CP%3EIn%20order%20to%20enable%20other%20extensions%20to%20contribute%2Fmanage%20their%20own%20code%20tours%2C%20the%20CodeTour%20extension%20exposes%20an%20API%20with%20the%20following%20methods%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%0A%3CP%3E%3CCODE%3EstartTour(tour%3A%20CodeTour%2C%20stepNumber%3A%20number%2C%20workspaceRoot%3A%20Uri%2C%20startInEditMode%3A%20boolean%20%3D%20false%2C%20canEditTour%3A%20boolean)%3A%20void%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Starts%20the%20specified%20tour%2C%20at%20a%20specific%20step%2C%20and%20using%20a%20specific%20workspace%20root%20to%20resolve%20relative%20file%20paths.%20Additionally%2C%20you%20can%20specify%20whether%20the%20tour%20should%20be%20started%20in%20edit%2Frecord%20mode%20or%20not%2C%20as%20well%20as%20whether%20the%20tour%20should%20be%20editable.%20Once%20the%20tour%20has%20been%20started%2C%20the%20end-user%20can%20use%20the%20status%20bar%2C%20command%20palette%2C%20key%20bindings%20and%20comment%20UI%20to%20navigate%20and%20edit%20the%20tour%2C%20just%20like%20a%20%22normal%22%20tour.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CCODE%3EendCurrentTour()%3A%20void%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Ends%20the%20currently%20running%20tour%20(if%20there%20is%20one).%20Note%20that%20this%20is%20simply%20a%20programatic%20way%20to%20end%20the%20tour%2C%20and%20the%20end-user%20can%20also%20choose%20to%20end%20the%20tour%20using%20either%20the%20command%20palette%20(running%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3ECodeTour%3A%20End%20Tour%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecommand)%20or%20comment%20UI%20(clicking%20the%20red%20square%2C%20stop%20icon)%20as%20usual.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1274297%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EVS%20Code%20extension%20that%20allows%20you%20to%20record%20and%20playback%20guided%20tours%20of%20codebases%2C%20directly%20within%20the%20editor%20perfect%20for%20building%20interactive%20tutorials%20within%20Visual%20Studio%20Code.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1274297%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eacademic%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECodeTour%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Efaculty%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Elearning%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EResearch%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESoftware%20Development%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Estudents%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eteaching%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EVisual%20Studio%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Evscode%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1277788%22%20slang%3D%22en-US%22%3ERe%3A%20CodeTour%20VSCode%20extension%20allows%20you%20to%20produce%20interactive%20guides%2C%20assessments%20and%20tutorials.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1277788%22%20slang%3D%22en-US%22%3E%3CP%3EAwesome%20work%20Lee%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2Fimages%2Femoticons%2Fcool_40x40.gif%22%20alt%3D%22%3Acool%3A%22%20title%3D%22%3Acool%3A%22%20%2F%3E%20Thanks%20for%20Sharing%20with%20the%20Community%20!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

CodeTour is a Visual Studio Code extension, which allows you to record and playback guided walkthroughs of your codebases. It's like a step by step guide or table of contents of activities to undertake.

 

CodeTour is perfect for the development of walkthrough, tutorials and interactive hands on lesson and guides or for use when you want to on board new teaching, learning or research partners.

CodeTour will make it easier to produce interactive step by step and walkthroughs for tutorials and lesson.

 

76165260-c6c00500-6112-11ea-9cda-0a6cb9b72e8f

 

CodeTour is perfect for bringing students up to speed on projects and code bases or providing guided tutorials or assessments. The CodeTour extensions allows you to highlight and visualize bug reports, understand the context of a code review/PR change or simply complete a step of guide tasks to complete an assessment or assignment.

A "code tour" is simply a series of interactive steps, each of which are associated with a specific file/line, and include a description of the respective code. This allows developers to clone a repo, and then immediately start learning it, without needing to refer to a CONTRIBUTING.md or tutorial instructions.md file and/or rely on help from others. Tours can either be checked into a repo, to enable sharing with other contributors, or exported to a "tour file", which allows anyone to replay the same tour, without having to clone any code to do it!

 

Starting on developing your first CodeTour

In order to start a tour, simply open up a codebase that has one or more tours. If this is the first time you've ever opened this codebase, you'll be presented with a toast notification asking if you'd like to take a tour of it.

 

Otherwise, you can manually start a tour via any of the following methods:

  1. Clicking the > Start CodeTour button in the status bar

  2. Selecting a tour (or specific step) in the CodeTour view in the Explorer activity tab

     

    76164362-8610bd80-610b-11ea-9621-4ba2d47a8a52

  3. Running the CodeTour: Start Tour command, and selecting the tour you'd like to take

If the current workspace only has a single code tour, then any of the above actions will automatically start that tour. Otherwise, you'll be presented with a list of tours to select from.

 

Guide for opening a tour students interaction

In addition to taking tours that are part of the currently open workspace, you can also open a tour file that someone else sent you and/or you created yourself.

Simply run the CodeTour: Open Tour File... command and/or click the folder icon in the title bar of the CodeTour tree view.

 

Note: The CodeTour tree view only appears if the currently opened workspace has any tours and/or you're currently taking a tour.

 

CodeTour markers (Visual Icon in the gutter on Visual Studio Code IDE)

As you explore a codebase, you might encounter a "tour marker", which displays the CodeTour icon in the file gutter.

 

This indicates that a line of code participates in a tour for the open workspace, which makes it easier to discover tours that might be relevant to what you're currently working on or been assigned. When you see a marker, simply hover over the line and click the Start Tour link in the hover tooltip. This will start the tour that's associated with this line of code, at the specific step.

 

78101204-9aa74500-739b-11ea-8a1e-dea923910524

 

If you want to disable tour markers, you can perform one of the following actions:

  • Run the CodeTour: Hide Tour Markers command
  • Click the "eye icon" in the title bar of the CodeTour tree view
  • Set the codetour.showMarkers configuration setting to false. Note that the above two actions do this for you automatically.

 

Once a student has started a tour, the comment UI will guide you, and includes navigation actions that allow you to perform the following:

 

  • Move Previous - Navigate to the previous step in the current tour. This command is visible for step #2 and later.
  • Move Next - Navigate to the next step in the current tour. This command is visible for all steps but the last one in a tour.
  • Edit Tour - Begin editing the current tour (see authoring for details). Note that not all tours are editable, so depending on how you started the tour, you may or may not see this action.
  • End Tour - End the current tour and remove the comment UI.

Additionally, you can use the ctrl+right / ctrl+left (Windows/Linux) and cmd+right / cmd+left (macOS) keyboard shortcuts to move forwards and backwards in the tour. The CodeTour tree view and status bar is also kept in sync with your current tour/step, to help the developer easily understand where they're at in the context of the broader tour.

 

76807453-a1319c00-67a1-11ea-9b88-7e448072f33d

 

If you navigate away from the current step and need to resume, you can do that via any of the following actions:

  • Right-clicking the active tour in the CodeTour tree and selecting Resume Tour
  • Clicking the CodeTour status bar item
  • Running the CodeTour: Resume Tour command in the command palette

At any time, you can end the current code tour by means of one of the following actions:

  • Click the stop button (the red square) in the current step comment
  • Click the stop button next to the active tour in the CodeTour tree
  • Running the CodeTour: End Tour command in the command palette

 

Educators and Teaching Assistants How to Author your first tours

If you'd like to create a code tour for your codebase, assessment, assignments or labs, your first need to install the CodeTour Visual Studio Code extension. vscode:extension/vsls-contrib.codetour https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour

 

Getting Started 

You can simply click the + button in the CodeTour tree view (if it's visible) and/or run the CodeTour: Record Tour command. This will start the "tour recorder", which allows you to begin opening files, clicking the "comment bar" for the line you want to annotate, and then adding the respective description (including markdown!). Add as many steps as you want, and then when done, simply click the stop tour action (the red square button).

While you're recording, the CodeTour tree view will display the currently recorded tour, and it's current set of steps. You can tell which tour is being recorded because it will have a microphone icon to the left of its name.

 

76165260-c6c00500-6112-11ea-9cda-0a6cb9b72e8f

 

If you need to edit or delete a step while recording, click the ... menu next to the step's description, and select the appropriate action.

 

76168548-1f50cb80-612e-11ea-9aca-8598b9e1c730

 

Creating Steps within your Tour and adding titles

By default, the CodeTour tree displays each tour step using the following display name format: #<stepNumber> - <filePath>. However, if you'd like to give the step a more friendly name, you can edit the step's description and add a markdown heading to the top of it, using whichever heading level you prefer (e.g. #, ##, etc.). For example, if you add a step whose description starts with ### Activation, the step and tree view would look like the following:

 

76721235-91ac4780-66fc-11ea-80bf-f6de8bf4b02e

 

While you can any heading level for the step title, we'd recommend using ### or "lower" (e.g. ####), since that provides a nice look within the step's comment UI.

If you'd like to add step titles to a tour, but don't want to add markdown headings to their descriptions, you can manually set the title property for each step in the tour's underlying JSON file (which can be found in the .vscode/tours directory). See tour schema for more detials.

 

Recording text selection

By default, each step is associated with the line of code you created the comment on (i.e. the line you clicked the + on the comment bar for). However, if you want to call out a specific span of code as part of the step, simply highlight the code before you add the step (clicking the Add Tour to Step button), and the selection will be captured as part of the step.

 

76705627-b96cc280-669e-11ea-982a-d754c4f001aa

 

If you need to tweak the selection that's associated with a step, simply edit the step, reset the selection and then save it.

 

Re-arranging steps within your code your

While you're recording a tour, each new step that you add will be appended to the end of the tour. However, you can move existing steps up and down in the order by performing one of the following actions:

  • Hover over the step in the CodeTour tree and click the up/down arrow icon
  • Right-click the step in the CodeTour tree and select the Move Up or Move Down menu items
  • Click the ... menu in the step comment UI and select Move Up or Move Down

Additionally, if you want to add a new step in the middle of a tour, simply navigate to the step that you want to insert a new step after, and then create the new step.

 

Deleting steps within your CodeTour

If you no longer need a specific step in a tour, you can delete it by means of one of the following actions:

  • Right-clicking the step in the CodeTour tree and selecting Delete Step
  • Navigating to the step in the replay/comment UI, selecting the ... menu next to the comment description and selecting Delete Step

 

Editing a CodeTour

If you want to edit an existing tour, simply right-click the tour in the CodeTour tree and select Edit Tour. Alternatively, you can edit a tour you're actively viewing by clicking the pencil icon in the current step's comment bar, or running the CodeTour: Edit Tour command.

At any time, you can right-click a tour in the CodeTour tree and change it's title, description or git ref, by selecting the Change Title, Change Description or Change Git Ref menu items. Additionally, you can delete a tour by right-clicking it in the CodeTour tree and seelcting Delete Tour.

 

Versioning of your CodeTours

When you record a tour, you'll be asked which git "ref" to associate it with. This allows you to define how resilient you want the tour to be, as changes are made to the respective codebase. This is perfect if want CodeTour for specific classes, cohort or year study groups.

 

76692462-3f8ff700-6614-11ea-88a1-6fbded8e8507

 

You can choose to associate with the tour with the following ref types:

  • None - The tour isn't associated with any ref, and therefore, the file/line numbers in the tour might get out of sync over time. The benefit of this option is that it enables the code to be edited as part of the tour, since the tour will walk the user through whichever branch/commit they have checked out.
  • Current Branch - The tour is restricted to the current branch. This can have the same resiliency challenges as None, but, it allows you to maintain a special branch for your tours that can be versioned seperately. If the end-user has the associated branch checked out, then the tour will enable them to make edits to files as its taken. Otherwise, the tour will replay with read-only files.
  • Current Commit - The tour is restricted to the current commit, and therefore, will never get out of sync. If the end-user's HEAD points at the specified commit, then the tour will enable them to make edits to files as its taken. Otherwise, the tour will replay with read-only files.
  • Tags - The tour is restricted to the selected tag, and therefore, will never get out of sync. The repo's entire list of tags will be displayed, which allows you to easily select one.

At any time, you can edit the tour's ref by right-clicking it in the CodeTour tree and selecting Change Git Ref. This let's you "rebase" a tour to a tag/commit as you change/update your code and/or codebase.

 

Format and content of the CodeTour Files

Behind the scenes, the tour will be written as a JSON file to the .vscode/tours directory of the current workspace. This file is pretty simple and can be hand-edited if you'd like. Additionally, you can manually create tour files, by following the tour schema. You can then store these files to the .vscode/tours directory, or you can also create a tour at any of the following locations:

  • codetour.json
  • tour.json
  • .vscode/codetour.json
  • .vscode/tour.json

 

Exporting CodeTours

By default, when you record a tour, it is written to the currently open workspace. This makes it easy to check-in the tour and share it with the rest of the team. However, there may be times where you want to record a tour for yourself, or a tour to help explain a one-off to someone, and in those situations, you might not want to check the tour into the repo.

So support this, after you finish recording a tour, you can right-click it in the CodeTour tree and select Export Tour. This will allow you to save the tour to a new location, and then you can delete the tour file from your repo. Furthermore, when you export a tour, the tour file itself will embed the contents of all files needed by the tour, which ensures that someone can play it back, regardless if the have the respective code available locally. This enables a powerful form of collaboration.

 

CodeTour JSON Schema

Within the tour file, you need to specify the following required properties:

  • title - The display name of the tour, which will be shown in the CodeTour tree view, quick pick, etc.
  • description - An optional description for the tour, which will be shown as the tooltip for the tour in the CodeTour tree view
  • ref - An optional "git ref" (branch/tag/commit) that this tour applies to. See versioning tours for more details.
  • steps - An array of tour steps
    • file - The file path (relative to the workspace root) that this step is associated with
    • uri - An absolute URI that this step is associated with. Note that uri and file are mutually exclusive, so only set one per step
    • line - The 1-based line number that this step is associated with
    • title - An optional title, which will be displayed as the step name in the CodeTour tree view.
    • description - The text which explains the current file/line number, and can include plain text and markdown syntax

For an example, refer to the .vscode/tour.json file of this repository.

 

Tree View

If the currently opened workspace has any code tours, or you're actively taking/recording a tour, you'll see a new tree view called CodeTour, that's added to the Explorer tab. This view simply lists the set of available code tours, along with their title and number of steps. If you select a tour it will start it, and therefore, this is simply a more convenient alternative to running the CodeTour: Start Tour command. However, you can also expand a tour and start it at a specific step, edit/delete steps, re-order steps, and change the tour's description/title/git ref.

 

76164362-8610bd80-610b-11ea-9621-4ba2d47a8a52

Additionally, the tree view will display the tour currently being recorded, which makes it easy to track your status while in the process of creating a new tour.

 

The tree view is automatically kept up-to-date, as you add/edit/delete tours within the current workspace. So feel free to record and/or edit tours, and then navigate them when done.

Status Bar

In addition to the CodeTour tree view, the CodeTour extension also contributes a new status bar item called Start CodeTour to your status bar. It's only visible when the current workspace has one or more tours, and when clicked, it allows you to select a tour and then begin navigating it.

 

While you're within a tour, the status bar will update to show the title and step of the current tour. When clicked, it will open the file/line of the current tour step, which allows you to open other files while taking a tour, and then resume the tour when ready. Once you end the current tour, the status bar will transition back to displaying the Start CodeTour button.

 

If you don't want to display the status bar item, simply right-click it and select Hide CodeTour (Extension).

Contributed Commands

In addition to the CodeTour tree view and the status bar item, the CodeTour extension also contributes the following commands to the command palette:

  • CodeTour: Open Tour File... - Allows you to select a tour file that was previously exported.

  • CodeTour: Record Tour - Starts the tour recorder, which allows you to create a new tour by creating a sequence of steps.

  • CodeTour: Start Tour - Starts a tour for the currently opened workspace. This command is only visible if the current workspace has one or more code tours.

  • CodeTour: Refresh Tours - Refreshes the CodeTour view, which can be handy if you'd created/modified/deleted tour files on disk. This command is only visible if the current workspace has one or more code tours.

  • CodeTour: Hide Tour Markers - Hides tour markers. This command is only visible if the current workspace has one or more code tours, and tour markers are currently visible.

  • CodeTour: Show Tour Markers - Shows tour markers. This command is only visible if the current workspace has one or more code tours, and tour markers are currently hidden.

  • CodeTour: Edit Tour - Puts the currently active tour into edit more. This command is only visible while you're actively playing a tour, that you're not already editing.

  • CodeTour: End Tour - Ends the currently active tour. This command is only visible while you're actively recording/playing a tour.

  • CodeTour: Resume Current Tour - Resumse the current tour by navigating to the file/line number that's associated with the current step. This command is only visible while you're actively recording/playing a tour.

 

Configuration Settings

The CodeTour extension contributes the following settings:

  • codetour.showMarkers - Specifies whether or not to show tour markers. Defaults to true.

CodeTour Keybindings

In addition to the available commands, the Code Tour extension also contributes the following commands, which are active while you're currently taking a tour:

  • ctrl+right (Windows/Linux), cmd+right (macOS) - Move to the next step in the tour
  • ctrl+left (Windows/Linux) cmd+left (macOS) - Move to the previous step in the tour

 

CodeTour Extension API (Experimental)

In order to enable other extensions to contribute/manage their own code tours, the CodeTour extension exposes an API with the following methods:

  • startTour(tour: CodeTour, stepNumber: number, workspaceRoot: Uri, startInEditMode: boolean = false, canEditTour: boolean): void - Starts the specified tour, at a specific step, and using a specific workspace root to resolve relative file paths. Additionally, you can specify whether the tour should be started in edit/record mode or not, as well as whether the tour should be editable. Once the tour has been started, the end-user can use the status bar, command palette, key bindings and comment UI to navigate and edit the tour, just like a "normal" tour.

  • endCurrentTour(): void - Ends the currently running tour (if there is one). Note that this is simply a programatic way to end the tour, and the end-user can also choose to end the tour using either the command palette (running the CodeTour: End Tour command) or comment UI (clicking the red square, stop icon) as usual.

1 Comment

Awesome work Lee :cool: Thanks for Sharing with the Community !