-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorDomain: JavaScriptThe issue relates to JavaScript specificallyThe issue relates to JavaScript specificallyFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
TypeScript Version: 3.2.0-rc
Search Terms:
- javascript
- auto imports
Code
For a js project :
jsconfig
{
"compilerOptions": {
"target": "es6",
"baseUrl": ".",
"jsx": "react"
},
"include": [
"src/**/*.js"
]
}
src/components/index.js
export const abc = 123;
src/bla.js
abc
- Trigger completions on
abc
inbla.js
Expected behavior:
Auto import completion for abc
is returned
Actual behavior:
No completion returned
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorDomain: JavaScriptThe issue relates to JavaScript specificallyThe issue relates to JavaScript specificallyFixedA PR has been merged for this issueA PR has been merged for this issue