@@ -8,30 +8,31 @@ These features are currently implemented:
8
8
* Code completion
9
9
* Linting and Diagnostics
10
10
* File Outline (Classes, Functions, Includes)
11
+ * Jump to Definition / Declaration
11
12
12
13
These features are planned:
13
14
14
- * Jump to Definition / Declaration
15
- * Full Clang-AST to JS converter (including documentation blocks)
16
- * Type under cursor
17
15
* auto / typename / decltype Type resolution under cursor
18
- * Better Icons
16
+ * better icons
19
17
20
18
Code completion and linting are implemented using clang's libclang-c bindings.
21
19
The initial parse of each translation unit (.c, .h) can take up to one second,
22
20
depending on the number and complexity of additional files to parse.
23
21
24
22
Time for subsequent parses is greatly improved due to the build-in cache.
25
23
26
- ![ Image] ( https://raw.github.com/invokr/c9.ide.language.cpp/master/screenshot.png )
27
-
28
24
Requirements
29
25
------------
30
26
31
27
* libclang, libllvm
32
28
* clang_tool (npm)
33
29
* Linux, FreeBSD, OS X (untested but should work in theory)
34
30
31
+ Run with Docker (recommended)
32
+ -----------------------------
33
+
34
+ There is a docker image available on the [ hub] ( https://hub.docker.com/r/invokr/cloud9-cpp/ ) .
35
+
35
36
Installation on a local c9v3 instance
36
37
-------------------------------------
37
38
@@ -47,13 +48,18 @@ Installation on a local c9v3 instance
47
48
48
49
The following packages are necessary for debian jessie: ` llvm-3.5 ` , ` clang-3.5 ` , ` libclang-3.5-dev `
49
50
51
+ There seem to be a couple of version conflicts with the native clang module that I haven't quite figured out.
52
+ The docker image uses nodejs v0.12 to build clang_tool and run c9 which seems to be working for now.
53
+
50
54
Installation on c9.io
51
55
---------------------
52
56
57
+ * Running the plugin on c9.io is broken at the moment.*
58
+
53
59
Run the following in ` ~ ` (via the c9 terminal):
54
60
55
61
# Install native dependencies
56
- sudo apt-get install llvm-3.5 llvm-3.5-dev lvm -3.5-runtime libclang-3.5-dev libclang1-3.5 clang-format-3.5
62
+ sudo apt-get install llvm-3.5 llvm-3.5-dev llvm -3.5-runtime libclang-3.5-dev libclang1-3.5 clang-format-3.5
57
63
58
64
# Install clang_tool
59
65
npm install clang_tool
@@ -68,3 +74,13 @@ License
68
74
-------
69
75
70
76
c9.ide.language.cpp is licensed under the MIT
77
+
78
+ Contributers
79
+ ------------
80
+
81
+ Wind River ([ Uwe Stieber] ( https://github.com/ustieber ) and [ aleherb] ( https://github.com/aleherb ) )
82
+
83
+ Screenshot
84
+ ----------
85
+
86
+ ![ Image] ( https://raw.github.com/invokr/c9.ide.language.cpp/master/screenshot.png )
0 commit comments