Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Highlight "size" as a keyword in array literal context #662

Description

Is your feature request related to a problem? Please describe.
Q# Jupyter Notebooks don't highlight "size" as a keyword.

Describe the solution you'd like
Highlight "size" as a keyword in the context of array literals: something like "a comma, optional whitespace, size, optional whitespace, equality sign" should highlight "size" as a keyword, but other contexts shouldn't.

let size = 123;
let xs = [size, size = 2]; // first size is a variable, second size is a "keyword"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-ClientIssue relates to JavaScript client (Notebook, Lab, AzNB, etc.)Kind-EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions