Comment Doc LensComment Doc Lens displays definition comments and symbol documentation inline at reference sites as VS Code inlay hints. The first version targets Go, TypeScript, JavaScript, TSX, and JSX by reusing the language services already available in VS Code. Go projects should install the official Go extension with gopls enabled for best results. What it showsComment Doc Lens shows symbol documentation comments, not runtime values. It scans visible identifiers, asks the active VS Code language service for hover and definition information, then renders the first useful documentation line as an inlay hint. The default TypeScript and JavaScript path is verified for constants, variables, enum members, functions, class methods, object methods, TSX references, and JSDoc. Go support depends on the official Go extension and gopls. Hints are rendered at the end of the source line so they do not split expressions in the middle of a statement. The text prefix defaults to Noise and performance controlsThe extension filters declaration names, JSX tag names, and intermediate property-chain segments by default. It also deduplicates repeated line summaries, limits concurrent documentation lookups, times out slow lookups, and bounds resolver cache growth. Relevant settings:
Known limitsComment Doc Lens only runs for |