APerricone / harbourCodeExtension

Antonino Perricone's extension for visual studio code about Harbour and xHarbour programming languages
32 stars 20 forks source link

Various Syntax highlighting #54

Closed Hovestar closed 4 years ago

Hovestar commented 4 years ago

image

The each in for each is not highlighted.

image

The #elif and #endif directives don't highlight (xHarbour). May be caused by the defined() in the condition

I'd be happy to help if you point me in the right direction.

APerricone commented 4 years ago

Many thanks for the report. the #elif #else are not highlighted because are inside a class definition. outside they are.

If you are curious the language definition is in file harbour.tmLanguage.json created by @edgardmessias

Anyway I will fix it soon, but I don't know when I will release a new version. If you see anything else feel free to report them.

edgardmessias commented 4 years ago

Hello Please attach the source with problem and I can try find the problem.

edgardmessias commented 4 years ago

The problem occurs when the syntax try start a directive and class at same time. if -> endif and create class -> endclass