Skip to content

Salsa: jsdoc intellisense not support custom class and @typedef #6976

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

Closed
alexdima opened this issue Feb 9, 2016 · 3 comments
Closed

Salsa: jsdoc intellisense not support custom class and @typedef #6976

alexdima opened this issue Feb 9, 2016 · 3 comments
Labels
Committed The team has roadmapped this issue Fixed A PR has been merged for this issue Suggestion An idea for TypeScript

Comments

@alexdima
Copy link
Member

alexdima commented Feb 9, 2016

Moved from microsoft/vscode#2817
From @Thaina

I was upgrade to use salsa and most of thing work fine. which is really great

Except custom type and @typedef which cannot registered in intellisense

As the image shown. type of pos0 parameter is not Point object I was created. While pos1 is correct

screen shot 2559-02-09 at 12 40 30 pm

@billti
Copy link
Member

billti commented Feb 9, 2016

Currently @constructor or @typedef are not supported, and won't be in the upcoming 1.8 release. We'll consider for 2.0.

@billti billti added Suggestion An idea for TypeScript Salsa labels Feb 9, 2016
@billti billti added this to the TypeScript 2.0 milestone Feb 9, 2016
@Thaina
Copy link

Thaina commented Feb 10, 2016

@billti So without @constructor or @typedef it cannot use custom type with @param or @typeor any other tag at all?

@billti
Copy link
Member

billti commented Feb 12, 2016

You can currently reference a TypeScript "*.d.ts" file in the project, and those types will be useable in the JavaScript file's JsDoc comments. Long term we hope to add more support for specifying the types in JsDoc annotations (such as those mentioned), but this is an option to unblock you currently.

@mhegazy mhegazy modified the milestones: Community, TypeScript 2.0 Feb 19, 2016
@mhegazy mhegazy added the Committed The team has roadmapped this issue label Feb 19, 2016
@mhegazy mhegazy modified the milestones: TypeScript 2.0, Community Feb 19, 2016
@zhengbli zhengbli assigned zhengbli and unassigned billti Mar 21, 2016
@zhengbli zhengbli added the Fixed A PR has been merged for this issue label May 31, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Committed The team has roadmapped this issue Fixed A PR has been merged for this issue Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

5 participants