Place imports after licence/comment headers
See original GitHub issueFor the moment top comments (license headers) are not respected during auto-import. For example:
sample.ts
/*!
* @license
* Copyright 2016 Company.
*/
export class MyClass {}
During auto-import the line will be added to the top of the file:
sample.ts
import { Observable } from 'rxjs/Rx';
/*!
* @license
* Copyright 2016 Company.
*/
export class MyClass {}
Expected behaviour: it should put imports after top comment block (ideally to be configurable via some settings flag)
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Item 2: Minimize Importing Headers in Headers - InformIT
Always import headers at the very deepest point possible. This usually means forward declaring classes in a header and importing their ...
Read more >Walkthrough: Build and import header units in Visual C++ ...
Compile a header file as a header unit using the following steps in Visual Studio: Create a new C++ console app project. Replace...
Read more >Connect 5 Importing Guide
PhoneNumber. Use the column headers listed under “Column Headers” to identify your recipient's applicable phone numbers. All U.S. phone numbers should include ...
Read more >What are headers and how to add or edit them?
Headers are used to name the fields in a file for imports and merges. Examples of headers ... To edit row 1, place...
Read more >How to to import headers automatically in xcode
The idea is place on that header the #defines that will enable/disable functionalities. I do not want to write #import "common.h" on every...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Working on this as we speak 😃
cheers!
Yeah, I agree - I am going to build some configuration into this.