Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Wrong highlighting of variable definition, when = is on the next line #170

Open
1 task
sadikovi opened this issue Nov 13, 2018 · 1 comment
Open
1 task
Assignees

Comments

@sadikovi
Copy link
Contributor

Prerequisites

Description

When writing code like this:

class A {
  static String CONSTANT_1 = "abc";
  static String CONSTANT_2 = 
    "abc";
  // Wrong highlighting
  static String CONSTANT_3 
    = "abc";
}

The last CONSTANT_3 has wrong highlighting, see image below:
screenshot

Steps to Reproduce

  1. Open new tab and select Java language.
  2. Paste code into the editor.

Expected behavior: [What you expect to happen]

CONSTANT_3 is highlighted the same way as CONSTANT_1 and CONSTANT_2.

Actual behavior: [What actually happens]
It is not highlighted the same way.

Reproduces how often: [What percentage of the time does it reproduce?]
100%

Versions

Atom : 1.32.1
Electron: 2.0.9
Chrome : 61.0.3163.100
Node : 8.9.3

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

@sadikovi sadikovi self-assigned this Nov 13, 2018
@Vigilans
Copy link
Contributor

This only reproduces when varibale is upper-case:
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants