This causes the real point of declaration to be bolded/highlighted. It also means all declarations have the same range as their NameAst node, which should allow simplification of some other code (not in this patch).
Details
Details
Doesn't break the tests. TODO: add some more, including some already-broken cases I discovered, and do some duchainify runs.
Diff Detail
Diff Detail
- Repository
- R53 KDevelop: Python Support
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Good solution I think, better than the hack from before (because it actually does the right thing, in a way). Feel free to put it into 5.2, we still have a few weeks to catch issues it causes. Thanks!