Skip to content

Commit 4eb1690

Browse files
committed
getting react server to show
1 parent 8b1dbb3 commit 4eb1690

7 files changed

Lines changed: 2650 additions & 1202 deletions

File tree

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"request": "launch",
1212
"args": [
1313
"${workspaceFolder}/examples/sushi",
14-
"--extensionDevelopmentPath=${workspaceFolder}/vscode",
14+
"--extensionDevelopmentPath=${workspaceFolder}/vscode/extension",
1515
],
1616
"outFiles": [
17-
"${workspaceFolder}/dist/**/*.js"
17+
"${workspaceFolder}/vscode/extension/dist/**/*.js"
1818
],
1919
"preLaunchTask": "${defaultBuildTask}"
2020
}

.vscode/settings.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
// Place your settings in this file to overwrite default and user settings.
22
{
33
"files.exclude": {
4-
"vscode/out": false, // set this to true to hide the "out" folder with the compiled JS files
5-
"vscode/dist": false // set this to true to hide the "dist" folder with the compiled JS files
4+
"vscode/extension/out": false, // set this to true to hide the "out" folder with the compiled JS files
5+
"vscode/extension/dist": false, // set this to true to hide the "dist" folder with the compiled JS files
6+
"vscode/react/node_modules": false,
7+
"vscode/react/dist": false
68
},
79
"search.exclude": {
8-
"vscode/out": true, // set this to false to include "out" folder in search results
9-
"vscode/dist": true // set this to false to include "dist" folder in search results
10+
"vscode/extension/out": true, // set this to false to include "out" folder in search results
11+
"vscode/extension/dist": true, // set this to false to include "dist" folder in search results
12+
"vscode/react/node_modules": true,
13+
"vscode/react/dist": true
1014
},
1115
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
1216
"typescript.tsc.autoDetect": "off"

.vscode/tasks.json

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"version": "2.0.0",
55
"tasks": [
66
{
7+
"label": "extension-watch",
78
"type": "npm",
89
"script": "watch",
910
"problemMatcher": "$ts-webpack-watch",
@@ -14,12 +15,51 @@
1415
},
1516
"group": {
1617
"kind": "build",
17-
"isDefault": true
1818
},
1919
"options": {
20-
"cwd": "${workspaceFolder}/vscode"
20+
"cwd": "${workspaceFolder}/vscode/extension"
21+
},
22+
"dependsOn": [
23+
"react-dev"
24+
],
25+
"dependsOrder": "parallel"
26+
},
27+
{
28+
"label": "react-dev",
29+
"script": "dev",
30+
"type": "npm",
31+
"options": {
32+
"cwd": "${workspaceFolder}/vscode/react"
33+
},
34+
"group": {
35+
"kind": "build",
36+
},
37+
"isBackground": true,
38+
"problemMatcher": {
39+
"owner": "npm",
40+
"pattern": {
41+
"regexp": "."
42+
},
43+
"background": {
44+
"activeOnStart": true,
45+
"beginsPattern": ".",
46+
"endsPattern": "."
47+
}
48+
},
49+
"presentation": {
50+
"reveal": "never",
51+
"group": "watchers"
2152
}
2253
},
54+
{
55+
"label": "extension-watch-develop",
56+
"group": {
57+
"kind": "build",
58+
"isDefault": true
59+
},
60+
"dependsOn": ["react-dev", "extension-watch"],
61+
"dependsOrder": "parallel",
62+
},
2363
{
2464
"type": "npm",
2565
"script": "watch-tests",

0 commit comments

Comments
 (0)