Originally from @takaram in microsoft/vscode#137713
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.62.3, 1.63.0-insider
- OS Version: Windows_NT x64 10.0.19042
Steps to Reproduce:
- Create .rb file
- Input code like below
puts %(() parentheses)
puts %<{} braces>
puts %Q{[] brackets}
puts %r[[^a-z]]
puts %(
def foo()
puts 123
rescue
nil
end
)
puts %x(echo '() parentheses')
Expected:
The literal is recognized as strings (or regexp) until the closing bracket.
Specification of Ruby percent notations: http://www.chrisrolle.com/en/blog/ruby-percentage-notations
Actual:
