Does someone know a framework for creating language editors in C#/Typescript? I need to create one at work.
I could also create an editor based on ANTLR but I am surely not the first guy with this problem.
“Intellisense”, Codecompletion, typechecks…
We’ve used Microsoft Visual Studio Code with success. Extensions are written in TypeScript. A language server based on an ANTLR grammar can provide semantic checks, code completion, etc.
We may write an article about it in the future, actually.
Thanks. I do not know exactly about the complexity of VSCode. It sounds a bit overkill, but I also think it is a good direction.
My company uses a language to bind values from different data sources into template document. Think of “Dear {{UserProfile.DisplayName}}, …” at the beginning of a letter. The language is small. But if it develops good for the customer it becomes bigger.
I will search for VSCode examples. Any links for that are welcome.
This sounds a lot like a problem you could solve with Language Server Protocol - i know Microsoft is pretty big in supporting it in the past few years, so you might have success to look into specific example implementations from MS themselves.
I had a little chat with my product owner. It should not appear like coding, it should be a point and click toolbox. Blockly or projectional editing in general comes into my mind.