VsTeXCommentsExtension icon indicating copy to clipboard operation
VsTeXCommentsExtension copied to clipboard

Support xmldoc comments

Open rzippo opened this issue 2 years ago • 1 comments

I have a C# project using xmldoc comments, which look like this:

/// <summary>
/// This method computes some math $f(t) = \sqrt{t}$
/// </summary>
public double doMath(double t) 
{ ... }

I would like to see the latex expression properly rendered within the QuickInfo tooltip, i.e. the one that appears when I move the mouse over the method name.

rzippo avatar Apr 25 '22 07:04 rzippo

I have a similar issue using native Doxygen. Consider

  //tex:
  //$$(a+b)^2 = a^2 + 2ab + b^2$$

In Doxygen syntax, this could read e.g.

  //tex:
  //! @f[\begin{equation*}(a+b)^2 = a^2 + 2ab + b^2\end{equation*}@f]

(/// instead of //! also works). Using this syntax, this works for both VsTeXCommentsExtension and Doxygen, however, in Doxygen, ! would be printed into the documentation. It would be great if \\ could be extended by \\! or \\\.

lephlaux avatar Nov 29 '22 15:11 lephlaux