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

*.mjs files not suggested as *.js files #68638

Closed
leegee opened this issue Feb 13, 2019 · 5 comments
Closed

*.mjs files not suggested as *.js files #68638

leegee opened this issue Feb 13, 2019 · 5 comments
Assignees
Labels
javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@leegee
Copy link

leegee commented Feb 13, 2019

Issue Type: Bug

  1. Save a JS file with a .mjs extension.
  2. Save a JS file with a .js extension.
  3. Have the .js file import from the .mjs file
  4. Note the .mjs file is not suggested by Code.

VS Code version: Code 1.31.0 (7c66f58, 2019-02-05T22:35:56.624Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3408)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.88GB (9.12GB free)
Process Argv .
Screen Reader no
VM 0%
Extensions (5)
Extension Author (truncated) Version
Bookmarks ale 10.2.2
vscode-eslint dba 1.8.0
EditorConfig Edi 0.12.8
rainbow-csv mec 1.0.0
dotenv mik 1.0.1

image

@vscodebot
Copy link

vscodebot bot commented Feb 13, 2019

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@mjbvz mjbvz self-assigned this Feb 13, 2019
@mjbvz
Copy link
Collaborator

mjbvz commented Feb 13, 2019

Tracked upstream by microsoft/TypeScript#27957

@mjbvz mjbvz closed this as completed Feb 13, 2019
@mjbvz mjbvz added upstream Issue identified as 'upstream' component related (exists outside of VS Code) javascript JavaScript support issues labels Feb 13, 2019
@leegee
Copy link
Author

leegee commented Feb 13, 2019

The linked issue is from a couple of months ago, and is closed.

"This issue has been marked as a duplicate and has seen no activity in the last day. It has been closed for automatic house-keeping purposes."

Yet, the problem persists.

@mjbvz
Copy link
Collaborator

mjbvz commented Feb 13, 2019

The typescript issue upstream is open. It is tracking your request

@leegee
Copy link
Author

leegee commented Feb 13, 2019

Thanks, @mjbvz --- must've clicked a link in your link, this new internet connection is faster than I thought!

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

No branches or pull requests

2 participants