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 #21

Open
alexr00 opened this issue Sep 5, 2022 · 0 comments

Comments

@alexr00
Copy link

alexr00 commented Sep 5, 2022

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

Originally from @dawidsawa in microsoft/vscode#159928

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

No branches or pull requests

1 participant