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
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
dylhunn
added
state: WIP
area: language-service
Issues related to Angular's VS Code language service
target: minor
This PR is targeted for the next minor release
labels
Aug 9, 2022
dylhunn
force-pushed
the
auto-import-component
branch
4 times, most recently
from
August 9, 2022 06:48
0fa7567
to
2eb969b
Compare
atscott
requested changes
Aug 10, 2022
dylhunn
force-pushed
the
auto-import-component
branch
2 times, most recently
from
September 22, 2022 02:41
e854da9
to
d383f22
Compare
dylhunn
added
area: compiler
Issues related to `ngc`, Angular's template compiler
compiler: template type-checking
cross-cutting: standalone
Issues related to the NgModule-less world
labels
Sep 22, 2022
dylhunn
changed the title
feat(language-service): Quick fix to add imports for standalone components
feat(language-service): Quick fix to import a component when its selector is used
Sep 22, 2022
dylhunn
force-pushed
the
auto-import-component
branch
3 times, most recently
from
September 27, 2022 18:28
90853b7
to
e8250fc
Compare
dylhunn
force-pushed
the
auto-import-component
branch
from
October 5, 2022 01:37
e8250fc
to
3046f95
Compare
dylhunn
force-pushed
the
auto-import-component
branch
5 times, most recently
from
October 5, 2022 07:57
beb4e2b
to
35f6a9b
Compare
dylhunn
force-pushed
the
auto-import-component
branch
from
October 6, 2022 02:45
bd161ea
to
d198966
Compare
dylhunn
added
action: review
The PR is still awaiting reviews from at least one requested reviewer
and removed
state: WIP
labels
Oct 6, 2022
dylhunn
force-pushed
the
auto-import-component
branch
4 times, most recently
from
October 6, 2022 19:45
1d09c07
to
bd9b144
Compare
dylhunn
force-pushed
the
auto-import-component
branch
4 times, most recently
from
October 6, 2022 23:13
ea053eb
to
23c69d6
Compare
alxhub
approved these changes
Oct 7, 2022
dylhunn
force-pushed
the
auto-import-component
branch
3 times, most recently
from
October 10, 2022 17:39
632065e
to
fd0fe22
Compare
dylhunn
force-pushed
the
auto-import-component
branch
2 times, most recently
from
October 10, 2022 20:30
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.
dylhunn
force-pushed
the
auto-import-component
branch
from
October 10, 2022 20:36
0e27ade
to
99fbd76
Compare
dylhunn
added
action: merge
The PR is ready for merge by the caretaker
and removed
action: review
The PR is still awaiting reviews from at least one requested reviewer
labels
Oct 10, 2022
This PR was merged into the repository by commit bebef5f. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
action: merge
The PR is ready for merge by the caretaker
area: compiler
Issues related to `ngc`, Angular's template compiler
area: language-service
Issues related to Angular's VS Code 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.
Suggestion cannot be applied right now. Please check back later.
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