-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
intellisense does not work when using module.exports.fnName
#7824
Comments
I just wanted to add that this issue happens on Windows 10 / VSCode-10.14 as well. |
Why is this closed? it still happening: OS X El Capitán I have to attach the exports directly to the exports object instead of module.exports which I prefer. Regards |
This is part of TypeScript 2.0, which isn't quite yet GA. Have you manually updated your VSCode to use TypeScript 2.0? |
Hello @kitsonk , no I did not. Is there any manual somewhere? |
Still reproducing on VSC 2.2.1 With |
@GEKTORIAN can you file a new issue and share more details. |
@GEKTORIAN can you share your version of TS as well in the new issue. I could not repro with the latest: |
I have 2 files. One is -> node_modules\dw\order\OrderMgr.js. Example of the code: While in WebStorm I have this autocomplete based on OrderMgr content -> https://puu.sh/v0yAF/fb90821371.png p.s. I'm trying to create self-documented autocomplete for specific platform, that's my methods are empty and I wish to use JSDoc to describe what they are doing and show them in autocomplete. Any help is appreciated here. |
Can you elaborate where do these things in the webstorm screenshot come from? Since it is not from your sample code. And the VSCode screenshot shows that we know the |
@zhengbli it is from my sample code, I just didn't add rest of the methods, full version will be -
|
From @SamVerschueren on April 5, 2016 6:53
Steps to Reproduce:
cfx.js
with the following contentindex.js
cfx.
inindex.js
, it will not suggestgenerateCanvas
. If you changecfx.js
toexports.generateCanvas
instead ofmodule.exports.generateCanvas
, it works.This seems to be a bug because both notations are equivalent.
Copied from original issue: microsoft/vscode#4943
The text was updated successfully, but these errors were encountered: