From 4c165c14e3c5c371eac482a81b9451401f7b569b Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Mon, 27 Jan 2020 16:53:18 -0800 Subject: [PATCH 1/4] Update test-plan.md Include some new Razor scenarios. --- test-plan.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test-plan.md b/test-plan.md index aa8cd6fade..17d7cb1a12 100644 --- a/test-plan.md +++ b/test-plan.md @@ -106,6 +106,9 @@ To setup a test project to verify on you can do: * Completion is available for types that exist in the project (i.e. `Program`) * Typing `@model DateTime` prompts for completion for the `model` symbol and the `DateTime` symbol. +#### C# Lightbulbs +* Typing `@{ var x = new HtmlString("sdf"); }`results in squiggles under `HtmlString`. Selecting `HtmlString` and pressing Ctrl+. results in a change suggestion to fully-qualify that type name as `Microsoft.AspNetCore.Html.HtmlString`. Hitting enter on that suggestion resolves the squiggles and changes the line. + ##### C# Signature Help * Typing `@Html.Raw()` prompts for signature help inside of the `()`. @@ -137,6 +140,9 @@ To setup a test project to verify on you can do: ##### C# Diagnostics * Typing `@ThisDoesNotExist` results in an error being created and squiggled in the .cshtml file. NOTE: This error squiggly will be misaligned due to known issues. +#### TagHelper Quick Info +* Typing `` then hovering the mouse over the opening tag results in an informative window about that TagHelper. + ##### TagHelper completion Note that the pipe in the below examples indicates the cursor. * Typing `` prompts you with HTML completion for the `environment` tag and on completion commit auto-completes the closing tag. From e8110cb5ae7f82c760d5e9580c2d1e6495aba497 Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Tue, 28 Jan 2020 10:50:26 -0800 Subject: [PATCH 2/4] Update test-plan.md Co-Authored-By: Ajay Bhargav B --- test-plan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-plan.md b/test-plan.md index 17d7cb1a12..77a8eaf8e3 100644 --- a/test-plan.md +++ b/test-plan.md @@ -140,7 +140,7 @@ To setup a test project to verify on you can do: ##### C# Diagnostics * Typing `@ThisDoesNotExist` results in an error being created and squiggled in the .cshtml file. NOTE: This error squiggly will be misaligned due to known issues. -#### TagHelper Quick Info +##### TagHelper Quick Info * Typing `` then hovering the mouse over the opening tag results in an informative window about that TagHelper. ##### TagHelper completion From 1fa0ba46f05e75735541901ad1cdf8657382d896 Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Tue, 28 Jan 2020 10:56:56 -0800 Subject: [PATCH 3/4] Update test-plan.md --- test-plan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-plan.md b/test-plan.md index 77a8eaf8e3..58b39f5d39 100644 --- a/test-plan.md +++ b/test-plan.md @@ -141,7 +141,7 @@ To setup a test project to verify on you can do: * Typing `@ThisDoesNotExist` results in an error being created and squiggled in the .cshtml file. NOTE: This error squiggly will be misaligned due to known issues. ##### TagHelper Quick Info -* Typing `` then hovering the mouse over the opening tag results in an informative window about that TagHelper. +* Typing `` then hovering the mouse over the opening tag results in a window about that TagHelper that should read something like `EnvironmentTagHelper ITagHelper implementation targeting elements that conditionally renders content based on the current value of IHostingEnvironment.EnvironmentName...`. ##### TagHelper completion Note that the pipe in the below examples indicates the cursor. From b01ad535fdff7a2d5fb31d27b4ed63df3b0a9e35 Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Tue, 28 Jan 2020 10:57:46 -0800 Subject: [PATCH 4/4] Update test-plan.md Co-Authored-By: Ajay Bhargav B --- test-plan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-plan.md b/test-plan.md index 58b39f5d39..9ab02857dd 100644 --- a/test-plan.md +++ b/test-plan.md @@ -106,7 +106,7 @@ To setup a test project to verify on you can do: * Completion is available for types that exist in the project (i.e. `Program`) * Typing `@model DateTime` prompts for completion for the `model` symbol and the `DateTime` symbol. -#### C# Lightbulbs +##### C# Lightbulbs * Typing `@{ var x = new HtmlString("sdf"); }`results in squiggles under `HtmlString`. Selecting `HtmlString` and pressing Ctrl+. results in a change suggestion to fully-qualify that type name as `Microsoft.AspNetCore.Html.HtmlString`. Hitting enter on that suggestion resolves the squiggles and changes the line. ##### C# Signature Help