Граф коммитов

10701 Коммитов

Автор SHA1 Сообщение Дата
Phil Allen 701033e45f Update core-templates 2024-08-21 15:00:25 -07:00
Phil Allen 8a17d35edd Backport templates-official directory 2024-08-21 14:57:24 -07:00
Phil Allen af43e3bcad Backport azure-pipelines-official.yml to 17.6 and add monthly builds 2024-08-21 14:47:38 -07:00
Jan Jones a6a61fdfa7
[17.6] Revert "Perf/generator (#8212)" (#8742)
* Revert "Perf/generator (#8212)"

This reverts commit 4ab512e7f0.

* Add more tests
2023-05-22 09:07:23 -07:00
Chris Sienkiewicz 37f2727000
Include the missing deps as analyzer references (#8685) 2023-05-11 14:20:32 -07:00
Jan Jones 7e70591a78
Transport `Razor.Utilities.Shared` and its dependencies (#8611) 2023-04-20 16:50:16 +02:00
Adam Ratzman 2ae218df4b
Merge pull request #8583 from dotnet/adamint/d17.6-prefix-completion-workaround
Prefix completion workaround
2023-04-15 16:05:06 -04:00
Adam Ratzman b0ebe11d8e revert ABI change and do workaround directly in ProvideResolvedCompletionItemAsync 2023-04-11 01:48:17 -07:00
Adam Ratzman 51fbefedeb Return synchronized if seen document version > required document version for resolve action endpoint 2023-04-10 12:40:30 -07:00
Allison Chou 3be43f6abb
Merge pull request #8525 from dotnet/merges/main-to-release/dev17.6
Merges main to release/dev17.6
2023-03-28 21:22:57 -07:00
Allison Chou 67ae25fe24
Update PublishData.json 2023-03-28 18:07:03 -07:00
Chris Sienkiewicz 4ab512e7f0
Perf/generator (#8212)
* Don't re-run declaration code if nothing has changed
* Split tag helper discovery into component and compilation discovery
* Create a wrapper source generator engine that can selectively run phases
* Ensure we don't re-use a rewritten syntax tree
* Break output into multiple steps that can be largely skipped as needed
- Update event log names
- Update tests to match
2023-03-28 20:46:34 +00:00
Chris Sienkiewicz 9a6dcf5de5
Avoid allocating when comparing type names (#8297)
* Check the type simple name first, to avoid allocating a lot of strings
2023-03-28 09:35:55 -07:00
Jan Jones 10cbbd8a53
Render and verify Razor Page HTML in tests (#8435)
* Use ASP.NET Core SDK in SourceGenerator tests

* Render and verify Razor Page HTML

* Remove ASP.NET Core analyzers

* Include only DLLs from ASP.NET Core, not SDK

* Use `AssemblyLoadContext`

* Verify HTML output of view component

* Reference version 7.0.4 of ASP.NET Core DLLs

* Use empty strings as default parameter values

Co-authored-by: Fred Silberberg <fred@silberberg.xyz>

---------

Co-authored-by: Fred Silberberg <fred@silberberg.xyz>
2023-03-28 07:27:47 +00:00
David Wengier 29deb3e3cf
Merge pull request #8517 from davidwengier/WorkAroundWebTools 2023-03-28 15:08:53 +11:00
David Wengier f2156e3c60 Workaround web tools color adornment tagger bug 2023-03-28 12:43:40 +11:00
Chris Sienkiewicz b16f9dc4d8
Split benchmarks into hot and cold (#8194)
* Split benchmarks into hot and cold
2023-03-27 17:11:50 -07:00
Nikola Milosavljevic 1fadce6a41
Trim away netframework targets in source-build (#8513) 2023-03-27 16:43:26 +00:00
David Wengier 5038f0db79
Merge pull request #8500 from davidwengier/AutoClosingTagsSettingInVS 2023-03-27 08:25:19 +11:00
David Wengier 8ced4c729c Use separate code paths for VS Code and VS settings 2023-03-26 22:13:22 +11:00
David Wengier 193fa470eb
Merge pull request #8507 from davidwengier/CaseInsensitiveAddUsings 2023-03-25 13:54:46 +11:00
David Wengier 5980dfd45f PR feedback 2023-03-25 12:11:28 +11:00
David Wengier 3e2997eac1 Integration tests 2023-03-24 16:12:13 +11:00
David Wengier f7ef475995 Move Razor Add Usings code action resolver
This just confused me, because it wasn't in the Razor folder, and I thought it applied to C# too. It doesn't.
2023-03-24 16:12:03 +11:00
David Wengier 4ab2926360 Remove add using code action resolver
By allowing our existing code in the formatting pass to run when there are no remappable edits, we can remove the entire add using code action resolver, as we support adding usings from any code action regardless.

I wanted to do this ages ago, but it never worked, and doing this fix I found out why. So here we are.
2023-03-24 16:11:31 +11:00
David Wengier 16f8d74d3f Tests 2023-03-24 16:09:53 +11:00
David Wengier 9315697f79 Allow for the Add Imports code action to correct typos
When there is a case mismatch and Roslyn wants to fix it, the code action text is "FixedTypeName - using Namespace;", but our regex was only looking for the text to start with "using".
2023-03-24 16:08:51 +11:00
David Wengier da50e94eb8 Add integration tests 2023-03-24 12:38:47 +11:00
David Wengier a42516654b Fix loading of AutoClosingTags at startup 2023-03-24 12:38:20 +11:00
Maryam Ariyan a642b56a91
Merge pull request #8504 from dotnet/regression-2
Switch back to `IRegistrationExtension` from `IOnInitialized`
2023-03-23 20:45:45 -04:00
David Wengier 9b9e256bdb Don't update settings immediately upon property set
Fixes #8499
2023-03-24 09:46:48 +11:00
Maryam Ariyan a83e793bfc Switch back to `IRegistrationExtension` from `IOnInitialized`
- Switch back to `IRegistrationExtension` from `IOnInitialized` due to regression

Related to: #8488
2023-03-23 15:08:09 -07:00
Maryam Ariyan 87ff0af6ca
Merge pull request #8503 from dotnet/bugfix-completion-regression
Brings back `GetRegistration` for `RazorCompletionResolveEndpoint`
2023-03-23 17:05:51 -04:00
Maryam Ariyan 3478a321e3 Update tests 2023-03-23 13:01:30 -07:00
Maryam Ariyan a56b775910 Fix compile issue 2023-03-23 12:26:17 -07:00
Maryam Ariyan 5f3b6e93e5 The code was regressed earlier
client capabilities was not being initialized anymore
therefore the intellisense was showing up as default plain
rather than being markdown showing full type name and colored

Fixes #8488
2023-03-23 11:24:35 -07:00
David Wengier 5d6469a182 Expose the existing AutoClosingTags option in VS 2023-03-23 22:11:41 +11:00
Allison Chou d26d2072b8
[VS Code] Fix project.razor.json serialization issue (#8489) 2023-03-23 04:21:30 +00:00
David Wengier 343e753bca
Merge pull request #8494 from davidwengier/ReenableIntegrationTest 2023-03-23 14:34:14 +11:00
David Wengier 16c53f7e44
Merge pull request #8497 from davidwengier/BumpVersion 2023-03-23 13:54:59 +11:00
David Wengier dc29d3522c Bump version to 17.6 2023-03-23 13:31:16 +11:00
David Wengier 1c8eb21ad1
Merge pull request #8486 from dotnet/darc-main-41d1708c-b426-4aeb-ad12-e6df77c80c1d 2023-03-23 13:22:37 +11:00
David Wengier aabfa2ec35 Move off the scout queue, and stop using the dependencies extension 2023-03-23 11:30:22 +11:00
Adam Ratzman 625b592c6f
Merge pull request #8485 from dotnet/adamint/strip-generic-typeparam-from-rename-codeaction
Strip generic type params from rename codeaction
2023-03-22 11:55:00 -07:00
Adam Ratzman f28211e5a8 Update fqn comment 2023-03-22 10:27:35 -07:00
Dustin Campbell 0918ae1c8d
Merge pull request #8447 from DustinCampbell/improve-comparison-perf
Add more runtime checks to ComparerUtilities
2023-03-22 09:05:30 -07:00
dotnet-maestro[bot] 1420382494 Update dependencies from https://github.com/dotnet/arcade build 20230321.2
Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.23168.1 -> To Version 8.0.0-beta.23171.2
2023-03-22 12:55:15 +00:00
Jan Jones 33e06ed0fd
Remove unused `SourceGenerator.Tooling.Internal` (#8470) 2023-03-22 08:28:15 +00:00
David Wengier e13e007732
Merge pull request #8480 from davidwengier/DocumentHighlight 2023-03-22 16:17:25 +11:00
David Wengier bc3b09dba0
Merge pull request #8476 from davidwengier/Formatting 2023-03-22 15:07:05 +11:00