groovy.tmbundle icon indicating copy to clipboard operation
groovy.tmbundle copied to clipboard

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

Open alexr00 opened this issue 2 years ago • 0 comments

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 https://github.com/microsoft/vscode/issues/159928

alexr00 avatar Sep 05 '22 12:09 alexr00