使用IntelliSense为C#代码提供Typescript风格的注释



我正在VSCode中使用C#,希望在我的类、属性和方法中使用intelliSense。我习惯于用看起来像这样的Typescript来写它:

/**
* // TODO: do not forget to comment "someMethod"
* Brief description of this method
* @param nameOfParam1 description of this parameter's purpose
* @returns describe what is returning
*/
someMethod(nameOfParam1 : string): string { ... }

使用Visual Studio代码,我甚至可以为这些注释获得一些很好的自动颜色。我发现C#XML注释非常丑陋和膨胀。

有没有一种方法可以在C#中使用相同的注释样式,并让intelliSense也能工作?

我发现C#XML注释非常丑陋和膨胀。

没有其他选择-XML注释是语言标准的一部分

最新更新