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

Filename completion for imports? #11351

Closed
ffxsam opened this issue Aug 31, 2016 · 4 comments
Closed

Filename completion for imports? #11351

ffxsam opened this issue Aug 31, 2016 · 4 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s) typescript Typescript support issues

Comments

@ffxsam
Copy link

ffxsam commented Aug 31, 2016

  • VSCode Version: 1.4.0
  • OS Version: Mac OS 10.11.6

I haven't been able to figure out if VS Code will do file/path completion when using ES2015 import. It seems like it doesn't (it should IMO). Once I've typed in a path, I can cmd-click it to jump to the file, which is great, except if the import is an absolute path, e.g.:

import { something } from '/rootlevel/this/that';

Then VS Code has no idea what that file is. Is there some way to get this working?

@dbaeumer
Copy link
Member

dbaeumer commented Sep 1, 2016

The TS team is working on this. See microsoft/TypeScript#9353

@dbaeumer dbaeumer closed this as completed Sep 1, 2016
@dbaeumer dbaeumer added typescript Typescript support issues *duplicate Issue identified as a duplicate of another issue(s) labels Sep 1, 2016
@ffxsam
Copy link
Author

ffxsam commented Sep 1, 2016

So, once this change is live, will it work if I'm using VS Code with javascript.validate.enable set to false?

@dbaeumer
Copy link
Member

dbaeumer commented Sep 1, 2016

Yes.

@ffxsam
Copy link
Author

ffxsam commented Sep 1, 2016

Excellent. Thanks, Dirk!

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) typescript Typescript support issues
Projects
None yet
Development

No branches or pull requests

2 participants