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

Use a code-generation strategy to add imports #100

Merged
merged 1 commit into from
Jan 19, 2019

Conversation

DisposaBoy
Copy link
Contributor

Use a code-generation strategy instead of modifying the AST when adding imports.
The latter is a too unreliable when there are comments involved.
This should fix DisposaBoy/GoSublime#904 completely.

…ng imports.

The latter is a too unreliable when there are comments involved.
This should fix DisposaBoy/GoSublime#904 completely.
@DisposaBoy DisposaBoy merged commit 47ac6a0 into KurokuLabs:master Jan 19, 2019
@DisposaBoy DisposaBoy deleted the merge-imports branch January 19, 2019 17:13
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.

AddUnimportedPackages: true overwrites file header on autoimport
1 participant