Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Implement TagHelperCompletionService #1120

Closed
NTaylorMullen opened this issue Mar 24, 2017 · 4 comments
Closed

Implement TagHelperCompletionService #1120

NTaylorMullen opened this issue Mar 24, 2017 · 4 comments

Comments

@NTaylorMullen
Copy link
Contributor

The Razor editor currently has in-depth knowledge of how TagHelpers apply to an HTML element, its attributes and the overall document. We should abstract this knowledge into a service.

@rynowak
Copy link
Member

rynowak commented Mar 24, 2017

I'd also recommend here that we separate the completion apis into their own service.

NTaylorMullen added a commit that referenced this issue Mar 27, 2017
- Add API to enable the editor to query information on the state of `TagHelper`s within a Razor document.
- Refactored methods from `TagHelperDescriptorProvider` to be public static so our language service could use them.

#1120
NTaylorMullen added a commit that referenced this issue Mar 28, 2017
- Add API to enable the editor to query information on the state of `TagHelper`s within a Razor document.
- Refactored methods from `TagHelperDescriptorProvider` to be public static so our language service could use them.

#1120
NTaylorMullen added a commit that referenced this issue Mar 28, 2017
- Add API to enable the editor to query information on the state of `TagHelper`s within a Razor document.
- Refactored methods from `TagHelperDescriptorProvider` to be public static so our language service could use them.

#1120
NTaylorMullen added a commit that referenced this issue Mar 28, 2017
- Add API to enable the editor to query information on the state of `TagHelper`s within a Razor document.
- Refactored methods from `TagHelperDescriptorProvider` to be public static so our language service could use them.

#1120
NTaylorMullen added a commit that referenced this issue Mar 28, 2017
- Add API to enable the editor to query information on the state of `TagHelper`s within a Razor document.
- Refactored methods from `TagHelperDescriptorProvider` to be in a `TagHelperDescriptorConventions` class so the language service could use them.

#1120
NTaylorMullen added a commit that referenced this issue Mar 29, 2017
- Add API to enable the editor to query information on the state of `TagHelper`s within a Razor document.
- Refactored methods from `TagHelperDescriptorProvider` to be in a `TagHelperDescriptorConventions` class so the language service could use them.
- Added `DefaultTagHelperFactService` tests.

#1120
NTaylorMullen added a commit that referenced this issue Mar 29, 2017
- Add API to enable the editor to query information on the state of `TagHelper`s within a Razor document.
- Refactored methods from `TagHelperDescriptorProvider` to be in a `TagHelperDescriptorConventions` class so the language service could use them.
- Added `DefaultTagHelperFactService` tests.

#1120
@NTaylorMullen
Copy link
Contributor Author

22c7c90

Not closing because more bits will probably flow through this.

@rynowak rynowak changed the title Define a TagHelperFactService Implement TagHelperCompletionService Apr 14, 2017
@rynowak
Copy link
Member

rynowak commented Apr 14, 2017

We've implemented completion for HTML elements.

The remaining work here is to implement completion for attributes.

Moving the remaining work out of preview 1.

NTaylorMullen added a commit that referenced this issue May 3, 2017
- Added a `GetAttributeCompletions` API that's consistent with current Razor's editor expectations.
- Added unit tests to validate all code paths of the new `GetAttributeCompletions` method.

#1120
NTaylorMullen added a commit that referenced this issue May 3, 2017
- Added a `GetAttributeCompletions` API that's consistent with current Razor's editor expectations.
- Added unit tests to validate all code paths of the new `GetAttributeCompletions` method.

#1120
NTaylorMullen added a commit that referenced this issue May 4, 2017
- Added a `GetAttributeCompletions` API that's consistent with current Razor's editor expectations.
- Added unit tests to validate all code paths of the new `GetAttributeCompletions` method.

#1120
NTaylorMullen added a commit that referenced this issue May 5, 2017
- Added a `GetAttributeCompletions` API that's consistent with current Razor's editor expectations.
- Added unit tests to validate all code paths of the new `GetAttributeCompletions` method.

#1120
NTaylorMullen added a commit that referenced this issue May 5, 2017
- Added a `GetAttributeCompletions` API that's consistent with current Razor's editor expectations.
- Added unit tests to validate all code paths of the new `GetAttributeCompletions` method.

#1120
NTaylorMullen added a commit that referenced this issue May 5, 2017
- Added a `GetAttributeCompletions` API that's consistent with current Razor's editor expectations.
- Added unit tests to validate all code paths of the new `GetAttributeCompletions` method.

#1120
@NTaylorMullen
Copy link
Contributor Author

22c7c90
1795fc2

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

No branches or pull requests

2 participants