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
feat(language-service): Quick fix to import a component when its selector is used #47088
Closed
+612
−37
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0fa7567
to
2eb969b
Compare
atscott
requested changes
Aug 10, 2022
e854da9
to
d383f22
Compare
90853b7
to
e8250fc
Compare
beb4e2b
to
35f6a9b
Compare
atscott
previously requested changes
Oct 5, 2022
bd161ea
to
d198966
Compare
1d09c07
to
bd9b144
Compare
ea053eb
to
23c69d6
Compare
alxhub
approved these changes
Oct 7, 2022
632065e
to
fd0fe22
Compare
ec90ac6
to
0e27ade
Compare
|
@alxhub I have applied fixes for all your comments, thanks! |
…ctor is used The language service can now generate an import corresponding to a selector. This includes both the TypeScript module import and the decorator import. This applies to both standalone components and components declared in NgModules.
|
This PR was merged into the repository by commit bebef5f. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
action: merge
PR author is ready for this to merge
comp: compiler
comp: language-service
compiler: template type-checking
cross-cutting: standalone
Issues related to the NgModule-less world
feature
Issue that requests a new feature
target: minor
This PR is targeted for the next minor release
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
The language service can now generate an import corresponding to a selector. This includes both the TypeScript module import and the decorator import. This applies to both standalone components and components declared in NgModules.
Previous PRs in this sequence:
Language Service: #47181
Compiler: #47180, #47166, #47561, #47631