D6316: Add codecompletion from embedded structs
noreply at phabricator.kde.org
Wed Jul 5 18:27:14 UTC 2017
ematirov added a comment.
In https://phabricator.kde.org/D6316#121700, @brauch wrote:
> Doesn't that become a problem when you extend the range during editing?
Oh, got it. Yeah, there is some problems with method declaration context if I don't update range. Syntax highlighting works fine but there is problems with code browsers, looks like it cannot find correct context by range. Updating range by currentContext()->setRange(editorFindRange(node, 0)); helps but I'm not sure that it's correct since there could be some other declarations not related to that type between type declaration and method declaration; although, looks like it works.
Thank you for your suggestions!
R59 KDevelop Go
To: ematirov, apol, brauch
Cc: kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel