fkorotkov / intellij-thrift

Apache License 2.0
89 stars 76 forks source link

Improve Syntax Highlighter #45

Open MicahZoltu opened 9 years ago

MicahZoltu commented 9 years ago

I correctly get syntax highlighting of reserved words and missing types. However, I cannot figure out how to get coloring on type names. From what I can tell, type information is known (otherwise I wouldn't be able to get missing type highlighting) but I have thus far been unable to locate a way to color type names.

typedef string Foo

struct Bar {
    1: required Foo foo
    2: required Zip zip
}

In the above, typedef, string, struct, required are all blue (yay!), Zip is red (yay!), but Foo is black (boo!) in both locations.

MicahZoltu commented 9 years ago

Example: image