Skip to content

Add syntax highlighting / textmate scope for numbers (again) #101

@ShadowCreator250

Description

@ShadowCreator250

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):
Result of running "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])?)?$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions