| Summary: | Semantic highlighting works partially after switching branch | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Piotr Mierzwinski <piotr.mierzwinski> |
| Component: | Language Support: CPP (Clang-based) | Assignee: | kdevelop-bugs-null |
| Status: | ASSIGNED --- | ||
| Severity: | normal | CC: | igorkuo, mail, piotr.mierzwinski, zvova7890 |
| Priority: | NOR | ||
| Version First Reported In: | 5.2.4 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Piotr Mierzwinski
2018-10-02 21:40:16 UTC
I have seen this too sometimes. I always click "reload project", that helps. In general the updating of dependent files if a dependency changes seems a bit wonky ... Thanks for advice. Anyway this is only workaround and KDevelop should do it, so to say, without help from outside. The question is why doesn't do it correctly. Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! I started noticing this bug only a few days ago. I am surprised it was reported 6.5 years ago. Does some configuration trigger it or does it always happen? Reloading the project doesn't help. But closing a document and opening it again or adding a space and pressing Ctrl+Z highlights this one document correctly. *** Bug 505170 has been marked as a duplicate of this bug. *** Not sure whether this bug had been fixed at some point. But it either returned or became much more prevalent (always reproducible) since KTextEditor version 6.12.0. Reverting https://commits.kde.org/ktexteditor/77cbafd60690de3cc7a6d8b33388501dd10257dc restores highlighting after reloading. I'll investigate and try to adapt KDevelop to this KTextEditor change. A possibly relevant merge request was started @ https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/820 |