When I search functions in the c++ header, the functions with [[nodiscard]] are hidden (does not appear in list). Is there a way to circumvent this issue?
Search functions with [[nodiscard]]
Barabas
#3
The syntax parser doesn’t pick them up. They don’t appear in Ctr+r or Ctrl+Shift+r for me either.
It works again when I put [[nodiscard]] on the line above.
0 Likes
vryy
#4
This is good to know. But in my case the code is formatted by clang-format, so there are many cases that [[nodiscard]] is at the same line :((((
0 Likes
jwortmann
#5
Looks like this was already reported more than 5 years ago in the issue tracker: https://github.com/sublimehq/Packages/issues/1408
It would need someone with C++ knowledge to update the syntax definition to support the modern language features.
0 Likes