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

Support "gf" in es6 import statements by adding the file extension #1227

Merged
merged 1 commit into from
Jan 13, 2017
Merged

Support "gf" in es6 import statements by adding the file extension #1227

merged 1 commit into from
Jan 13, 2017

Conversation

aminroosta
Copy link
Contributor

@johnfn In the es6 import statements, the file extension is omitted, this PR tries to add the file extension automatically.

For example when your cursor is at "../node" the gf command will open ../node.ts

---------current file: src/cmd_line/commands/file.ts---------
import * as node from "../node";

@aminroosta
Copy link
Contributor Author

@johnfn One test is failing, but it seems irrelevant to changes in this PR.

@johnfn
Copy link
Member

johnfn commented Jan 13, 2017

Ah, wonderful! Thanks for the PR! :)

@johnfn johnfn merged commit 4a57ccb into VSCodeVim:master Jan 13, 2017
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants