diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-05-09 13:37:51 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-05-14 09:04:42 +0000 |
commit | f46fb39f3c77cb50701ee1fb1dc992c466cef300 (patch) | |
tree | c7c9b075584a07a3fb337a39cc53049a924221db /src/plugins/clangcodemodel/clangtextmark.h | |
parent | e7123b140eb7e5d392542d087cdf5320336dec8a (diff) | |
download | qt-creator-f46fb39f3c77cb50701ee1fb1dc992c466cef300.tar.gz |
Clang: Reduce diagnostic visualization for non-project files further
We already avoided showing inline annotations for diagnostics in
non-project files. But given many diagnostics the visualization is still
quite noisy. E.g. consider opening not self-contained header files or
files for which we do not have any project open, as it can happen if the
debugger jumps to such a file.
So leave only the text mark icon on the left and avoid all the rest:
underlines and refactoring icons in the editor, marks in the scrollbar
and task hub issues.
Change-Id: I05245981b21b38be650489a006593922dcb6896d
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/clangcodemodel/clangtextmark.h')
-rw-r--r-- | src/plugins/clangcodemodel/clangtextmark.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clangcodemodel/clangtextmark.h b/src/plugins/clangcodemodel/clangtextmark.h index 6b7424ae91..1301cd200b 100644 --- a/src/plugins/clangcodemodel/clangtextmark.h +++ b/src/plugins/clangcodemodel/clangtextmark.h @@ -42,7 +42,7 @@ public: ClangTextMark(const ::Utils::FileName &fileName, const ClangBackEnd::DiagnosticContainer &diagnostic, const RemovedFromEditorHandler &removedHandler, - bool showLineAnnotations); + bool fullVisualization); void updateIcon(bool valid = true); private: |