T
T
TimeCoder2016-05-22 02:37:42
.NET
TimeCoder, 2016-05-22 02:37:42

How to correctly implement a code editor (.net)?

Colleagues,
please share your thoughts on the following task: a code editor for a self-made programming language. This is only an EDITOR, i.e. compilations, translations, etc. - none of this is needed, in fact, syntax highlighting is needed (which, for example, the same NotePad ++ can do) and things typical for editors: tabulation, a tab system for open documents, search. Well, perhaps some kind of cache for functions is needed anyway, so that there is a GoToDefinition.
How to write it from scratch - I can imagine, but I don’t want to cycle. Development platform - .net (WPF!). The language has a C-like syntax. Tell me where to dig? In terms of some open source solutions. Preferably not very versatile, so as not to complicate the project.
UPD1
Watching these solutions:
ScintillaNet (the downside is that it's WinForms, but you need WPF, i.e. you still have to embed it)
AvalonEdit - it's not clear yet
SharpDevelop (based on AvalonEdit) - also
Visual Studio Code - found support for custom languages ​​there, but is it possible to tie it there tabs, GoToDefinition, AutoComplete - I can't figure it out yet.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
#
#algooptimize #bottize, 2016-05-22
@TimeCoder

Any editor or IDE that supports
Visual Studio Code plugins, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question