How can I create a custom Eclipse Syntax Highlighter

后端 未结 5 1737
猫巷女王i
猫巷女王i 2020-11-30 04:08

I\'ve been developing a compiler for a new language. I thought it would be neat to be able to demonstrate its development in a syntax aware environment. The language has q

5条回答
  •  Happy的楠姐
    2020-11-30 04:17

    The Eclipse framework uses a fairly complex document model to do syntax coloring (they call it coloring, not highlighting), it is not as simple as it is in other editors.

    If you really want to try and mess with it, you may want to read the following from the Eclipse plug-in developer guide.

    (The above link is now dead. This may be a similar document or this.)

提交回复
热议问题