0.3.101529329103 • Published 6 years ago
@wiptheia/cpp v0.3.101529329103
Theia - Cpp Extension
This extension uses Clangd to provide LSP features.
To install Clangd on Ubuntu 16.04:
$ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
$ sudo echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" > /etc/apt/sources.list.d/llvm.list
$ sudo apt-get update && sudo apt-get install -y clang-tools-7
$ sudo ln -s /usr/bin/clangd-7 /usr/bin/clangd
See here for detailed installation instructions.
To get accurate diagnostics, it helps to...
- ... have the build system of the C/C++ project generate a
compile_commands.json
file and... - ... point Clangd to the build directory containing said
compile_commands.json
.
#2 can be done using the cpp.buildConfigurations
preference. In your home
or your project .theia/settings.json
, define one or more build
configurations:
{
"cpp.buildConfigurations": [{
"name": "Release",
"directory": "/path/to/my/release/build"
},{
"name": "Debug",
"directory": "/path/to/my/debug/build"
}]
}
You can then select an active configuration using the
C/C++: Change Build Configuration
command from the command palette.
License
0.3.101529329103
6 years ago
0.3.101529316316
6 years ago
0.3.101528895082
6 years ago
0.3.101528878795
6 years ago
0.3.101528708905
6 years ago
0.3.101528377761
6 years ago
0.3.101528290741
6 years ago
0.3.101528281264
6 years ago
0.3.101528129305
6 years ago
0.3.101527835504
6 years ago
0.3.101527832848
6 years ago
0.3.101527753241
6 years ago
0.3.101527588686
6 years ago
0.3.101527586002
6 years ago
0.3.101527002539
6 years ago
0.3.101526987926
6 years ago
0.3.101526566172
6 years ago
0.3.101526551125
6 years ago
0.3.101526482398
6 years ago
0.3.101526459551
6 years ago
0.3.101526392268
6 years ago
0.3.101526308334
6 years ago
0.3.101525848197
6 years ago
0.3.10-1525791437
6 years ago
0.3.10-1525707650
6 years ago
0.3.10-1525704775
6 years ago
0.3.10-1525702354
6 years ago