Review Request 122162: Trigger a reparse from code completion if required.
Sergey Kalinichev
kalinichev.so.0 at gmail.com
Wed Jan 21 14:22:01 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122162/#review74478
-----------------------------------------------------------
codecompletion/model.cpp
<https://git.reviewboard.kde.org/r/122162/#comment51659>
I'm having that problem when re-opening KDevelop with some documents opened in editor. When doing so, for some reasons AST gets attached only for some contexts.
So I think it should be fixed there instead. I.e. if document is opened in editor and no ast attached, create one. I think that isUpdateRequired is the culprit here.
Or is it another bug? And sessionData in code completion can be empty in some other situations?
- Sergey Kalinichev
On Jan. 20, 2015, 5:24 a.m., Milian Wolff wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122162/
> -----------------------------------------------------------
>
> (Updated Jan. 20, 2015, 5:24 a.m.)
>
>
> Review request for KDevelop.
>
>
> Repository: kdev-clang
>
>
> Description
> -------
>
> Needs some logic to automatically display the code completion list
> afterwards then. But still, better than nothing.
>
>
> Diffs
> -----
>
> codecompletion/model.cpp 0dcf44cdc801f7c4f330b9137e08f4f54da37b9d
>
> Diff: https://git.reviewboard.kde.org/r/122162/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Milian Wolff
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150121/05dcfff8/attachment.html>
More information about the KDevelop-devel
mailing list