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

Fixed insert position for autoimport with file header comment #27

Merged
merged 2 commits into from
Jan 3, 2017

Conversation

wiggin77
Copy link
Member

@wiggin77 wiggin77 commented Jan 3, 2017

Fix for (vshaxe/vshaxe#72). Now handles file header comments and includes unit tests.

@nadako nadako requested a review from Gama11 January 3, 2017 11:56
@Gama11
Copy link
Member

Gama11 commented Jan 3, 2017

Awesome, thanks!

@Gama11 Gama11 merged commit 5578277 into vshaxe:master Jan 3, 2017
Gama11 added a commit that referenced this pull request May 8, 2018
This effectively reverts #27, because it breaks a case that's more common in my opinion: types with doc comments. To handle both license headers and type doc comments correctly so imports are inserted between them requires something a bit more sophisticated. We should check how others (HaxeDevelop...) handle these sorts of cases.
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