Skip to content

Language Service#4

Merged
x87 merged 17 commits into
expr_parserfrom
lang_server
Jan 23, 2021
Merged

Language Service#4
x87 merged 17 commits into
expr_parserfrom
lang_server

Conversation

@x87

@x87 x87 commented Dec 28, 2020

Copy link
Copy Markdown
Collaborator

for sannybuilder/dev#28

Language service

This service spawns a new server on program startup. The server lives during all program lifetime. The api allows to connect multiple client instances responsible for different documents.

Each document includes the main file (opened in Sanny) and possibly many others included in the main file explicitly via the {$INCLUDE} directive or implicitly (constants.txt from the edit mode config). They constitute the document tree model.

Server watches for file changes for each file in the tree and sends a message back to Sanny. Currently it triggers highlighting change and document status update (Disabled, Ready, Scanning).

@x87 x87 changed the base branch from master to expr_parser December 28, 2020 03:02
@x87 x87 changed the title Lang server Language Service Dec 28, 2020
@x87 x87 mentioned this pull request Dec 30, 2020
32 tasks
@x87 x87 marked this pull request as ready for review December 31, 2020 05:10
@x87 x87 merged commit 1c78e94 into expr_parser Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant