[JS] Codecompletion: Modules
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Description
If you use JS-modules, the codecompletion does not work as expected:
m2.js:
```
'use strict';
export function test(){
alert("test called");
}
```
m1.js:
```
'use strict';
import * as example from './m2.js';
```
if you type "example." the function "test()" is not found.
### Use case/motivation
_No response_
### Related issues
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
Contributor guide
Research direction
Reproduce the issue using the m1.js and m2.js examples, then inspect the JavaScript code-completion behavior for the imported module. The work is complete when typing "example." in m1.js offers the exported test() function from m2.js.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100