Skip to content

Go constants with omitted assignment are not syntax highlighted correctly #76073

Closed

Description

  • VSCode Version: 1.35.1
  • OS Version: macOS 10.14.5

Steps to Reproduce:

  1. Open the following .go file in VS Code:
package foo

const (
	Value1 = iota
	Value2
	Value3
	Value4
)
  1. Value2, Value3 and Value4 are not highlighted like Value1.

image

Does this issue occur when all extensions are disabled?: Yes

Activity

  1. alexr00 commented on Jun 25, 2019

    @alexr00
    Member

    Moved the issue to go grammar repo.

  2. segevfiner commented on Jul 17, 2019

    @segevfiner
    ContributorAuthor

    Alex Ross (@alexr00) The issue on the Go grammer repo was punted on since they don't seem to be interested in maintaining the Go TextMate grammer as they are migrating to a different engine for syntax highlighting in Atom.

  3. locked and limited conversation to collaborators on Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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