Skip to content

HashTable Key TextMate Scope Priority #222

Description

@Tride0

Summary of the new feature / enhancement

  1. Open VS Code
  2. Open a PowerShell File
  3. Copy the following into the file:
@{
    'string' = 'value'
    name     = funcName
    key      = $Variable
}

Result:
Image

Proposed technical implementation details (optional)

Currently the 'variable' TextMate scope is a higher precedence than the 'meta' scope so setting the meta.hashtable.assignment.powershell scope to a different color is overwritten by the variable scope.

Trying to get a the hash key to be a different color than variables

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