VS Code extension for TSDoc
See original GitHub issuee.g.
interface SquareConfig {
color?: string;
width?: number;
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:11
Top Results From Across the Web
TypeScript Programming with Visual Studio Code
TypeScript in Visual Studio Code. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. It offers classes, modules, and interfaces ......
Read more >TSDoc
Visual Studio Code: an editor that supports syntax highlighting and interactive refactoring for TypeScript doc comments; Your own scripts! - Developers often ...
Read more >10 Best VS Code extensions for TypeScript - Towards the Cloud
10 Best VS Code extensions for TypeScript. A vanilla code editor like Visual Studio Code (VS Code) gets you far in development. But...
Read more >Typescript - vscode-docs
VS Code's TypeScript support can operate in two different modes: File Scope: in this mode TypeScript files opened in Visual Studio Code are...
Read more >visual studio code - Parse jsdoc/tsdoc in vscode - Stack Overflow
Can I make vscode parse the comments? I have searched for a tsdoc extension but have found none. visual-studio-code · vscode-settings.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We might start by making a TSDoc extension for VS Code (similar to the recently released plugin for ESLint). This approach would also allow us to render the docs more nicely similar to what the playground does.
Before I would work on that myself, I have some higher priorities I’ve been wanting to wrap up, such as finishing the declaration reference parser and posting a spec that documents the TSDoc grammar in detail.
I played around with this a bit today. Making a VS Code extension is very easy to do! In about 30 mins I was able to create a simple prototype that finds the nearest TSDoc comment and generates some markdown which gets rendered as a vscode.Hover object:
This was just an experiment, not a real solution.
But if someone’s feeling bored, making a TSDoc extension might be a pretty rewarding project. I probably don’t have time to undertake it myself, but I’m happy to help out with the design and any parsing/rendering aspects. (For example, for the TSDoc->Markdown part, maybe we can extract the MarkdownEmitter.ts from API Documenter and make it into a reusable library.)
CC @jsamr