#2095 Color-coding support in different code editors

iateyourtoothpaste Thu 7 Feb 2013

I want to add support for Fantom color-coding/syntax highlighting in my favourite code editor.

Are there any requirements from Fantom team that I need to be aware of (other than getting it right lol)? Is there a (I forget what it's called) definition list of some sort already written that you can supply?

Thanks, and thanks for an awesome language!

brian Thu 7 Feb 2013

Check the adm/ dir just to make sure there isn't already a configuration for your editor - what is your editor BTW?

Typically you just need the keyword list and then support for literals which include:

double quotes " with \
triple double quotes """ with \ 
single quote ' with \
<| |> without \
URI literal ` with \

iateyourtoothpaste Thu 7 Feb 2013

Thanks Brian, just checked there. The editor isn't in the adm/ directory. The editor is called Brackets: http://www.brackets.io/ It has a lot of really cool features and I love the direction they're going in, so I'm trying not to use other editors, but it lacks colors for Fantom.

Login or Signup to reply.