Skip to content

Commit 3ce82ac

Browse files
authored
@clangd/install: Install/update flows for clangd binary releases. (#1)
@clangd/install: Install/update flows for clangd binary releases. This module performs two basic actions: - install latest clangd binary release from github - check whether the latest binary release is newer than the installed one There are lots of interesting cases and failure modes to deal with in the various user-facing flows. The most complicated and important flow is the one that runs on startup: - check if clangd is installed and configured - offer to install it if not - check for updates if so In order to share this logic, and to test it, interactions with the editor ui and configuration are abstracted into a UI class which will be implemented in vscode-clangd, coc-clangd, and is faked for the test. (I have a prototype version of this working for both editors).
1 parent f8ee52a commit 3ce82ac

File tree

13 files changed

+2198
-0
lines changed

13 files changed

+2198
-0
lines changed

.clang-format

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
BasedOnStyle: LLVM
2+
# Objects like {a: 0}, not { a : 0 }.
3+
SpacesInContainerLiterals: false
4+
JavaScriptQuotes: Single

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
out/
3+

0 commit comments

Comments
 (0)