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

2413 Коммитов

Автор SHA1 Сообщение Дата
dotnet-maestro[bot] 704bf1a315 Update dependencies from https://github.com/dotnet/razor-compiler build 20220714.1
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X.Internal.Transport , Microsoft.AspNetCore.Razor.Symbols.Transport , Microsoft.CodeAnalysis.Razor.Tooling.Internal
 From Version 7.0.0-preview.5.22357.2 -> To Version 7.0.0-preview.5.22364.1
2022-07-18 17:02:59 -07:00
dotnet-maestro[bot] 1ba6bac2ae
[main] Update dependencies from dotnet/razor-compiler (#6528)
[main] Update dependencies from dotnet/razor-compiler


 - Update tests
2022-07-09 13:34:52 +00:00
Allison Chou c12d5f515a
Update rename tests to use C# LSP server (#6529) 2022-06-22 16:01:37 -07:00
dotnet-maestro[bot] 907781679d
[main] Update dependencies from dotnet/razor-compiler (#6507)
[main] Update dependencies from dotnet/razor-compiler
2022-06-21 19:55:32 +00:00
Matt Ward 1c36702ce1 Update Razor addin version to 17.3
VS Mac 17.3 has breaking API changes which require its app compat
being changed to 17.3.
2022-06-20 16:58:23 +01:00
Allison Chou bffb507ec3
Update hover tests to use C# LSP server (#6511) 2022-06-17 12:13:59 -07:00
N. Taylor Mullen 5cbdb17adb Fix RpcContracts package flakiness.
- We keep seeing on CI builds that VisualStudio.RpcContracts gets mismatched due to transient versioning issues. For some reason this is a flakey issue and not consistent. To workaround the flakiness I'm pinning all of our RpcContract bits.
2022-06-10 18:52:15 -07:00
Allison Chou a9d7798c98
Re-insert "Generate semantic tokens legend programmatically + re-enable semantic tokens tests" (#6490) 2022-06-10 11:02:21 -07:00
Andrew Hall 2da8405696
Add collapsed text usage in Razor (#6492)
* Forwards collapsed text for FoldingRange if it's provided by Roslyn or HTML
* Adds CollapsedText for our own implementations
* If no CollapsedText is found, fall back to old behavior of modifying the start to be the end of the line
2022-06-07 14:41:38 -07:00
Allison Chou 6fdb6e62c5
Revert "Generate semantic tokens legend programmatically + re-enable semantic tokens tests (#6423)" (#6489)
This reverts commit 3a8659bfdd.
2022-06-06 21:17:19 +00:00
Allison Chou 3a8659bfdd
Generate semantic tokens legend programmatically + re-enable semantic tokens tests (#6423) 2022-06-06 10:04:35 -07:00
Ryan Brandenburg 7b8cff82ad
Remove PrivateAssets (#6478) 2022-06-01 18:53:09 +00:00
dotnet-maestro[bot] ade217ff65
Update dependencies from https://github.com/dotnet/razor-compiler build 20220531.1 (#6466)
[main] Update dependencies from dotnet/razor-compiler
2022-05-31 22:58:39 +00:00
David Wengier e94de3e1a5 Bump Roslyn 2022-05-24 17:05:15 +10:00
dotnet-maestro[bot] a8df2f883c
[main] Update dependencies from dotnet/arcade (#6247)
[main] Update dependencies from dotnet/arcade


 - Update Microsoft.CodeAnalysis.NetAnalyzers Version for 7.0 SDK

 - Merge branch 'main' of github.com:dotnet/razor-tooling into darc-main-7e5e47a2-aef7-4473-80f2-441777c008d1

 - Update SDK and dotnet versions

 - Use a version that exists

 - Use supported docker image

 - net6.0->net7.0
2022-05-20 00:47:29 +00:00
tmat 6fc30ca8b4 Update Roslyn to 4.3.0-2.22259.8 2022-05-10 13:16:14 -07:00
N. Taylor Mullen e159490902
Update to 17.3.15 LSP protocol version (#6365)
- The 17.3.15 version is the one VS will be shipping with.
- Reacted to enum -> static type change.
2022-05-09 19:57:16 -07:00
David Wengier f6f8470502
Merge pull request #6346 from davidwengier/DragonDrop 2022-05-06 11:42:17 +10:00
Ryan Brandenburg 21c978ab5e
Check Assembly load safely in Integration tests (#6353)
* Wait after File open
* Include assemblyLocation in error message
* Wait for Extension to load to check coloration
* Prevent unwanted references
* Debug upgrade
* Don't load assemblies
2022-05-05 16:29:37 -07:00
David Wengier df62688a80 Bump package versions 2022-05-03 10:40:28 +10:00
dotnet-maestro[bot] b8d88bba1a
Update dependencies from https://github.com/dotnet/razor-compiler build 20220428.1 (#6326)
[main] Update dependencies from dotnet/razor-compiler
2022-04-28 18:55:49 +00:00
Allison Chou 751db1ebea
Intercept C# semantic tokens refresh messages (#6298) 2022-04-27 12:32:25 -07:00
dotnet-maestro[bot] 49d3f885a8
Update dependencies from https://github.com/dotnet/razor-compiler build 20220419.2 (#6300)
[main] Update dependencies from dotnet/razor-compiler
2022-04-20 22:10:29 +00:00
dotnet-maestro[bot] 74978bc1b9
Update dependencies from https://github.com/dotnet/razor-compiler build 20220413.2 (#6289)
[main] Update dependencies from dotnet/razor-compiler
2022-04-14 01:06:48 +00:00
N. Taylor Mullen 6400272e0a
Pin all Microsoft.Extensions.X to 6.0.0. (#6282)
* Pin all Microsoft.Extensions.X to 6.0.0.

- Prior to this O# would bring in 2.0.0 versions of logging and dependency injection. This conflicted with VS4Mac's dependency of 6.0.0.
- Updated binding redirects for the abstractions and non-abstraction variants so that VS win does the right thing at runtime (also verified manually).
- Removed the `MicrosoftExtensions.ConfigurationPackageVersion` specification. Grouped it with the other Extension package versions (6.0.0)

Part of 6038

* Fix nullref warnings

* Remove DependencyModelPackageVersion

- Looks like this was all legacy code from back when the Razor compiler + SDK was in our repo. Removed!

* Fixed build warning about duplicate analyzers.

- We get analyzers transitively from `Microsoft.CodeAnalysis.Common`
2022-04-13 18:43:20 +00:00
dotnet-maestro[bot] f1cf21734c
Update dependencies from https://github.com/dotnet/razor-compiler build 20220405.1 (#6258)
[main] Update dependencies from dotnet/razor-compiler
2022-04-11 01:17:04 +00:00
David Barbet 6f5521e5ba Add deployment project to include dlls that are not available on public preview integration test machines 2022-04-01 22:08:13 -07:00
Ryan Brandenburg 62d7f0abbb
Add output pane capture (#6195)
Add output pane capture
2022-03-28 16:42:08 -07:00
dotnet-maestro[bot] ee8df63f87
Update dependencies from https://github.com/dotnet/razor-compiler build 20220323.1 (#6199)
[main] Update dependencies from dotnet/razor-compiler
2022-03-23 21:00:25 +00:00
dotnet-maestro[bot] 4bbbfaad1f
[main] Update dependencies from dotnet/razor-compiler (#6193)
[main] Update dependencies from dotnet/razor-compiler
2022-03-23 02:37:14 +00:00
Allison Chou dc1fee057f
Utilize C# LSP server in semantic tokens tests (#6146) 2022-03-18 16:55:49 -07:00
N. Taylor Mullen 8bcd023143 Move LSP editor feature detector to windows specific assembly.
- The old `DefaultLSPEditorFeatureDetector` was bound to windows (read VS win settings, feature flags, UI Contexts, depended on LiveShare) so I moved it to the windows specific binary and renamed it to be windows specific. I plan to implement a VSMac equivalent in a follow up.
- Had to add some new project dependencies to the windows assembly because oddly the LSP.Implementation assembly that's platform agnostic has VSwindows specific transitive dependencies.

Part of #6038
2022-03-11 14:26:20 -08:00
David Wengier 4a072ba475 Use latest roslyn compiler 2022-03-10 09:59:13 +11:00
dotnet-maestro[bot] beadca4849
Update dependencies from https://github.com/dotnet/razor-compiler build 20220309.1 (#6161)
[main] Update dependencies from dotnet/razor-compiler
2022-03-09 21:08:26 +00:00
DoctorKrolic 44098de03b Revert "Revert breaking commit" 2022-02-22 11:38:27 -08:00
DoctorKrolic 0fdbf1ed04 Revert breaking commit 2022-02-22 11:38:27 -08:00
dotnet-maestro[bot] 15012c0740
Update dependencies from https://github.com/dotnet/razor-compiler build 20220216.4 (#6101)
[main] Update dependencies from dotnet/razor-compiler
2022-02-17 05:07:23 +00:00
dotnet-maestro[bot] 26fd30ef6e
Update dependencies from https://github.com/dotnet/razor-compiler build 20220216.2 (#6100)
[main] Update dependencies from dotnet/razor-compiler
2022-02-17 03:45:45 +00:00
Tanay Parikh 6ecc0084ef
Fix Dependency Tree, Update Dependencies & Consume `TrySplitNamespace` Breaking Change (#6088)
* Fix Dependency Tree

@wtgodbe pointed out that `Microsoft.AspNetCore.Testing` isn't actually a dependency here, which is causing issues with the darc subscription.

* Update Version.Details.xml

* Microsoft.NET.Sdk.Razor (aspnetcore -> sdk)

* Update Dependencies Darc

* Remove Microsoft.NET.Sdk.Razor & Microsoft.NETCore.App.Ref

* React to `TrySplitNamespaceAndType` removal.

- In our `AddUsingsCodeActionProviderFactory` I went ahead and recreated the base type so we could continue to work as expected.

* Update src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/CodeActions/AddUsingsCodeActionProviderFactory.cs

Co-authored-by: Tanay Parikh <TanayParikh@users.noreply.github.com>

* Remove MicrosoftNETCoreAppRefPackageVersion

* Fix more warnings

* Update eng/Versions.props

Co-authored-by: Pranav K <prkrishn@hotmail.com>

* Revert Microsoft.NETCore.App.Runtime & Microsoft.NETCore.Platforms changes

* Fix hashes

* Fix `MicrosoftNETSdkRazorPackageVersion` Missing in Version.Details.xml

* Microsoft.NETCore.App.Runtime Removal

* Fix broken rename tests.

Co-authored-by: N. Taylor Mullen <nimullen@microsoft.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2022-02-17 00:38:05 +00:00
N. Taylor Mullen b4f413b277
Fix ability to run tests in VS & on command line. (#6091)
* Fix ability to run tests in VS & on command line.

- Since Razor utilizes a global.json that restricts what SDK is used this conflicts with the test runner who expects net6.0 to be available. Migrating our test projects to net6.0 resolves the ability to run tests in VS & at command line while simultaneously making everything faster 😄.
- Also moved rzls (VSCode language server) to net6.0 because it was darn easy and didn't require much extra work!

Fixes #5904

* Update net461 -> net472
2022-02-16 19:25:14 +00:00
Ryan Brandenburg 6a1252e066
Manually install node (#6026)
* Manually install node

* Use Git SHA instead of BranchName

* SourceBranchName

* Install node closer to build

* Update Version

* React to Template and classification changes

* Skip coloration tests based on VS version
2022-02-14 14:54:31 -08:00
Pranav K 56c4fba9cc
Remove Microsoft.AspNetCore.Testing dependency (#5873)
* Remove Microsoft.AspNetCore.Testing dependency
2022-02-11 18:55:09 -08:00
dotnet-maestro[bot] c40b3a1f5c
Update dependencies from https://github.com/dotnet/aspnetcore build 20220211.3 (#6080)
[main] Update dependencies from dotnet/aspnetcore
2022-02-11 23:07:06 +00:00
dotnet-maestro[bot] 6bf1a6d315
Update dependencies from https://github.com/dotnet/aspnetcore build 20220210.12 (#6078)
[main] Update dependencies from dotnet/aspnetcore
2022-02-11 03:37:29 +00:00
dotnet-maestro[bot] 8f43295471
[main] Update dependencies from dotnet/aspnetcore (#6070)
[main] Update dependencies from dotnet/aspnetcore
- Coherency Updates:
  - Microsoft.NETCore.App.Ref: from 6.0.1 to 6.0.2 (parent: Microsoft.AspNetCore.Testing)
  - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.1-servicing.21567.5 to 6.0.2-servicing.22064.6 (parent: Microsoft.AspNetCore.Testing)
  - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.1 to 6.0.2 (parent: Microsoft.AspNetCore.Testing)
2022-02-11 01:35:08 +00:00
Tomáš Matoušek e873be1d16
Update to new IRazorExcerptServiceimplementation interface (#6069)
* Update to new IRazorExcerptServiceimplementation interface

* Roslyn 4.2.0-2.22108.10
2022-02-10 15:57:55 -08:00
David Barbet 95d0323ff9
Merge pull request #6049 from dibarbet/snippet_formatting
Pass formatting options in snippets
2022-02-08 11:10:54 -08:00
dotnet-maestro[bot] 14d91973d4
Update dependencies from https://github.com/dotnet/aspnetcore build 20220207.7 (#6062)
[main] Update dependencies from dotnet/aspnetcore
2022-02-08 16:31:20 +00:00
David Wengier aeaeefc1aa
Merge pull request #6061 from davidwengier/BuildFix 2022-02-08 14:08:43 +11:00
David Wengier 9ae6b0f4fb Whitespace 2022-02-08 12:53:22 +11:00