You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cc0f28e
Browse filesBrowse the repository at this point in the historyBrowse files
0.1.1: mcppls found as the command that starts it; CLion over mcppls 0.0.19's per-system packages; the editor plugins under mide-plugins/, with mcpp-nvim (#2)
| Build, run, test | Tasks in a pseudoterminal showing mcpp's output | "mcpp" run configurations, PTY console, ▶ beside `main`|`:Mcpp build`, `test`: jobs streamed into a buffer; `:Mcpp run` in a terminal buffer |
29
+
| Test tree, re-run one test | Testing view | IDE test runner |`:Mcpp test <filter>`|
| Diagnostics | Problems, from mcpp's located diagnostics | Console links to the reported location |`vim.diagnostic`, `:Mcpp problems` in the quickfix list |
32
+
| mcpp.toml | Problems from mcpp; completion, hover, outline from mcpp's key registry | Problems from mcpp | Problems from mcpp |
33
+
| Targets and platforms, libraries, graphs, cache, pack, settings | Shared web panels | The same panels (JCEF) | Text in floating windows, `vim.ui.select`; settings in `setup()`|
34
+
| Language features | mcppls (installed with the extension) | mcppls CLion plugin (a dependency) | mcppls-nvim (`xlings install mcppls-nvim`) |
33
35
34
36
-**One answer everywhere** -- what a build runs, how a test is reported, what a cleanup costs: the backend's
35
37
-**Only mcpp's contract** -- no manifest parsing, no dependency resolution of its own
@@ -43,8 +45,8 @@ UI and share one set of web panels. Language features of C++ files come from
43
45
44
46
```
45
47
Read agents/README.md of https://github.com/mcpp-community/mcpp-ide, then install mcpp-ide for
46
-
the editor I use (VS Codeor CLion) from its latest release, and check it with `mcpp-ide self-check`
47
-
on my mcpp project.
48
+
the editor I use (VS Code, CLion or Neovim) from its latest release, and check it with
49
+
`mcpp-ide self-check` on my mcpp project.
48
50
```
49
51
50
52
### From a release
@@ -53,21 +55,24 @@ on my mcpp project.
53
55
|---|---|---|
54
56
| VS Code | the Marketplace (`mcpp-community.mcpp-vscode`), or `mcpp-vscode-<version>.vsix`| search *mcpp*, or `code --install-extension mcpp-vscode-<version>.vsix`|
55
57
| VS Code-compatible editors | Open VSX, or the `.vsix`| install the `.vsix` from the extensions view |
56
-
| CLion 2025.2+ | JetBrains Marketplace (`mcpp-clion`), or `mcpp-clion-<version>.zip`| Settings → Plugins → Install Plugin from Disk; the mcppls CLion plugin first |
58
+
| CLion 2026.1+ | JetBrains Marketplace (`mcpp-clion`), or `mcpp-clion-<version>.zip`| Settings → Plugins → Install Plugin from Disk; the mcppls CLion plugin (its package for this system carries the server) first |
59
+
| Neovim 0.10+ |`mide-plugins/nvim` of the release's source tree |`xlings install mcpp-ide-nvim` (the backend with it, set up at start); or the directory on the runtimepath and `require('mcpp').setup()` ([its README](mide-plugins/nvim/README.md)) |
57
60
| Agents, other clients |`mcpp-ide-<version>-openkal.tar.gz` (both images; okrun for Linux x64/arm64, macOS arm64, Windows x64), `mcpp-ide-<version>.okb` with okrun, or `xlings install mcpp-ide`| run `bin/mcpp-ide serve` (`bin\mcpp-ide.cmd` on Windows), or `okrun mcpp-ide-<version>.okb serve`|
58
61
59
62
Each editor package serves every system: it carries the backend as one ok-image bundle
60
63
(`backend/mcpp-ide.okb`, the x86_64 and aarch64 images on openkal-platform 0.17.3) and okrun for
61
-
Linux x64/arm64, macOS arm64 and Windows x64.
64
+
Linux x64/arm64, macOS arm64 and Windows x64. The Neovim plugin carries none: it starts the
65
+
`mcpp-ide` command xlings installs (okrun on the same bundle).
62
66
63
67
### From source
64
68
65
69
```bash
66
-
mcpp build # the backend, the mock mcpp, mcpp-ide-dev
67
-
mcpp test# the backend's tests
68
-
cd vscode && npm ci && npm test# the extension's and the panels' tests
69
-
npm run package # dist/mcpp-vscode-<version>.vsix
70
-
cd ../jetbrains && gradle buildPlugin verifyPlugin # build/distributions/mcpp-clion-<version>.zip
70
+
mcpp build # the backend, the mock mcpp, mcpp-ide-dev
71
+
mcpp test# the backend's tests
72
+
cd mide-plugins/vscode && npm ci && npm test# the extension's and the panels' tests
73
+
npm run package # dist/mcpp-vscode-<version>.vsix
74
+
cd ../clion && gradle buildPlugin verifyPlugin # build/distributions/mcpp-clion-<version>.zip
75
+
cd ../.. && nvim --headless --clean -l mide-plugins/nvim/tests/smoke.lua # the Neovim plugin's tests
71
76
```
72
77
73
78
`xlings install gradle` brings Gradle and its JDK.
0 commit comments