Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Angular test file needs imports ordered #230

Closed
radu-matei opened this issue Oct 5, 2018 · 1 comment
Closed

Angular test file needs imports ordered #230

radu-matei opened this issue Oct 5, 2018 · 1 comment

Comments

@radu-matei
Copy link
Contributor

It appears Angular Zone.js needs imports ordered in test.ts - angular/zone.js#404

This means, as it was pointed out by @vdice in #227 (comment), that we currently cannot have the VS Code functionality that automatically orders the imports for that particular file.

But the issue is that, in its current form, the VS Code source.organizeImports cannot be parametrized for a specific file / file type / directory / extension, as it is explained in the relevant VS Code issue - microsoft/vscode#35350

As we'd really like to be able to have the ability for auto ordering the imports, this issue is to keep track of a workaround for adding the functionality, but ignore it for some particular files.

@krancour
Copy link
Contributor

Closing due to staleness, but please do reopen if necessary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants