https://bugs.kde.org/show_bug.cgi?id=383876

Piotr Mierzwinski <piotr.mierzwin...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|5.1.1                       |5.2.0
                 CC|                            |piotr.mierzwin...@gmail.com

--- Comment #2 from Piotr Mierzwinski <piotr.mierzwin...@gmail.com> ---
I think no one fixed this till now.

I experienced this issue after opening in my project only 3 not so big files.

Weight of first:  ~5kb  (declaration of class A), 
Weight of second: ~33kb (definition of class A), 
Weight of third: ~161kb (definition of some different class).

I inserted some new function (39 lines) in second one and started update
missing declarations used in this function - it was QToolButton, and included
was QMenuBar, so has been found. After that I switched to cpp, unfortunately
after several seconds variable was still underlined as not defined. OK. I saved
both files and refreshed definition file only, because I don't want to wait do
not know how much time till parser decide to run (or never did it) and update
highlighting of code :/. Of course this fixed issue.
OK. I updated next declaration of variable used in the same new function - this
time it was QPushButton (of course proper include was present). After switching
to cpp file I met again the same situation. After couple minutes code was still
marked as wrong :(. F5 helped, but this is not solution. In my opinion issue is
very annoying, why I need to run manually refresh and parser can't do it?

I don't understand why parser is not run or run properly to update code
highlighting. Is it caching or what? What has been broke in code. I don't
remember such issue that happened several months ago.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to