cucumber / cucumber-eclipse

Eclipse plugin for Cucumber
MIT License
192 stars 149 forks source link

Add Gherkin Syntax Highlighting - should work from version 3.5+ #3

Closed ilanpillemer closed 11 years ago

ilanpillemer commented 11 years ago

Add syntax highlighting for .feature files.

ilanpillemer commented 11 years ago

Created a branch "gherkin-syntx" for this. I have added the necessary depedencies and the plugin extension point with a icon for the file. Before continuing I wanted to make sure the plugin would work in SAP Netweaver NWDS SP08 (based on Eclipse 3.5) and Scala-Ide (based on Eclipse Indigo). This took me a lot longer to confirm than expected. My technique was simply to drop the plugin into the plugin folder. Eventually I got the plugin loading correctly in SAP Netweaver by starting eclipse with -clean switch. This however did not work for Scala-IDE. Eventually I got it working in Scala-IDE by starting eclipse with -console switch and entering console mode. Once in console mode I had to install and start the plugin manually. For some reason Scala-IDE is not loading new plugins from the plugin folder automatically. Anyway I have now confirmed that the plugin can run. In order to test in Scala-IDE and SAP Netweaver though by just dropping into the plugin folders is not simple. Probably should test via installation via an update site.

ilanpillemer commented 11 years ago

Pretty much complete.. I just want to change the colors so that they work correctly with Eclipse's colors and themes; and can be configured by the user. I use the wombat theme or the classic theme. So it needs to work seemlessly in both. This means I need to choose the color codes from the standard colors available to be configured via Eclipse.

mrpotes commented 11 years ago

Just need to make sure we're enforcing the version 3.5 API in the manifest - I've done this