Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "CDT/User/NewIn910"

< CDT
(Created page with "<!-- Format for an entry: ---- {| style="width: 100%;" |- style="vertical-align:top;" ! style="width: 30%; text-align:left;" | short title here | Full description - perhaps...")
 
Line 54: Line 54:
 
! style="width: 30%; text-align:left;" | New language settings provider: Compilation Database Parser
 
! style="width: 30%; text-align:left;" | New language settings provider: Compilation Database Parser
 
|
 
|
For managed build projects, it is now possible to specify the path to a compile_commands.json and reuses existing build output parsers (GCC, MSVC) to detect all the language entries for each file (macros, includes, etc).
+
For managed build projects, it is now possible to specify the path to a [https://clang.llvm.org/docs/JSONCompilationDatabase.html compile_commands.json] and reuses existing build output parsers (GCC, MSVC) to detect all the language entries for each file (macros, includes, etc).
With this, there is no need to do a full build and in fact no need to have a working build configured in CDT for indexing to work and be fully configured.  See [https://bugs.eclipse.org/bugs/show_bug.cgi?id=547967 Bug 547967].
+
With this, there is no need to do a full build and in fact no need to have a working build configured in CDT for indexing to work and be fully configured.  See [https://bugs.eclipse.org/bugs/show_bug.cgi?id=548730 Bug 548730].
  
 
[[File:Compilation Database Parser.png]]
 
[[File:Compilation Database Parser.png]]
 +
 +
Note that for CMake projects (Core build) compilation database parsing is already done automatically. The new parser aims to give more flexibility for other project types.
 
|}
 
|}
 
----
 
----

Revision as of 00:13, 26 October 2019


Release


This is the New & Noteworthy page for CDT 9.10 which is part of Eclipse 2019-12 Simultaneous Release





Build


New language settings provider: Compilation Database Parser

For managed build projects, it is now possible to specify the path to a compile_commands.json and reuses existing build output parsers (GCC, MSVC) to detect all the language entries for each file (macros, includes, etc). With this, there is no need to do a full build and in fact no need to have a working build configured in CDT for indexing to work and be fully configured. See Bug 548730.

Compilation Database Parser.png

Note that for CMake projects (Core build) compilation database parsing is already done automatically. The new parser aims to give more flexibility for other project types.




Bugs Fixed in this Release


See Bugzilla report Bugs Fixed in CDT 9.10


Back to the top