Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow disable @returns JSDoc generation #116282

Closed
mjbvz opened this issue Feb 10, 2021 · 1 comment
Closed

Allow disable @returns JSDoc generation #116282

mjbvz opened this issue Feb 10, 2021 · 1 comment
Assignees
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders javascript JavaScript support issues verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@mjbvz
Copy link
Collaborator

mjbvz commented Feb 10, 2021

Tracks implementing support for microsoft/TypeScript#42642

@mjbvz mjbvz added feature-request Request for new features or functionality javascript JavaScript support issues labels Feb 10, 2021
@mjbvz mjbvz added this to the February 2021 milestone Feb 10, 2021
@mjbvz mjbvz self-assigned this Feb 10, 2021
@mjbvz mjbvz closed this as completed in 3dc8cb1 Feb 10, 2021
@mjbvz mjbvz added the verification-needed Verification of issue is requested label Feb 23, 2021
@mjbvz
Copy link
Collaborator Author

mjbvz commented Feb 23, 2021

To test:

  1. Make sure you are using TS 4.2+ in the workspace
  2. Create a JS file:
function foo(x) { return x; }
  1. Before the function, type /** and accept the suggestion to create a jsdoc comment
  2. Confirm a @returns is generated
  3. Now set "javascript.suggest.jsdoc.generateReturns": false
  4. Try creating the comment again and confirm that @returns is not created

@jrieken jrieken added the verified Verification succeeded label Feb 23, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders javascript JavaScript support issues verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants
@jrieken @mjbvz and others