Search code examples
eclipse-pluginsyntax-highlightingeclipse-cdtbisonflex-lexer

How to install a bison/flex syntax highlighter?


for my flex and bison files I am looking for a syntax highlighter.

I am trying to get this to run: http://ccode.tistory.com/77 :

  1. I downloaded the .jar file
  2. and followed the instructions File/import Adding jars to a Eclipse PlugIn

But nothing changed.

Can somebody explain to me how to install it?


Solution

  • Use the instructions in this answer to install the jar file.

    After doing this and restarting eclipse, .y files should be opened with the Bison editor provided by the plugin, and syntax-highlighted.