Skip to content

Variables being tokenized as functions when indexing (i.e. using parens) #76

@goldrik

Description

@goldrik

Pretty simple, if you create a variable (var and arr in the video), they are tokenized as variables (both tokens
variable.other.readwrite.matlab, meta.assignment.variable.single.matlab).

If you call a function (mean), it is tokenized as a function call
(entity.name.function.matlab, meta.function-call.parens.matlab).

However, if you index into the array variable from earlier (arr), it is also tokenized like a function call
(entity.name.function.matlab, meta.function-call.parens.matlab).

Screen.Recording.2024-02-29.at.3.00.32.PM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions