dotenv-vscode
dotenv-vscode copied to clipboard
Add syntax highlighting / textmate scope for numbers (again)
Apparently, this extension doesn't recognize numbers (anymore).
I know from #27 that it once had this feature.
Numbers are now only recognized as simple properties (Command Palette > Developer: Inspect Editor Tokens and Scopes):
Is it possible to match only numbers with 1 . in them? This would prevent #27.
A suitable (partial) regex could look something like this: ([+-]?)([0-9]([0-9_]*[0-9])?)(\.[0-9]([0-9_]*[0-9])?)?$