logic: Inspect errors during indexing (issue #235)

* Enabled errors table during indexing
* Store intermediate errors in StorageCache
* Open tab for errors if no tab yet
* "Show errors" for file disabled during indexing
* Hide indexing dialogs with ESC instead of stopping indexing
This commit is contained in:
Eberhard Graether
2018-12-06 15:46:42 +01:00
parent 09c6155583
commit b47a0b5b72
21 changed files with 231 additions and 59 deletions
+3 -1
View File
@@ -120,7 +120,7 @@ public:
std::shared_ptr<SourceLocationFile> getSourceLocationsOfTypeInFile(
const FilePath& filePath, LocationType type) const override;
std::shared_ptr<TextAccess> getFileContent(const FilePath& filePath) const override;
std::shared_ptr<TextAccess> getFileContent(const FilePath& filePath, bool showsErrors) const override;
bool hasContentForFile(const FilePath& filePath) const;
FileInfo getFileInfoForFileId(Id id) const override;
@@ -204,6 +204,8 @@ private:
void buildMemberEdgeIdOrderMap();
void buildHierarchyCache();
bool m_preIndexingErrorCountSet = false;
size_t m_preIndexingErrorCount = 0;
size_t m_preInjectionErrorCount = 0;
SearchIndex m_commandIndex;