Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groovy syntax highlighting falsely finds a method invocation in a string method name #159928

Closed
dawidsawa opened this issue Sep 2, 2022 · 1 comment
Assignees
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@dawidsawa
Copy link

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

  • VS Code Version: 1.70.2, 1.71.0
  • OS Version: macOS

Steps to Reproduce:

  1. Open a new tab with Groovy language
  2. Type or paste below code
def 'foo(bar)'() {
    println 'correct syntax highlight'
}

def 'foo (bar)'() {
    println 'correct syntax highlight'
}

def 'f oo(bar)'() {
    println 'incorrect syntax highlight'
}

def ' foo(bar)'() {
    println 'incorrect syntax highlight'
}

vscode-groovy-syntax

@dawidsawa dawidsawa changed the title Groovy syntax does falsely finds a method invocation in a string method name Groovy syntax highlighting falsely finds a method invocation in a string method name Sep 2, 2022
@mjbvz mjbvz assigned alexr00 and unassigned mjbvz Sep 2, 2022
@alexr00
Copy link
Member

alexr00 commented Sep 5, 2022

Moved to textmate/groovy.tmbundle#21, which is the repo that we pull our groovy syntax highlighting grammar from.

@alexr00 alexr00 closed this as completed Sep 5, 2022
@alexr00 alexr00 added grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream and removed new release labels Sep 5, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream
Projects
None yet
Development

No branches or pull requests

4 participants