|
1 | 1 | <!doctype html> |
2 | 2 | <html> |
3 | | - <head> |
4 | | - <meta charset="UTF-8" /> |
5 | | - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | | - <title>monaco-languageclient Examples</title> |
7 | | - <link rel="stylesheet" href="packages/examples/style.css" /> |
8 | | - </head> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 6 | + <title>monaco-languageclient Examples</title> |
| 7 | + <link rel="stylesheet" href="packages/examples/style.css" /> |
| 8 | + </head> |
9 | 9 |
|
10 | | - <body> |
11 | | - <div style="padding: 5px"> |
12 | | - <h2>Examples</h2> |
| 10 | + <body> |
| 11 | + <div style="padding: 5px"> |
| 12 | + <h2>Examples</h2> |
13 | 13 |
|
14 | | - Please run <b><code>npm run build</code></b> first. |
| 14 | + Please run <b><code>npm run build</code></b> first. |
15 | 15 |
|
16 | | - <h3>Langium</h3> |
| 16 | + <h3>Langium</h3> |
17 | 17 |
|
18 | | - Langium Grammar DSL (Language Server in Worker): [ <a href="./packages/examples/langium_extended.html">Example Page</a> ] |
19 | | - <br /> |
20 | | - Langium Statemachine (Language Server in Worker): [ <a href="./packages/examples/statemachine.html">Example Page</a> | |
21 | | - <a href="./packages/examples/react_statemachine.html">React Example Page</a> ] |
22 | | - <br /> |
23 | | - -> Localized Versions: [ |
24 | | - <a href="./packages/examples/statemachine.html?locale=cs">cs</a> - |
25 | | - <a href="./packages/examples/statemachine.html?locale=de">de</a> - |
26 | | - <a href="./packages/examples/statemachine.html?locale=es">es</a> - |
27 | | - <a href="./packages/examples/statemachine.html?locale=fr">fr</a> - |
28 | | - <a href="./packages/examples/statemachine.html?locale=it">it</a> - |
29 | | - <a href="./packages/examples/statemachine.html?locale=ja">ja</a> - |
30 | | - <a href="./packages/examples/statemachine.html?locale=ko">ko</a> - |
31 | | - <a href="./packages/examples/statemachine.html?locale=pl">pl</a> - |
32 | | - <a href="./packages/examples/statemachine.html?locale=pt-br">pt-br</a> - |
33 | | - <a href="./packages/examples/statemachine.html?locale=qps-ploc">qps-ploc</a> - |
34 | | - <a href="./packages/examples/statemachine.html?locale=ru">ru</a> - |
35 | | - <a href="./packages/examples/statemachine.html?locale=tr">tr</a> - |
36 | | - <a href="./packages/examples/statemachine.html?locale=zh-hans">zh-hans</a> - |
37 | | - <a href="./packages/examples/statemachine.html?locale=zh-hant">zh-hant</a> ] |
| 18 | + Langium Grammar DSL (Language Server in Worker): [ <a href="./packages/examples/langium_extended.html">Example Page</a> ] |
| 19 | + <br /> |
| 20 | + Langium Statemachine (Language Server in Worker): [ <a href="./packages/examples/statemachine.html">Example Page</a> | |
| 21 | + <a href="./packages/examples/react_statemachine.html">React Example Page</a> ] |
| 22 | + <br /> |
| 23 | + -> Localized Versions: [ |
| 24 | + <a href="./packages/examples/statemachine.html?locale=cs">cs</a> - <a href="./packages/examples/statemachine.html?locale=de">de</a> - |
| 25 | + <a href="./packages/examples/statemachine.html?locale=es">es</a> - <a href="./packages/examples/statemachine.html?locale=fr">fr</a> - |
| 26 | + <a href="./packages/examples/statemachine.html?locale=it">it</a> - <a href="./packages/examples/statemachine.html?locale=ja">ja</a> - |
| 27 | + <a href="./packages/examples/statemachine.html?locale=ko">ko</a> - <a href="./packages/examples/statemachine.html?locale=pl">pl</a> - |
| 28 | + <a href="./packages/examples/statemachine.html?locale=pt-br">pt-br</a> - |
| 29 | + <a href="./packages/examples/statemachine.html?locale=qps-ploc">qps-ploc</a> - |
| 30 | + <a href="./packages/examples/statemachine.html?locale=ru">ru</a> - <a href="./packages/examples/statemachine.html?locale=tr">tr</a> - |
| 31 | + <a href="./packages/examples/statemachine.html?locale=zh-hans">zh-hans</a> - |
| 32 | + <a href="./packages/examples/statemachine.html?locale=zh-hant">zh-hant</a> ] |
38 | 33 |
|
39 | | - <h3>JSON</h3> |
| 34 | + <h3>JSON</h3> |
40 | 35 |
|
41 | | - Beforehand, start Language Server with: <b><code>npm run start:example:server:json</code></b> |
42 | | - <br /> |
43 | | - Extended (Language Server via Web Socket): [ <a href="./packages/examples/json.html">Example Page</a> ] |
44 | | - <br /> |
45 | | - Classic (Language Server via Web Socket): [ <a href="./packages/examples/json_classic.html">Example Page</a> ] |
46 | | - <br /> |
47 | | - Pure Browser Implementation: [ <a href="./packages/examples/browser.html">Example Page</a> ] |
| 36 | + Beforehand, start Language Server with: <b><code>npm run start:example:server:json</code></b> |
| 37 | + <br /> |
| 38 | + Extended (Language Server via Web Socket): [ <a href="./packages/examples/json.html">Example Page</a> ] |
| 39 | + <br /> |
| 40 | + Classic (Language Server via Web Socket): [ <a href="./packages/examples/json_classic.html">Example Page</a> ] |
| 41 | + <br /> |
| 42 | + Pure Browser Implementation: [ <a href="./packages/examples/browser.html">Example Page</a> ] |
48 | 43 |
|
49 | | - <h3>Python</h3> |
50 | | - Beforehand, start Language Server with: <b><code>npm run start:example:server:python</code></b |
51 | | - ><br /> |
52 | | - Debugger runs in container. Beforehand, start it with: |
53 | | - <b><code>docker compose -f ./packages/examples/resources/debugger/docker-compose.yml up -d</code></b |
54 | | - ><br /> |
55 | | - Python (Language Server via Web Socket): [ <a href="./packages/examples/python.html">Example Page</a> | |
56 | | - <a href="./packages/examples/react_python.html">React Example Page</a> ] |
| 44 | + <h3>Python</h3> |
| 45 | + Beforehand, start Language Server with: <b><code>npm run start:example:server:python</code></b |
| 46 | + ><br /> |
| 47 | + Debugger runs in container. Beforehand, start it with: |
| 48 | + <b><code>docker compose -f ./packages/examples/resources/debugger/docker-compose.yml up -d</code></b |
| 49 | + ><br /> |
| 50 | + Python (Language Server via Web Socket): [ <a href="./packages/examples/python.html">Example Page</a> | |
| 51 | + <a href="./packages/examples/react_python.html">React Example Page</a> ] |
57 | 52 |
|
58 | | - <h3>Java / Eclipse JDT LS</h3> |
59 | | - Language Server runs in container. Beforehand, start it with: |
60 | | - <b><code>docker compose -f ./packages/examples/resources/eclipse.jdt.ls/docker-compose.yml up -d</code></b |
61 | | - ><br /> |
62 | | - Java (Language Server via Web Socket): [ <a href="./packages/examples/eclipse.jdt.ls.html">Example Page</a> ] |
| 53 | + <h3>Java / Eclipse JDT LS</h3> |
| 54 | + Language Server runs in container. Beforehand, start it with: |
| 55 | + <b><code>docker compose -f ./packages/examples/resources/eclipse.jdt.ls/docker-compose.yml up -d</code></b |
| 56 | + ><br /> |
| 57 | + Java (Language Server via Web Socket): [ <a href="./packages/examples/eclipse.jdt.ls.html">Example Page</a> ] |
63 | 58 |
|
64 | | - <h3>Groovy</h3> |
65 | | - Language Server runs in container. Beforehand, start it with: |
66 | | - <b><code>docker compose -f ./packages/examples/resources/groovy/docker-compose.yml up -d</code></b |
67 | | - ><br /> |
68 | | - Groovy (Language Server via Web Socket): [ <a href="./packages/examples/groovy.html">Example Page</a> ] |
| 59 | + <h3>Groovy</h3> |
| 60 | + Language Server runs in container. Beforehand, start it with: |
| 61 | + <b><code>docker compose -f ./packages/examples/resources/groovy/docker-compose.yml up -d</code></b |
| 62 | + ><br /> |
| 63 | + Groovy (Language Server via Web Socket): [ <a href="./packages/examples/groovy.html">Example Page</a> ] |
69 | 64 |
|
70 | | - <h3>Cpp / Clangd</h3> |
71 | | - Cpp (Language Server in Worker/Wasm): [ <a href="./packages/examples/clangd.html">Example Page</a> ] |
| 65 | + <h3>Cpp / Clangd</h3> |
| 66 | + Cpp (Language Server in Worker/Wasm): [ <a href="./packages/examples/clangd.html">Example Page</a> ] |
72 | 67 |
|
73 | | - <h3>Multi-Language Client</h3> |
74 | | - Json & Python Language Clients App: [ <a href="./packages/examples/two_langauge_clients.html">Example Page</a> ] (Requires Json |
75 | | - and Python Language Servers, see above) |
76 | | - <h3>Application Playground</h3> |
77 | | - Application Playground (incl. Open Collaboration Tools): [ <a href="./packages/examples/appPlayground.html">Example Page</a> | |
78 | | - <a href="./packages/examples/react_appPlayground.html">React Example Page</a> ] |
79 | | - <h3>TypeScript</h3> |
80 | | - TypeScript Extension Host Worker: [ <a href="./packages/examples/tsExtHost.html">Example Page</a> ] |
| 68 | + <h3>Multi-Language Client</h3> |
| 69 | + Json & Python Language Clients App: [ <a href="./packages/examples/two_langauge_clients.html">Example Page</a> ] (Requires Json and |
| 70 | + Python Language Servers, see above) |
| 71 | + <h3>Application Playground</h3> |
| 72 | + Application Playground (incl. Open Collaboration Tools): [ <a href="./packages/examples/appPlayground.html">Example Page</a> | |
| 73 | + <a href="./packages/examples/react_appPlayground.html">React Example Page</a> ] |
| 74 | + <h3>TypeScript</h3> |
| 75 | + TypeScript Extension Host Worker: [ <a href="./packages/examples/tsExtHost.html">Example Page</a> ] |
81 | 76 |
|
82 | | - <h2>Tools & Framework Verification Examples</h2> |
83 | | - <h3>Vite</h3> |
84 | | - Beforehand, start: <b><code>cd verify/vite && npm run verify</code></b |
85 | | - ><br /> |
86 | | - JSON example (vite build): [ <a href="http://localhost:8081">Example Page</a> ] |
87 | | - <h3>Webpack</h3> |
88 | | - Beforehand, start: <b><code>cd verify/webpack && npm run verify</code></b |
89 | | - ><br /> |
90 | | - JSON example (webpack build): [ <a href="http://localhost:8082">Example Page</a> ] |
91 | | - <h3>Next.js</h3> |
92 | | - Beforehand, start: <b><code>cd verify/next && npm run verify</code></b |
93 | | - ><br /> |
94 | | - Langium DSL example (Next.js Dev Server): [ <a href="http://localhost:8083">Example Page</a> ] |
95 | | - <h3>Angular</h3> |
96 | | - Beforehand, start: <b><code>cd verify/angular && npm run verify</code></b |
97 | | - ><br /> |
98 | | - JSON example (Angular/vite build): [ <a href="http://localhost:8084">Example Page</a> ] |
99 | | - </div> |
100 | | - </body> |
| 77 | + <h2>Tools & Framework Verification Examples</h2> |
| 78 | + <h3>Vite</h3> |
| 79 | + Beforehand, start: <b><code>cd verify/vite && npm run verify</code></b |
| 80 | + ><br /> |
| 81 | + JSON example (vite build): [ <a href="http://localhost:8081">Example Page</a> ] |
| 82 | + <h3>Webpack</h3> |
| 83 | + Beforehand, start: <b><code>cd verify/webpack && npm run verify</code></b |
| 84 | + ><br /> |
| 85 | + JSON example (webpack build): [ <a href="http://localhost:8082">Example Page</a> ] |
| 86 | + <h3>Next.js</h3> |
| 87 | + Beforehand, start: <b><code>cd verify/next && npm run verify</code></b |
| 88 | + ><br /> |
| 89 | + Langium DSL example (Next.js Dev Server): [ <a href="http://localhost:8083">Example Page</a> ] |
| 90 | + <h3>Angular</h3> |
| 91 | + Beforehand, start: <b><code>cd verify/angular && npm run verify</code></b |
| 92 | + ><br /> |
| 93 | + JSON example (Angular/vite build): [ <a href="http://localhost:8084">Example Page</a> ] |
| 94 | + </div> |
| 95 | + </body> |
101 | 96 | </html> |
0 commit comments