Skip to content

Commit 6f804b7

Browse files
committed
WIP: clangd improvements
1 parent 7e36aa9 commit 6f804b7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/examples/clangd.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<body>
1212
<h2>Cpp Language Client & Clangd Language Server (Worker/Wasm)</h2>
13+
This example has been derived from: <a href="https://github.com/guyutongxue/clangd-in-browser">clangd-in-browser</a><br>
1314
<button type="button" id="button-start">Start</button>
1415
<button type="button" id="button-dispose">Dispose</button>
1516
<div id="monaco-editor-root" style="width:800px;height:600px;border:1px solid grey"></div>
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
#include <print>
1+
#include <iostream>
2+
using namespace std;
3+
24
#include "tester.h"
35

46
int main() {
5-
std::println("Hello, {}!", "world");
7+
cout << "Hello World!";
8+
return 0;
69
}

0 commit comments

Comments
 (0)