Skip to content

Commit 2843ca9

Browse files
committed
WIP: clangd improvements
- new example: socket.io for file protocol to non worker target - define file system endpoints - clangd LS uses message port for communication - Use wtm new ComChannelEndpoints for handling async communication of message channels or workers - worker transfers files to client via message channel - clangd example: list open files below editor
1 parent 9219c3e commit 2843ca9

27 files changed

+7657
-245
lines changed

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ <h2>Monaco Editor React</h2>
7474
<h3>monaco-editor related examples</h3>
7575
<a href="./packages/examples/ts.html">Monaco Editor Wrapper TypeScript Example</a>
7676
<br>
77+
<a href="./packages/examples/files.html">Files Testbed</a>
7778

7879
<h2>Verification</h2>
7980
<h3>Angular</h2>

package-lock.json

Lines changed: 250 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/client/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
"./vscode/services": {
3232
"types": "./lib/vscode/index.d.ts",
3333
"default": "./lib/vscode/index.js"
34+
},
35+
"./fs": {
36+
"types": "./lib/fs/index.d.ts",
37+
"default": "./lib/fs/index.js"
3438
}
3539
},
3640
"typesVersions": {
@@ -43,6 +47,9 @@
4347
],
4448
"vscode/services": [
4549
"lib/vscode/index"
50+
],
51+
"fs": [
52+
"lib/fs/index"
4653
]
4754
}
4855
},

0 commit comments

Comments
 (0)