There is such an extension in VS: TeX Comments and the example:
I wonder if it's possible to do this in VS Code?
There is such an extension in VS: TeX Comments and the example:
I wonder if it's possible to do this in VS Code?
Comments in vscode support unicode characters. For easy conversion, you can use tools that convert tex symbols to unicode. An example of such is:
As an alternative, you can search through the supported unicode characters for what you are seeking. For instance:
suppose you have:
x^2 + y^2 = 1 +dx^2y^2
It is the case that each of these symbols exist in the list of supported unicode characters:
² + ² = 1 + ²²
Full tex rendering is only supported externally by extentensions, as you can see in the tex comments extension that you linked to.
This may not be exactly what you're looking for, but I know there is one extension that could be an alternative, it's called Ultra Math Preview.
Although this extension only allows you to see the math equations when your mouse hovers over it works even with comments.
However, this only works with .tex
and .md
files, and sometimes the small rendered window gets in the way when you try to edit equations.