2020-03-07 21:37:16 +03:00
|
|
|
{
|
|
|
|
"name": "codetour",
|
2020-03-14 18:12:48 +03:00
|
|
|
"displayName": "CodeTour",
|
2020-03-08 17:06:53 +03:00
|
|
|
"description": "VS Code extension that allows you to record and playback guided tours of codebases, directly within the editor",
|
2020-03-07 21:37:16 +03:00
|
|
|
"publisher": "vsls-contrib",
|
2020-05-27 18:08:03 +03:00
|
|
|
"version": "0.0.29",
|
2020-03-07 21:37:16 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-03-14 18:12:48 +03:00
|
|
|
"url": "https://github.com/vsls-contrib/codetour"
|
2020-03-07 21:37:16 +03:00
|
|
|
},
|
|
|
|
"bugs": {
|
2020-03-14 18:12:48 +03:00
|
|
|
"url": "https://github.com/vsls-contrib/codetour/issues"
|
2020-03-07 21:37:16 +03:00
|
|
|
},
|
2020-03-14 18:12:48 +03:00
|
|
|
"homepage": "https://github.com/vsls-contrib/codetour#readme",
|
2020-03-07 21:37:16 +03:00
|
|
|
"license": "ISC",
|
|
|
|
"icon": "images/icon.png",
|
|
|
|
"engines": {
|
2020-04-02 19:46:29 +03:00
|
|
|
"vscode": "^1.40.0"
|
2020-03-07 21:37:16 +03:00
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"keywords": [
|
|
|
|
"Collaboration",
|
|
|
|
"Sharing"
|
|
|
|
],
|
2020-03-09 19:30:05 +03:00
|
|
|
"extensionKind": [
|
2020-05-03 21:45:21 +03:00
|
|
|
"workspace"
|
2020-03-09 19:30:05 +03:00
|
|
|
],
|
2020-03-07 21:37:16 +03:00
|
|
|
"activationEvents": [
|
2020-05-03 21:45:21 +03:00
|
|
|
"*"
|
2020-03-07 21:37:16 +03:00
|
|
|
],
|
|
|
|
"main": "./out/extension.js",
|
|
|
|
"contributes": {
|
2020-04-01 07:43:28 +03:00
|
|
|
"configuration": {
|
|
|
|
"type": "object",
|
|
|
|
"title": "CodeTour",
|
|
|
|
"properties": {
|
|
|
|
"codetour.showMarkers": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "Specifies whether or not to show tour markers in the editor gutter."
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-03-07 21:37:16 +03:00
|
|
|
"commands": [
|
2020-05-04 08:08:52 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.addContentStep",
|
|
|
|
"title": "Add Tour Step",
|
|
|
|
"category": "CodeTour"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.addDirectoryStep",
|
|
|
|
"title": "Add CodeTour Step"
|
|
|
|
},
|
2020-03-08 05:20:04 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.addTourStep",
|
2020-03-09 19:01:17 +03:00
|
|
|
"title": "Add Step to Tour",
|
2020-03-08 05:20:04 +03:00
|
|
|
"enablement": "!commentIsEmpty"
|
|
|
|
},
|
|
|
|
{
|
2020-03-13 19:11:51 +03:00
|
|
|
"command": "codetour.changeTourDescription",
|
|
|
|
"title": "Change Description"
|
|
|
|
},
|
2020-03-15 01:36:25 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.changeTourRef",
|
|
|
|
"title": "Change Git Ref"
|
|
|
|
},
|
2020-05-18 04:26:29 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.changeTourStepTitle",
|
|
|
|
"title": "Change Title"
|
|
|
|
},
|
2020-03-13 19:11:51 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.changeTourTitle",
|
|
|
|
"title": "Change Title"
|
|
|
|
},
|
2020-03-08 05:20:04 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.deleteTourStep",
|
|
|
|
"title": "Delete Step"
|
|
|
|
},
|
2020-03-14 22:31:16 +03:00
|
|
|
{
|
2020-03-31 08:02:11 +03:00
|
|
|
"command": "codetour.deleteTour",
|
|
|
|
"title": "Delete Tour"
|
2020-03-14 22:31:16 +03:00
|
|
|
},
|
2020-03-19 20:52:49 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.editTourAtStep",
|
|
|
|
"title": "Edit Step"
|
|
|
|
},
|
2020-03-31 08:02:11 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.editTour",
|
|
|
|
"title": "Edit Tour",
|
|
|
|
"category": "CodeTour",
|
|
|
|
"icon": "$(edit)"
|
|
|
|
},
|
2020-03-07 21:37:16 +03:00
|
|
|
{
|
2020-03-07 22:28:12 +03:00
|
|
|
"command": "codetour.endTour",
|
2020-03-08 05:20:04 +03:00
|
|
|
"title": "End Tour",
|
2020-03-16 06:47:19 +03:00
|
|
|
"category": "CodeTour",
|
2020-03-15 01:36:25 +03:00
|
|
|
"icon": "$(debug-stop)"
|
2020-03-07 21:37:16 +03:00
|
|
|
},
|
2020-03-27 01:30:15 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.exportTour",
|
|
|
|
"title": "Export Tour..."
|
|
|
|
},
|
2020-04-01 07:43:28 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.hideMarkers",
|
|
|
|
"title": "Hide Tour Markers",
|
|
|
|
"category": "CodeTour",
|
|
|
|
"icon": "$(eye-closed)"
|
|
|
|
},
|
2020-05-18 10:04:47 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.makeTourPrimary",
|
|
|
|
"title": "Make Primary"
|
|
|
|
},
|
2020-03-14 18:11:19 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.moveTourStepForward",
|
|
|
|
"title": "Move Down",
|
|
|
|
"icon": "$(arrow-down)"
|
|
|
|
},
|
2020-03-31 08:02:11 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.moveTourStepBack",
|
|
|
|
"title": "Move Up",
|
|
|
|
"icon": "$(arrow-up)"
|
|
|
|
},
|
2020-03-07 21:37:16 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.nextTourStep",
|
|
|
|
"title": "Next",
|
|
|
|
"icon": "$(arrow-right)"
|
|
|
|
},
|
2020-03-27 01:30:15 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.openTourFile",
|
|
|
|
"title": "Open Tour File...",
|
|
|
|
"icon": "$(folder-opened)",
|
|
|
|
"category": "CodeTour"
|
|
|
|
},
|
2020-04-11 04:16:18 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.openTourUrl",
|
|
|
|
"title": "Open Tour URL...",
|
|
|
|
"category": "CodeTour"
|
|
|
|
},
|
2020-05-18 04:26:29 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.previewTour",
|
|
|
|
"title": "Preview Tour",
|
|
|
|
"icon": "$(preview)"
|
|
|
|
},
|
2020-03-07 22:28:12 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.previousTourStep",
|
|
|
|
"title": "Previous",
|
|
|
|
"icon": "$(arrow-left)"
|
|
|
|
},
|
2020-03-08 05:20:04 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.recordTour",
|
|
|
|
"title": "Record Tour",
|
2020-03-14 18:12:48 +03:00
|
|
|
"category": "CodeTour",
|
2020-03-08 05:20:04 +03:00
|
|
|
"icon": "$(add)"
|
|
|
|
},
|
2020-03-07 21:37:16 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.resumeTour",
|
2020-03-13 22:08:10 +03:00
|
|
|
"title": "Resume Tour",
|
2020-03-14 18:12:48 +03:00
|
|
|
"category": "CodeTour"
|
2020-03-07 21:37:16 +03:00
|
|
|
},
|
2020-03-08 05:20:04 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.saveTourStep",
|
2020-05-18 04:26:29 +03:00
|
|
|
"title": "Save Step",
|
|
|
|
"enablement": "!commentIsEmpty"
|
2020-03-08 05:20:04 +03:00
|
|
|
},
|
2020-04-01 07:43:28 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.showMarkers",
|
|
|
|
"title": "Show Tour Markers",
|
|
|
|
"category": "CodeTour",
|
|
|
|
"icon": "$(eye)"
|
|
|
|
},
|
2020-03-07 21:37:16 +03:00
|
|
|
{
|
2020-03-07 22:28:12 +03:00
|
|
|
"command": "codetour.startTour",
|
|
|
|
"title": "Start Tour",
|
2020-03-14 18:12:48 +03:00
|
|
|
"category": "CodeTour",
|
2020-03-15 01:36:25 +03:00
|
|
|
"icon": "$(debug-start)"
|
2020-04-15 17:52:31 +03:00
|
|
|
},
|
2020-05-18 10:04:47 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.unmakeTourPrimary",
|
|
|
|
"title": "Unmake Primary"
|
|
|
|
},
|
2020-04-15 17:52:31 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.viewNotebook",
|
|
|
|
"title": "View Notebook",
|
|
|
|
"category": "CodeTour"
|
2020-03-07 21:37:16 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"menus": {
|
|
|
|
"commandPalette": [
|
2020-05-04 08:08:52 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.addContentStep",
|
|
|
|
"when": "codetour:inTour && codetour:recording && codetour:canEditTour"
|
|
|
|
},
|
2020-03-16 06:47:19 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.editTour",
|
2020-03-20 03:38:56 +03:00
|
|
|
"when": "codetour:inTour && !codetour:recording && codetour:canEditTour"
|
2020-03-16 06:47:19 +03:00
|
|
|
},
|
2020-03-13 21:22:17 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.endTour",
|
|
|
|
"when": "codetour:inTour"
|
|
|
|
},
|
2020-04-01 07:43:28 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.hideMarkers",
|
|
|
|
"when": "codetour:hasTours && codetour:showingMarkers"
|
|
|
|
},
|
2020-05-18 04:26:29 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.previewTour",
|
|
|
|
"when": "codetour:inTour && codetour:recording"
|
|
|
|
},
|
2020-03-30 02:52:08 +03:00
|
|
|
{
|
2020-05-24 21:14:19 +03:00
|
|
|
"command": "codetour.recordTour",
|
|
|
|
"when": "workspaceFolderCount != 0"
|
2020-03-30 02:52:08 +03:00
|
|
|
},
|
2020-03-07 22:28:12 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.resumeTour",
|
|
|
|
"when": "codetour:inTour"
|
|
|
|
},
|
2020-04-01 07:43:28 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.showMarkers",
|
|
|
|
"when": "codetour:hasTours && !codetour:showingMarkers"
|
|
|
|
},
|
2020-03-07 21:37:16 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.startTour",
|
|
|
|
"when": "codetour:hasTours"
|
|
|
|
},
|
2020-05-04 08:08:52 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.addDirectoryStep",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2020-03-08 05:20:04 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.addTourStep",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2020-03-15 01:36:25 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.changeTourRef",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2020-05-18 04:26:29 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.changeTourStepTitle",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2020-03-13 19:11:51 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.changeTourTitle",
|
|
|
|
"when": "false"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.changeTourDescription",
|
|
|
|
"when": "false"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.deleteTour",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2020-03-08 05:20:04 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.deleteTourStep",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2020-03-19 20:52:49 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.editTourAtStep",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2020-03-08 05:20:04 +03:00
|
|
|
{
|
2020-05-18 04:26:29 +03:00
|
|
|
"command": "codetour.exportTour",
|
2020-03-08 05:20:04 +03:00
|
|
|
"when": "false"
|
|
|
|
},
|
2020-05-18 10:04:47 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.makeTourPrimary",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2020-03-27 01:30:15 +03:00
|
|
|
{
|
2020-05-18 04:26:29 +03:00
|
|
|
"command": "codetour.nextTourStep",
|
2020-03-27 01:30:15 +03:00
|
|
|
"when": "false"
|
|
|
|
},
|
2020-03-07 21:37:16 +03:00
|
|
|
{
|
2020-05-18 04:26:29 +03:00
|
|
|
"command": "codetour.previewTour",
|
2020-03-07 21:37:16 +03:00
|
|
|
"when": "false"
|
|
|
|
},
|
|
|
|
{
|
2020-03-07 22:28:12 +03:00
|
|
|
"command": "codetour.previousTourStep",
|
2020-03-07 21:37:16 +03:00
|
|
|
"when": "false"
|
2020-03-08 05:20:04 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.saveTourStep",
|
|
|
|
"when": "false"
|
2020-04-15 17:52:31 +03:00
|
|
|
},
|
2020-05-18 10:04:47 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.unmakeTourPrimary",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2020-04-15 17:52:31 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.viewNotebook",
|
|
|
|
"when": "false"
|
2020-03-07 21:37:16 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"comments/commentThread/title": [
|
|
|
|
{
|
|
|
|
"command": "codetour.previousTourStep",
|
|
|
|
"group": "inline@1",
|
|
|
|
"when": "commentController == codetour && commentThread =~ /hasPrevious/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.nextTourStep",
|
|
|
|
"group": "inline@2",
|
|
|
|
"when": "commentController == codetour && commentThread =~ /hasNext/"
|
|
|
|
},
|
2020-03-14 22:31:16 +03:00
|
|
|
{
|
2020-03-15 07:14:44 +03:00
|
|
|
"command": "codetour.endTour",
|
2020-03-07 21:37:16 +03:00
|
|
|
"group": "inline@3",
|
2020-03-15 07:14:44 +03:00
|
|
|
"when": "commentController == codetour"
|
2020-03-08 05:20:04 +03:00
|
|
|
},
|
|
|
|
{
|
2020-03-15 07:14:44 +03:00
|
|
|
"command": "codetour.editTour",
|
2020-03-08 05:20:04 +03:00
|
|
|
"group": "inline@4",
|
2020-03-20 03:38:56 +03:00
|
|
|
"when": "commentController == codetour && !codetour:recording && codetour:canEditTour"
|
2020-05-18 04:26:29 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.previewTour",
|
|
|
|
"group": "inline@4",
|
|
|
|
"when": "commentController == codetour && codetour:recording && !commentThreadIsEmpty"
|
2020-03-07 21:37:16 +03:00
|
|
|
}
|
2020-03-08 05:20:04 +03:00
|
|
|
],
|
|
|
|
"comments/commentThread/context": [
|
|
|
|
{
|
|
|
|
"command": "codetour.addTourStep",
|
|
|
|
"group": "inline",
|
|
|
|
"when": "commentController == codetour && commentThreadIsEmpty"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"comments/comment/title": [
|
2020-03-14 22:31:16 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.moveTourStepBack",
|
|
|
|
"group": "move@1",
|
2020-05-18 04:26:29 +03:00
|
|
|
"when": "commentController == codetour && codetour:canEditTour && commentThread =~ /hasPrevious/"
|
2020-03-14 22:31:16 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.moveTourStepForward",
|
|
|
|
"group": "move@2",
|
2020-05-18 04:26:29 +03:00
|
|
|
"when": "commentController == codetour && && codetour:canEditTour commentThread =~ /hasNext/"
|
2020-03-08 05:20:04 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.deleteTourStep",
|
2020-03-14 22:31:16 +03:00
|
|
|
"group": "mutate@2",
|
2020-05-18 04:26:29 +03:00
|
|
|
"when": "commentController == codetour && codetour:canEditTour"
|
2020-03-08 05:20:04 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"comments/comment/context": [
|
|
|
|
{
|
|
|
|
"command": "codetour.saveTourStep",
|
|
|
|
"group": "inline@2",
|
|
|
|
"when": "commentController == codetour && codetour:recording"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"view/title": [
|
2020-04-01 07:43:28 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.hideMarkers",
|
|
|
|
"when": "view == codetour.tours && codetour:showingMarkers",
|
|
|
|
"group": "navigation@1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.showMarkers",
|
|
|
|
"when": "view == codetour.tours && !codetour:showingMarkers",
|
|
|
|
"group": "navigation@1"
|
|
|
|
},
|
2020-03-27 01:30:15 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.openTourFile",
|
|
|
|
"when": "view == codetour.tours",
|
2020-04-01 07:43:28 +03:00
|
|
|
"group": "navigation@2"
|
2020-03-27 01:30:15 +03:00
|
|
|
},
|
2020-03-08 05:20:04 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.recordTour",
|
|
|
|
"when": "view == codetour.tours",
|
2020-04-01 07:43:28 +03:00
|
|
|
"group": "navigation@3"
|
2020-03-08 05:20:04 +03:00
|
|
|
}
|
2020-03-08 17:06:53 +03:00
|
|
|
],
|
|
|
|
"view/item/context": [
|
2020-03-09 19:01:17 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.endTour",
|
2020-05-18 10:04:47 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tour(.recording)?.active/",
|
2020-03-15 07:14:44 +03:00
|
|
|
"group": "inline@1"
|
2020-03-09 19:01:17 +03:00
|
|
|
},
|
2020-03-08 17:06:53 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.startTour",
|
2020-05-18 10:04:47 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tour(.primary)?$/",
|
|
|
|
"group": "inline@1"
|
2020-03-13 22:08:10 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.resumeTour",
|
2020-05-18 10:04:47 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?.active$/",
|
2020-03-15 07:14:44 +03:00
|
|
|
"group": "active@1"
|
2020-03-13 22:08:10 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.endTour",
|
2020-05-18 10:04:47 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?.active$/",
|
2020-03-15 07:14:44 +03:00
|
|
|
"group": "active@2"
|
2020-03-13 22:08:10 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.startTour",
|
2020-05-18 10:04:47 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tour(.primary)?$/",
|
2020-03-13 19:11:51 +03:00
|
|
|
"group": "basic@1"
|
|
|
|
},
|
2020-03-13 22:08:10 +03:00
|
|
|
{
|
2020-05-18 10:04:47 +03:00
|
|
|
"command": "codetour.makeTourPrimary",
|
2020-03-14 22:31:16 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tour(.recording)?(.active)?$/",
|
2020-05-18 10:04:47 +03:00
|
|
|
"group": "basic@2"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.unmakeTourPrimary",
|
|
|
|
"when": "viewItem =~ /^codetour.tour.primary(.recording)?(.active)?$/",
|
|
|
|
"group": "basic@3"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.changeTourTitle",
|
|
|
|
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?(.active)?$/",
|
2020-03-13 22:08:10 +03:00
|
|
|
"group": "change@1"
|
|
|
|
},
|
2020-03-13 19:11:51 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.changeTourDescription",
|
2020-05-18 10:04:47 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?(.active)?$/",
|
2020-03-13 22:08:10 +03:00
|
|
|
"group": "change@2"
|
2020-03-13 19:11:51 +03:00
|
|
|
},
|
2020-03-15 01:36:25 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.changeTourRef",
|
2020-05-18 10:04:47 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?(.active)?$/ && gitOpenRepositoryCount != 0",
|
2020-03-15 01:36:25 +03:00
|
|
|
"group": "change@3"
|
|
|
|
},
|
2020-03-14 22:31:16 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.editTour",
|
2020-05-18 10:04:47 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tour(.primary)?(.active)?$/",
|
2020-03-14 22:31:16 +03:00
|
|
|
"group": "edit@1"
|
|
|
|
},
|
2020-05-18 04:26:29 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.previewTour",
|
2020-05-18 10:04:47 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tour(.primary)?.recording/",
|
2020-05-18 04:26:29 +03:00
|
|
|
"group": "edit@1"
|
|
|
|
},
|
2020-03-13 19:11:51 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.deleteTour",
|
2020-05-18 10:04:47 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?(.active)?$/",
|
2020-03-14 22:31:16 +03:00
|
|
|
"group": "edit@2"
|
2020-03-13 22:08:10 +03:00
|
|
|
},
|
2020-03-27 01:30:15 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.exportTour",
|
2020-05-18 10:04:47 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tour(.primary)?(.active)?$/",
|
2020-03-27 01:30:15 +03:00
|
|
|
"group": "export@1"
|
|
|
|
},
|
2020-03-14 18:11:19 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.moveTourStepBack",
|
2020-05-18 04:26:29 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tourStep.hasPrevious/",
|
2020-03-14 18:11:19 +03:00
|
|
|
"group": "inline@1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.moveTourStepForward",
|
2020-05-18 04:26:29 +03:00
|
|
|
"when": "viewItem =~ /codetour.tourStep.*(.hasNext)/",
|
2020-03-14 18:11:19 +03:00
|
|
|
"group": "inline@2"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.moveTourStepBack",
|
2020-05-18 04:26:29 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tourStep.hasPrevious/",
|
2020-03-14 18:11:19 +03:00
|
|
|
"group": "basic@1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.moveTourStepForward",
|
2020-05-18 04:26:29 +03:00
|
|
|
"when": "viewItem =~ /codetour.tourStep.*(.hasNext)/",
|
2020-03-14 18:11:19 +03:00
|
|
|
"group": "basic@2"
|
|
|
|
},
|
2020-05-18 04:26:29 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.changeTourStepTitle",
|
|
|
|
"when": "viewItem =~ /^codetour.tourStep/",
|
|
|
|
"group": "change@1"
|
|
|
|
},
|
2020-03-19 20:52:49 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.editTourAtStep",
|
|
|
|
"when": "viewItem =~ /^codetour.tourStep/ && !codetour:recording",
|
|
|
|
"group": "manage@1"
|
|
|
|
},
|
2020-03-13 22:08:10 +03:00
|
|
|
{
|
|
|
|
"command": "codetour.deleteTourStep",
|
2020-03-14 22:31:16 +03:00
|
|
|
"when": "viewItem =~ /^codetour.tourStep/",
|
2020-03-19 20:52:49 +03:00
|
|
|
"group": "manage@2"
|
2020-03-08 17:06:53 +03:00
|
|
|
}
|
2020-05-04 08:08:52 +03:00
|
|
|
],
|
|
|
|
"explorer/context": [
|
|
|
|
{
|
|
|
|
"command": "codetour.addDirectoryStep",
|
|
|
|
"when": "codetour:recording && explorerResourceIsFolder"
|
|
|
|
}
|
2020-03-07 21:37:16 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"views": {
|
|
|
|
"explorer": [
|
|
|
|
{
|
|
|
|
"id": "codetour.tours",
|
2020-03-30 02:52:08 +03:00
|
|
|
"name": "CodeTour",
|
|
|
|
"when": "codetour:hasTours || codetour:inTour"
|
2020-03-07 21:37:16 +03:00
|
|
|
}
|
|
|
|
]
|
2020-03-07 21:59:01 +03:00
|
|
|
},
|
|
|
|
"jsonValidation": [
|
|
|
|
{
|
2020-04-15 17:52:31 +03:00
|
|
|
"fileMatch": "*.tour",
|
2020-03-07 21:59:01 +03:00
|
|
|
"url": "https://cdn.jsdelivr.net/gh/vsls-contrib/code-tour/schema.json"
|
|
|
|
}
|
2020-03-08 21:25:39 +03:00
|
|
|
],
|
|
|
|
"keybindings": [
|
|
|
|
{
|
|
|
|
"command": "codetour.previousTourStep",
|
|
|
|
"when": "codetour:inTour && !textInputFocus && !terminalFocus",
|
|
|
|
"key": "ctrl+left",
|
|
|
|
"mac": "cmd+left"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "codetour.nextTourStep",
|
|
|
|
"when": "codetour:inTour && !textInputFocus && !terminalFocus",
|
|
|
|
"key": "ctrl+right",
|
|
|
|
"mac": "cmd+right"
|
|
|
|
}
|
2020-04-15 17:52:31 +03:00
|
|
|
],
|
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "json",
|
|
|
|
"extensions": [
|
|
|
|
".tour"
|
|
|
|
],
|
|
|
|
"aliases": [
|
|
|
|
"CodeTour"
|
|
|
|
]
|
|
|
|
}
|
2020-03-07 21:59:01 +03:00
|
|
|
]
|
2020-03-07 21:37:16 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-04-11 04:16:18 +03:00
|
|
|
"axios": "^0.19.2",
|
2020-03-07 21:37:16 +03:00
|
|
|
"mobx": "^5.14.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-04-03 17:52:50 +03:00
|
|
|
"@types/node": "^8.10.25",
|
2020-05-22 20:12:21 +03:00
|
|
|
"ts-loader": "^7.0.4",
|
2020-03-07 21:37:16 +03:00
|
|
|
"tslint": "^5.8.0",
|
2020-04-03 17:52:50 +03:00
|
|
|
"typescript": "^3.1.4",
|
|
|
|
"vsce": "^1.75.0",
|
2020-05-22 20:12:21 +03:00
|
|
|
"vscode": "^1.1.25",
|
|
|
|
"webpack": "^4.43.0",
|
2020-05-23 00:10:38 +03:00
|
|
|
"webpack-cli": "^3.3.11",
|
|
|
|
"webpack-merge": "^4.2.2"
|
2020-03-07 21:37:16 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-05-22 20:12:21 +03:00
|
|
|
"build": "webpack --config webpack.config.js",
|
2020-05-23 00:10:38 +03:00
|
|
|
"build:web": "webpack --config webpack.web.js",
|
2020-05-22 20:12:21 +03:00
|
|
|
"vscode:prepublish": "npm run build",
|
2020-03-07 21:37:16 +03:00
|
|
|
"compile": "tsc -p ./",
|
|
|
|
"watch": "tsc -watch -p ./",
|
2020-04-03 17:52:50 +03:00
|
|
|
"postinstall": "node ./node_modules/vscode/bin/install",
|
|
|
|
"package": "vsce package"
|
2020-04-06 00:22:14 +03:00
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"arrowParens": "avoid",
|
|
|
|
"trailingComma": "none"
|
2020-04-19 23:48:56 +03:00
|
|
|
}
|
2020-04-06 00:22:14 +03:00
|
|
|
}
|