| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
| |
Uses the xtext formatted on the server to format the document.
Also adds the capability to take (delta) changes from the server and
apply them before any pending local changes, then replay the changes.
This means that the server-side formatter is effectively acting as a
second user who is editing the document.
|
|
|
|
|
|
| |
Use the zod library instead of manually written type assertions for
validating json messages from the server. This makes it easier to add
and handle new messages.
|
|
|
|
|
| |
Move information about which tokens should support implicit completions
into the Lezer grammar.
|
|
|
|
|
|
|
|
|
|
| |
Always try to complete the current token if it is a terminal
(e.g., true, false, unknown, and error after a : or an = sign).
Autocomplete still only starts without being explicitly invoked if there
is a QualifiedName to complete.
Discard completions with a shorter prefix than the current token,
because they would be filtered out by CodeMirror anyways.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
extract utils/ConditionVariable from xtext/UpdateService as a generally
useful utility class for waiting for conditions
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also modified langauge-web/src/main/js/xtext/ServiceBuilder.js to make
sure the new logger is used as soon as xtext is initialized.
|
| |
|
| |
|
|
|