Skip to content

First language server approach - #2

Merged
katauber merged 18 commits into
mainfrom
1-firstApproach
Feb 11, 2026
Merged

First language server approach#2
katauber merged 18 commits into
mainfrom
1-firstApproach

Conversation

@katauber

@katauber katauber commented Feb 2, 2026

Copy link
Copy Markdown
Member

In this approach there is a simple language server which offers autocompletion based on the annotations in Metafacture (used annotations: FluxCommand, In, Out, Description).
The project is based on https://github.com/NipunaMarcus/hellols/tree/websocket-launcher and uses a websocket to communicate.
For a simple test setup use this editor. If you type the some letters there should be suggestions of flux commands containing also the descritiption, in and out annotations.

Resolves #1

@katauber
katauber marked this pull request as ready for review February 6, 2026 13:19
@katauber katauber assigned katauber and fsteeg and unassigned katauber Feb 6, 2026
@katauber
katauber requested a review from fsteeg February 6, 2026 13:50
@fsteeg

fsteeg commented Feb 9, 2026

Copy link
Copy Markdown
Member

Cool, got it working with the sample web editor. Pushed some tweaks to the README in 9f9b2d6.

Will continue with code review.

@fsteeg fsteeg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we briefly discussed offline the other day, I've suggested a way to replace the nested loop with a more functional approach.

I've also inlined some local variables, removed the unused client field, and added /bin to .gitignore.

From my point of view we could merge and continue with setting up some tests.

@fsteeg fsteeg assigned katauber and unassigned fsteeg Feb 10, 2026
@katauber

Copy link
Copy Markdown
Member Author

Thank you very much for your improvements!

@katauber
katauber merged commit f01a601 into main Feb 11, 2026
1 check passed
@katauber
katauber deleted the 1-firstApproach branch February 11, 2026 09:17
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.

First own language server approach

2 participants