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.

Java tree-sitter syntax highlighting does not parse annotations correctly #239

@sadikovi

Description

@sadikovi

Prerequisites

Description

Java tree-sitter highlighting does not recognise the following annotations:

class A {
  @Retries.RetryTranslated
  private void func(int arg) throws IOException {
    // ...
  }  
}

We need to fix it, here is what it looks like in Atom 1.53.0:
Screenshot 2020-11-23 at 11 23 08

Steps to Reproduce

  1. Paste the code into Atom 1.53.0
  2. Select Java language.

Expected behavior:

Syntax highlighting is similar to other annotation types.

Actual behavior:

Syntax highlighting is different.

Reproduces how often:

100%

Versions

apm  2.5.2
npm  6.14.8
node 12.4.0 x64
atom 1.53.0
python 2.7.10
git 2.17.2

Additional Information

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions