kate lsp client plugin
Mark Nauwelaerts
mark.nauwelaerts at gmail.com
Fri Jul 19 23:04:19 BST 2019
On 19/07/19 21:11, Christoph Cullmann wrote:
> Hi,
>
>> I pushed a few more commits with minor fixes and some refinements on
>> the diagnostics (jump list). In particular, the list (selection)
>> should now also sync to the view (position). So switching to another
>> view/document should scroll the relevant diagnostics into view, and
>> when positioned on a line with diagnostics, then that diagnostic will
>> be selected. The latter is also (already previously) the case when
>> clicking on the border-icon mark.
>
> Nice.
>
> I would like to work a bit on the symbols views.
>
> A colleague mentioned it would be nice to have a filter like for the projects
> view. To make this "easy" feasible, I would convert the QTreeWidget code to use
> QTreeView and some model, perhaps even directly letting the LSPServer part
> create a usable QStandardItemModel for the symbols information.
>
> Would that be ok for you?
As also mentioned already (by now), evolving to a more modern/separate
model/view approach makes good sense.
On the one hand, I have a habit of having lower level (server) code use mostly
lower (core) types. Though on the other hand, any particular call is likely
ever only to be used in one location (in a GUI plugin context), so using higher
types there may avoid additional intermediate steps ...
Regards,
Mark.
More information about the KWrite-Devel
mailing list