Commit Graph

4 Commits

Author SHA1 Message Date
David Schulz
d28a452053 LanguageClient: enable commit characters for completion items
While a completion is currently active a commit character can
automatically apply the current item and close the current completion
widget.

Change-Id: Ia962eed69684f8f13f54b88934c63700532103e7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-05-07 07:57:41 +00:00
David Schulz
5eca6c031f LanguageClient: redo completion replacement logic
Instead of trying some magic when applying completion items just replace
the text from the current position back to the start of the word.

Change-Id: I03ac0f8c9bced88d21bd51f9e5cfa0a3ea25025a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-05-06 09:01:15 +00:00
David Schulz
0eb3b54434 LSP: add completion context to completion request
Change-Id: I97df6d70ef2ad6e6e1fc0153cd1589b5d5c9683b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-04-25 06:24:05 +00:00
David Schulz
c6415e2652 LSP: collect and execute quick fixes via shortcut
Fixes: QTCREATORBUG-21802
Change-Id: I611fac1c3fc5b094816441e36492ed57706c98b8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-02-12 12:57:31 +00:00