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

Capital variables tokenized as storage types #76

Closed

Description

@winstliu

Prerequisites

Description

When using capital variables in code, they are tokenized incorrectly as storage types. Currently, they shouldn't be tokenized as anything.
storage-type-variables

Steps to Reproduce

  1. Open a Java file and create the class/method boilerplate
  2. int G = 0; inside a method
  3. G += 3;

Expected behavior: G on the third line shouldn't be tokenized as anything special

Actual behavior: G is tokenized as storage.type.java

Reproduces how often: 100%

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Atom version doesn't matter. I'm running language-java commit d9b52c2.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions