react-proptypes-intellisense icon indicating copy to clipboard operation
react-proptypes-intellisense copied to clipboard

Can't get suggestion from an imported class (only from inside the same js file)

Open gino8080 opened this issue 5 years ago • 9 comments

🐛 bug report

To Reproduce

Steps to reproduce the behavior:

  1. create an app with create-react-app
  2. inside the default App.js component add some prop-types
  3. in the index.js file press CTRL-SPACE to get prop suggestion

🤔 Expected Behavior

Vscode should suggest custom props

😯 Current Behavior

no suggestion from custom props added, Only got suggestions INSIDE same .js file

Screenshots

no suggestion from custom props added no suggestion from custom props added

Only got suggestions INSIDE same .js file Only got suggestions INSIDE same .js file

Environment

  • OS: macOS 10.13.4 (17E202)
  • VS Code Version 1.26.1 (1.26.1)

Additional context

gino8080 avatar Aug 27 '18 15:08 gino8080