Todd Grunke
b22fb8943f
Add overloads to the request invoker that allows the capabilities filter to inspect the parameter to determine whether the command is supported.
...
WebTools has a way to get this functionality without this change, so it's not needed. I've also changed the default onTypeFormatting to inspect that data, but other default filters could also benefit from this.
I'm not certain this commit improves things, so I'll defer creating a PR until I get feedback indicating whether to proceed.
2022-10-11 12:24:59 -07:00
dotnet-maestro[bot]
61cc048d36
Update dependencies from https://github.com/dotnet/arcade build 20220912.4 ( #6822 )
...
[main] Update dependencies from dotnet/arcade
2022-09-13 00:26:04 +00:00
dotnet-maestro[bot]
5d73a97310
Update dependencies from https://github.com/dotnet/arcade build 20220906.4 ( #6820 )
...
[main] Update dependencies from dotnet/arcade
2022-09-12 16:27:34 +00:00
Ryan Brandenburg
24a357bb0a
Update Integration tests ( #6818 )
2022-09-09 14:58:02 -07:00
Dustin Campbell
8ab8aa2f61
Merge pull request #6817 from DustinCampbell/fix-razor-vsix-and-mpack
...
Add MS.AspNetCore.Razor.Common to VSIX and MPack
2022-09-09 14:36:03 -07:00
Dustin Campbell
b35b397f0e
Add MS.AspNetCore.Razor.Common to VSIX and MPack
2022-09-09 11:47:28 -07:00
Allison Chou
191839e784
Update FabricBot for 17.4 P3 ( #6807 )
2022-09-08 16:54:53 -07:00
Dustin Campbell
a18b6d3577
Merge pull request #6803 from DustinCampbell/language-support
...
Make types needed to support newer C# language features available throughout the Razor solution
2022-09-08 13:35:26 -07:00
Dustin Campbell
0a71c0fdea
Use global usings to disambiguate System.Range from Protocol.Range
2022-09-07 17:26:20 -07:00
Dustin Campbell
a3f64cf39d
Add Index and Range to MS.ASPCore.Razor.Common
2022-09-07 17:03:02 -07:00
Dustin Campbell
e9870f32ef
Add CallerArgumentExpressionAttribute to MS.ASPCore.Razor.Common
2022-09-07 16:25:02 -07:00
Dustin Campbell
7e1e5a094c
Add attributes for C# required properties to MS.ASPCore.Razor.Common
2022-09-07 16:22:53 -07:00
Dustin Campbell
27e51cdeeb
Introduce Microsoft.AspNetCore.Razor.Common project with nullability attributes
2022-09-07 16:14:07 -07:00
Dustin Campbell
55c6b60806
Link the same IsExternalInit.cs into every project rather than copying it
2022-09-07 15:54:45 -07:00
Andrew Hall
53907cc138
Remove restriction for completion while inside an HTML start tag ( #6794 )
2022-09-07 14:42:06 -07:00
Dustin Campbell
70649706d2
Merge pull request #6798 from DustinCampbell/fix-build-script
...
Fix build.cmd to always pass -restore and -build
2022-09-07 11:31:24 -07:00
Dustin Campbell
b12c5c66ab
Fix build.cmd to always pass -restore and -build
...
Fixes #6790
This fixes an issue that was introduced with #6545 where `build.cmd` would no
longer pass the `-restore` and `-build` arguments by default. Previously,
`build.cmd` also passed `-pack`, but that appears to be failing, so I've
chosen to leave that out for now.
2022-09-07 10:06:20 -07:00
David Wengier
b44e1157c7
Merge pull request #6789 from DoctorKrolic/fix-snippet-behaviour
2022-09-07 19:05:42 +10:00
David Wengier
df69d672fc
Merge pull request #6786 from davidwengier/SingleServerAutoInsert
2022-09-07 12:57:52 +10:00
David Wengier
a8a8f4ad36
Merge pull request #6785 from davidwengier/FullAddUsingSupport
2022-09-07 12:57:45 +10:00
David Wengier
15f2af14f4
Rename
2022-09-07 11:55:00 +10:00
David Wengier
70f95252c1
PR feedback
2022-09-07 11:42:47 +10:00
DoctorKrolic
a128784c6f
Typo
2022-09-06 23:45:58 +03:00
DoctorKrolic
23ebcfe68d
Fixed snippet behaviour in the middle of an attribute
2022-09-06 23:40:10 +03:00
David Wengier
0ee3665a52
Try an integration test too, just for fun
2022-09-06 14:03:29 +10:00
David Wengier
a3a2a38605
Tests tests tests
2022-09-06 13:56:57 +10:00
David Wengier
da3fd16266
Stop the old handler from running
2022-09-06 13:56:49 +10:00
David Wengier
eaf007f69a
Update auto insert endpoint to single server delegation
2022-09-06 13:56:40 +10:00
David Wengier
31b2fe5815
Add OnAutoInsert delegation target
2022-09-06 13:44:27 +10:00
David Wengier
3dbb7adf40
Allow a little more flexibility in our delegating endpoints
2022-09-06 13:40:45 +10:00
dotnet-maestro[bot]
655e204a5e
[main] Update dependencies from dotnet/arcade ( #6721 )
...
[main] Update dependencies from dotnet/arcade
2022-09-05 13:15:11 +00:00
David Wengier
87fe96d121
Update src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Formatting/CSharpOnTypeFormattingPass.cs
2022-09-05 17:12:48 +10:00
David Wengier
266cb16925
Allow any add using to work
2022-09-05 17:08:58 +10:00
David Wengier
254d696110
Don't update anything if we've been disposed ( #6777 )
...
* Don't update anything if we've been disposed
* Update src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/DefaultProjectWorkspaceStateGenerator.cs
Co-authored-by: Ryan Brandenburg <rybrande@microsoft.com>
Co-authored-by: Ryan Brandenburg <rybrande@microsoft.com>
2022-09-03 00:06:39 +00:00
David Wengier
5d96e7632b
Merge pull request #6764 from davidwengier/Nullable
2022-09-03 09:44:17 +10:00
Joey Robichaud
ff8a41b1f1
Don't target win10 ( #6780 )
2022-09-02 16:26:19 -07:00
Ryan Brandenburg
10bfad0b5a
Use system.private.uri ( #6778 )
2022-09-02 13:52:28 -07:00
David Wengier
309b319a67
Merge pull request #6774 from JamieMagee/cgmanifest-schema
2022-09-02 06:56:57 +10:00
Arun Chander
3a378cfdea
Moving clasp design doc over from Taylor's repo.
2022-09-01 13:22:55 -07:00
Jamie Magee
1510e22580
Add `$schema` to `cgmanifest.json`
2022-09-01 08:33:15 -07:00
Alex Perovich
a2458bcc98
Update public pool names ( #6771 )
2022-08-31 20:39:52 -07:00
Ryan Brandenburg
469b46c3ec
Use Main from DartLab.Templates ( #6770 )
2022-08-31 16:04:40 -07:00
Ryan Brandenburg
da152bfa9c
Update VS.BuildTools version ( #6763 )
2022-08-31 11:00:09 -07:00
David Wengier
64a0117763
Merge pull request #6767 from davidwengier/ProtectAgainstOutOfSyncCSharp
2022-08-31 17:39:12 +10:00
David Wengier
6828bb09c9
Update src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Formatting/CSharpOnTypeFormattingPass.cs
...
Co-authored-by: Allison Chou <allichou@microsoft.com>
2022-08-31 16:23:27 +10:00
David Wengier
90be5c618f
Don't NFW when we get a bad edit from C#
2022-08-31 13:56:34 +10:00
David Wengier
e1dbfc7ccb
Actually listen to LSP requests (and tell the server that we can) ( #6765 )
2022-08-31 01:44:06 +00:00
David Wengier
02a991bda8
Null annotate MS.AspNetCore.Razor.LanguageServer.Common
2022-08-31 10:36:25 +10:00
Joey Robichaud
98432b29cf
Update Razor Language Server RIDs ( #6734 )
...
Move from win-* to win10-*. Add linux-musl-* RIDs.
2022-08-30 09:08:15 -07:00
David Wengier
e6c3064096
Merge pull request #6743 from davidwengier/FixNRE
2022-08-27 09:51:48 +10:00