logic: added project setup support for Sonargraph projects (Java and CMake-JSON modules supported)
* added classes for loading a Sonargraph project * added Sonargraph options to project setup wizard * added test for generating indexer commands from Sonargraph modules * fixed sqlite storage crashing in constructor when parent directory of provided path does not exist * removed unused FileRegister from Java indexing * removed unused info from IndexerCommandJava * refactored loading and saving of SourceGroupSettings * extracted sourcepaths settings to own class that can be re-used * merged CDB wizard contentents for source file and indexed paths * unified wizard content for sonargraph project path * removed include filters from default source groups * extracted generation of RefreshInfo from Project to RefreshInfoGenerator * added tests for RefreshInfoGenerator * added language and standard selection to sonargraph project setup * added auto-detection for indexed header paths of sonargraph cmake json modules * Sonargraph::Project can enable/disable support for specific modules * warn if sonargraph project contains no matching modules * indexed headers can be detected from sonargraph project
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
SourceFilePath: "src/main/java/main.java"
|
||||
LanguageStandard: "8"
|
||||
@@ -0,0 +1 @@
|
||||
// comment in excluded.java
|
||||
@@ -0,0 +1 @@
|
||||
// comment in excluded.java
|
||||
@@ -0,0 +1 @@
|
||||
// comment in main.java
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" ?>
|
||||
<ns2:softwareSystem xmlns:ns2="http://www.hello2morrow.com/sonargraph/core" id="09b0549ac37bf7c2fd086e4b8903768e" version="9.3.0.100">
|
||||
<description>Sonargraph Next Generation</description>
|
||||
<exclude>**/*cluded*</exclude>
|
||||
<exclude>**/included*</exclude>
|
||||
<issueFilterExclude>**/generated*/**</issueFilterExclude>
|
||||
<module xmlns:ns4="http://www.hello2morrow.com/sonargraph/languageprovider/java" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns4:xsdJavaModule" name="Common" id="Common" language="Java">
|
||||
<description>sourcetrail test code</description>
|
||||
<rootPath xsi:type="ns4:xsdSourceRootPath" name="../src/main/java"></rootPath>
|
||||
<rootPath name="../src"></rootPath>
|
||||
</module>
|
||||
</ns2:softwareSystem>
|
||||
Reference in New Issue
Block a user