Skip to content

[Bug] JSDoc Generator issue prevents creating file-level comments #29

@StefanHamminga

Description

@StefanHamminga

Description

When trying to add a file-level comment to include metadata / descriptions on the file in -for example- doxygen this plugin creates an error message and subsequently erases the comment characters already typed, preventing the user from actually adding the comment in any way.

Error message

Unable to generate JSDoc at position (Ln 0, Col 0).

Expected result

A file-level comment, as described here:

https://jsdoc.app/tags-file

/**
 * @file Manages the configuration settings for the widget.
 * @author Rowina Sanela <rsanela@example.com>
 */

Steps to reproduce

Open any existing JS file, on the first line try to make a jsdoc comment.

Environment used

Typescript version: ?
VSC version: 1.96.0-insider
OS: Arch Linux

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions