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

Support for intelliSense in requirejs projects #20924

Closed
iFarmGolems opened this issue Feb 20, 2017 · 4 comments
Closed

Support for intelliSense in requirejs projects #20924

iFarmGolems opened this issue Feb 20, 2017 · 4 comments
Assignees
Labels
javascript JavaScript support issues typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@iFarmGolems
Copy link

Basically title.

Is it possible to add it? Or is there any plugin that can do such thing?

Thanks.

@mjbvz mjbvz added info-needed Issue requires more information from poster javascript JavaScript support issues typescript Typescript support issues labels Feb 21, 2017
@mjbvz
Copy link
Contributor

mjbvz commented Feb 21, 2017

Can you please provide a small example project and describe the problem you are running into currently?

Thanks

@iFarmGolems
Copy link
Author

Of course, I set up a little project here: https://github.com/iFarmGolems/requirejs-intellisense-vscode

The thing is, when I am in testmodule and I invoke constructor function from my dependency, vscode will not predict properties on that object.

I may be missing something, but I think that intellisense can not work without pointing it to my config file with respective paths.

@mjbvz mjbvz added upstream Issue identified as 'upstream' component related (exists outside of VS Code) and removed info-needed Issue requires more information from poster labels Feb 24, 2017
@mjbvz
Copy link
Contributor

mjbvz commented Feb 24, 2017

Thanks for the example project. I confirmed that it does not work as expected and was unable to create a configuration that allows for better intellisense in this project type.

We use the TypeScript server for JavaScript language features and support for AMD modules is being tracked upstream: microsoft/TypeScript#6942

Closing as upstream

@MankalMR
Copy link

MankalMR commented Mar 8, 2017

I would definitely love to have to this feature. I think there are several legacy codebases out there which would benefit from this feature.
One way to resolve the dependencies can be to have the vscode lookup a requires config file (this can be configurable per project).

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
javascript JavaScript support issues typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

3 participants