Add ttcn3 syntax highlighting to eclipse

219 Views Asked by At

I don't work with ttcn3 full-time, what I need is just basic syntax highlighting and commenting on Ctrl+/ added to eclipse.

After some googling I discovered Eclipse Titan, but it seems to be a full-blown IDE for ttcn3 with compiler and stuff, and I need just a plugin to eclipse.

I would like to find something like "Set syntax: ttcn3" from SublimeText, is it possible in eclipse?

2

There are 2 best solutions below

2
gusgonnet On BEST ANSWER

if you go to this link: https://projects.eclipse.org/projects/tools.titan/downloads

you will find that you can download the Titan plugins for Eclipse (today they look like this): Eclipse plug-ins 6.2.0

You may want to install them in your current Eclipse and find out if that is what you are after.

Gustavo.

0
Attila Jeno Balasko On

After installing the plugin

1.change the nature of your ttcn project for "TITAN Nature" this way: Project popup>Properties>Project Natures>Add...>TITAN Nature.

(if this is not enough:)

2.Select Window>Preferences>TITAN Preferences>On-the-fly checker>Enable parsing of TTCN-3, ASN.1 and runtime configuration files

(You can also set perspective TITAN Editing/Titan Executing/TITAN Log Viewer)