Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
23f99971
Commit
23f99971
authored
Jul 17, 2021
by
Mark Nauwelaerts
Browse files
lspclient: adjust symbol view detail presentation
parent
84f9368e
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/lspclient/lspclientsymbolview.cpp
View file @
23f99971
...
...
@@ -371,7 +371,7 @@ public:
if
(
!
symbol
.
detail
.
isEmpty
())
{
details
=
true
;
}
auto
detail
=
show_detail
?
symbol
.
detail
:
QString
();
auto
detail
=
show_detail
&&
!
symbol
.
detail
.
isEmpty
()
?
QStringLiteral
(
" [%1]"
).
arg
(
symbol
.
detail
)
:
QString
();
node
->
setText
(
symbol
.
name
+
detail
);
node
->
setIcon
(
*
icon
);
node
->
setData
(
QVariant
::
fromValue
<
KTextEditor
::
Range
>
(
symbol
.
range
),
Qt
::
UserRole
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment