Andrew Craig
Andrew Craig
Great! We use [embedded languages](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#embedded-languages) to provide syntax highlighting for code blocks of Python, C etc. in Rmd files. It should be possible to do this for LaTeX too. The...
Excellent! For testing: File menu -> 'Open Folder...' and choose select 'vscode-R' (the directory with your edits). Then press F5. This should open a new VS Code window which is...
There's an error showing at the bottom right. My guess is that you need to build the extension. Here are some instructions: https://github.com/Ikuyadeu/vscode-R/wiki/Contributing
Does the window shown in the screenshot show '[Extension Development Host]' in the title bar? If so, good - it's running your edited version of vscode-R. If not, it's running...
Some suggestions: 2. The `\$` is for use in the syntax file, not the Rmd file. Also try `\\$` in the syntax file. 3. That's a good experiment. It looks...
None of those suggestions worked? If my suggestion for 3. didn't work it makes me wonder if any of the changes are actually having an effect. Can you make some...
That's what I would hope to see without the fenced blocks in the syntax file. It would mean that your changes were having an effect, and removing the fenced blocks...
I've added a couple of comments to your PR. There was a `}` in the wrong place, so the syntax file wouldn't have been loading properly. That would explain why...
I think it's best to approach this as two tasks: 1. Detect `$$..$$` blocks. I suggest using `source.r` instead of `source.latex` for now, since we know `source.r` works. Try to...
Great! That's task 1 finished. Next is task 2. Like I said, it will probably be more difficult and involve a lot of trial and error. Hopefully the ideas I...