-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Multiline JSDoc Types #16179
Comments
As a workaround, it may help to delete the leading |
@seanf did not seem to help in my use-cases; would be great if this were built in without needing an explicit linter (since jsdoc technically already accepts multiline params) |
AFAIK this is fixed now. |
@weswigham is it? With VSCode Version 1.30.1: |
AFAIK the syntax highlighting is still waiting on atom/language-javascript#515 |
Yes, I found this link a bit after asking about it. Thanks! |
hi I found an issue with the multi-line JSDoc but I don't know if this will be here or I need to create another issue because it's related with multi-line JSDoc Types. The bug is that if you use multi-line the type is not inferred but if I put all in one line the type is inferred. Screen.Recording.2024-01-08.at.09.17.20.mov |
Please do file a new bug. This one tracked the addition of the feature, not bugs with it. When you do, can you provide the text of your program or a link to the typescript playground with your program included? |
From microsoft/vscode#27777
Issue
For the javascript:
The type of
x
isany
. It seems multiline types are not recognized in jsdocsThere seems to be some debate about whether this is supported or not: jscs-dev/node-jscs#245 but it seems closure and some other tools support the multiline syntax
Also tracking syntax highlighting for this case here: microsoft/TypeScript-TmLanguage#467
The text was updated successfully, but these errors were encountered: