Skip to content

[Java] Syntax highlighting not working on multi-line method declaration #63137

Closed

Description

Syntax highlighting doesn't detect language component correctly if a method declaration spans over multiple lines. Here is an example (please only take note of the colors)

Expected:
capture1

Actual:
capture

  • VSCode Version: 1.29
  • OS Version: Both Windows 10 and MacOS Mojave

Steps to Reproduce:

  1. Declare a method with signature that's longer than line width limit
  2. Save and wait for the formatter to reformat it to multiple lines

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

Activity

  1. alexr00 commented on Jan 8, 2019

    @alexr00
    Member

    This issue was moved to atom/language-java#186

  2. alexr00 commented on Jan 8, 2019

    @alexr00
    Member

    Moved to the owning repository since this is an issue with the text-mate grammar that we consume.

  3. added
    grammar
    on Jan 8, 2019
  4. locked and limited conversation to collaborators on Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

grammar

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions