shinyypig / matlab-in-vscode

A vscode extension for matlab.
MIT License
45 stars 5 forks source link

'%' in printf treated as comment? #14

Closed rq-Chen closed 1 year ago

rq-Chen commented 1 year ago
          With 0.4.1 I get the following:
fprintf( '\n *** (begin) %s ***\n\n', 'TEST' )
>> fprintf( '\n *** (begin) 
 fprintf( '\n *** (begin) 
          |
Error: Character vector is not terminated properly.

So now it does not use evalc but parsing the file has a similar issue. (I am using the cell-run command)

Originally posted by @fcdimitr in https://github.com/shinyypig/matlab-in-vscode/issues/9#issuecomment-1606141440