APerricone / harbourCodeExtension

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

Syntax match for variables. #66

Closed wesleynepo closed 4 years ago

wesleynepo commented 4 years ago

Where I work we started to use your extension, but we needed the syntax highlighting for variables too. I used the same regex the Atom extension uses for variables and included the pattern for inline-statements. Changing the regex was necessary as the previous regex was capturing reserved words like say get read valid picture.

Example: Before After

APerricone commented 4 years ago

sorry, but with this modification almost all words will be highlight as variable... so is the same if none is.

PS. I suggest to study regex, the comma has not a particular meaning