<p dir="auto">VScode will report an error: The mode has failed while tokenizing the input. if the ruby file contains the % notation string syntax.</p>
<p dir="auto">Take the ruby file from <a href="https://github.com/Homebrew/homebrew/blob/master/Library/Homebrew/os/mac/xcode.rb">https://github.com/Homebrew/homebrew/blob/master/Library/Homebrew/os/mac/xcode.rb</a> and paste it into VS Code, you get an exception: the mode failed to tokenize the input</p>