You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,19 @@
2
2
3
3
* Known limitations with the preview Razor (cshtml) language service to be addressed in a future release:
4
4
* Only ASP.NET Core projects are supported (no support for ASP.NET projects)
5
-
* Limited support for colorization and formatting
6
-
* Loss of HTML completions following C# less than (`<`) operator
5
+
* Limited support for formatting
7
6
* Error squiggles misaligned for expressions near the start of a new line
8
7
* Emmet based abbreviation expansion is not yet supported
9
8
* There currently is no completion support for package references in csproj files. ([#1156](https://github.com/OmniSharp/omnisharp-vscode/issues/1156))
10
9
* As an alternative, consider installing the [MSBuild Project Tools](https://marketplace.visualstudio.com/items?itemName=tintoy.msbuild-project-tools) extension by @tintoy.
11
10
12
-
## 1.21.16 (Not yet released)
11
+
## 1.21.17 (Not yet released)
12
+
* Updated Razor support (PR:[#3696](https://github.com/OmniSharp/omnisharp-vscode/pull/3696))
13
+
* Razor support for `<text>` tag completions.
14
+
* Ability to restart the Razor Language Server to activate changes to the `razor.trace` level.
15
+
* Bug fixes and performance improvements.
16
+
17
+
## 1.21.16 (March 30, 2020)
13
18
* Support for .NET Core 3.1 in csx files (PR: [#1731](https://github.com/OmniSharp/omnisharp-roslyn/pull/1731))
14
19
* Update the minimal MSBuild to better support .NET 5 Previews ([omnisharp-vscode#3653](https://github.com/OmniSharp/omnisharp-vscode/issues/3653), PR: [#1746](https://github.com/OmniSharp/omnisharp-roslyn/pull/1746))
Copy file name to clipboardExpand all lines: test-plan.md
+23-16Lines changed: 23 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,29 +5,29 @@ When you open a directory in VS Code, the C# extension should look for a .csproj
5
5
If you look in "Output > Omnisharp Log" a bunch of information should be printed about what copy of MSBuild was used and what projects were load
6
6
7
7
Project types to test:
8
-
* Standalone csproj
9
-
* Directory containing .sln file that references csprojs--projects should be loaded
8
+
* Standalone csproj
9
+
* Directory containing .sln file that references csprojs--projects should be loaded
10
10
* .NET Core/.NET Standard csproj
11
11
* (Windows) Desktop .NET projects
12
12
* Unity projects
13
-
* A directory containing a .cs file without a csproj/sln. As stated above, intellisense should appear only when a change is made to the file.
13
+
* A directory containing a .cs file without a csproj/sln. As stated above, intellisense should appear only when a change is made to the file.
14
14
15
15
The easist way to verify that a project was successfully loaded is to open a .cs file within it and verify that the references codelens indicator appears.
16
16
17
17
#### Specific projects to test opening (on all OSes):
18
18
*`dotnet new console` in a directory
19
-
* A more complex dotnet solution, eg. [1]
19
+
* A more complex dotnet solution, eg. [1]
20
20
* A console app solution created in Visual Studio
21
21
22
22
#### Unity
23
23
* Follow the directions at https://code.visualstudio.com/docs/other/unity to configure VS Code with unity
24
24
* Try editing a project like https://github.com/staceyhaffner/SuperSpaceShooter
25
25
26
-
#### Intellisense
26
+
#### Intellisense
27
27
* The completion list in a file contains symbols defined in references and in the file
28
28
* If you write a documentation comment on a symbol, the completion list displays it
29
29
30
-
#### Signature Help
30
+
#### Signature Help
31
31
* Signature Help shows up in a method call after typing `(`
32
32
* Signature help shows documentation for methods and for parameters
33
33
* Parameter documentation is only shown for the currently active parameter
@@ -96,7 +96,7 @@ The easist way to verify that a project was successfully loaded is to open a .cs
96
96
#### ASP.NET Core Razor
97
97
The Razor experience is available when you open a .cshtml file in a valid OmniSharp project.
98
98
99
-
To setup a test project to verify on you can do:
99
+
To setup a test project to verify on you can do:
100
100
1. Install the latest preview of the .NET Core 3.0 SDK by going to https://github.com/dotnet/core-sdk and picking the appropriate platform specific installer from the Release/3.0.1XX column. The version should be 3.0.0-preview4-nnnnnn.
101
101
2.`dotnet new webapp`
102
102
3. Open `Pages/Index.cshtml`
@@ -161,13 +161,19 @@ Note that the pipe in the below examples indicates the cursor.
161
161
* Typing `@{ <strong> }` results in errors. One error should be about the "strong" tag missing a closing tag.
162
162
* Fixing the error and typing `</strong>` i.e. `@{ <strong></strong> }` results in the diagnostic going away.
163
163
164
+
##### HTML Completion Documentation
165
+
* Typing `<a` results in the suggestion of the `a` tag with a description of the tag, and `MDN Reference`.
166
+
167
+
##### C# <text> tag
168
+
* Typing `@{ <te` results in the suggestion of the `text` tag with a description. Selecting the `text` suggestion and closing the tag with the `>` character results in the closing `</text>` being automatically added.
169
+
164
170
##### Known issues:
165
-
- Error squiggles may be misaligned due to known issues.
171
+
- Error squiggles may be misaligned due to known issues.
166
172
167
173
#### Blazor
168
174
The Blazor experience is available when you open a .razor file in a valid OmniSharp/Blazor project.
169
175
170
-
To setup a test project to verify on you can do:
176
+
To setup a test project to verify on you can do:
171
177
1. Install the latest preview of the .NET Core 3.0 SDK by going to https://github.com/dotnet/core-sdk and picking the appropriate platform specific installer from the Release/3.0.1XX column. The version should be 3.0.0-preview4-nnnnnn.
172
178
2.`dotnet new blazorserverside`
173
179
3. Open `Pages/Index.razor`
@@ -220,7 +226,7 @@ To setup a test project to verify on you can do:
220
226
- Save `Counter.razor` then wait 5 seconds.
221
227
- Go back to `Index.razor` and type `<Counter |`, hit ctrl space, search for `IncrementAmount` attribute, commit the completion. Ensure that it auto-completes to `<Counter IncrementAmount="|"`
222
228
- While inside the `IncrementAmount` attribute type `in`, hit ctrl + space, search for `int`, type `.`, search for `MaxValue` commit it, you should have `<Counter IncrementAmount="int.MaxValue"`
223
-
* Verify `_Imports.razor` works as expected:
229
+
* Verify `_Imports.razor` works as expected:
224
230
- Add a new Folder `Utilities` under the `/Pages` folder. Within that folder add a `Helper.razor` file.
225
231
- Open the `_Imports.razor` under the `/Pages` folder. Add `@using YourProjectName.Pages.Utilities`
226
232
- Go back to `Index.razor`. Typing `<Helper>` prompts you with HTML completion for the `Helper` tag.
@@ -234,7 +240,7 @@ To setup a test project to verify on you can do:
234
240
- Error squiggles may be misaligned due to known issues.
235
241
236
242
#### Legacy Razor
237
-
The Razor experience is degraded (but no errors) when you open a .cshtml file in a valid OmniSharp/Legacy Razor project. To setup a test project to verify on you can do:
243
+
The Razor experience is degraded (but no errors) when you open a .cshtml file in a valid OmniSharp/Legacy Razor project. To setup a test project to verify on you can do:
238
244
1. Open Visual Studio
239
245
2. New Project
240
246
3. ASP.NET Web Application (.NET Framework)
@@ -249,7 +255,7 @@ The Razor experience is degraded (but no errors) when you open a .cshtml file in
249
255
250
256
##### C# Diagnostics
251
257
* There are 0 .cshtml related errors on open.
252
-
* Typing `@ThisDoesNotExist` does not result in an error being created.
258
+
* Typing `@ThisDoesNotExist` does not result in an error being created.
253
259
254
260
##### Html Completion
255
261
Verifying Html is needed to ensure the Razor experience is still partially enabled.
@@ -339,7 +345,7 @@ Verify each of the test projects above's `project.razor.json` file (ASP.NET Core
339
345
#### Report a Razor issue
340
346
Perform the following in any of the above Razor projects.
341
347
* Run the `Report a Razor issue` command while `razor.trace` is set to `Off`. Ensure that you get a dialog stating that `razor.trace` must be set to `Verbose`.
342
-
* Run the `Report a Razor issue` command while `razor.trace` is set to `Verbose`. Follow the instructions, type a little bit in a .cshtml file when it's recording. Once you stop the recording ensure that the content copied to your clipboard has the following information:
348
+
* Run the `Report a Razor issue` command while `razor.trace` is set to `Verbose`. Follow the instructions, type a little bit in a .cshtml file when it's recording. Once you stop the recording ensure that the content copied to your clipboard has the following information:
343
349
- Razor log output under the **Logs** section
344
350
- The Razor document content under the **Workspace information** section
345
351
- Projected CSharp document under the **Workspace information** section
@@ -358,6 +364,7 @@ This option can be set to any of the following values:
358
364
* "Off" - Will launch Razor Language server with its log output set to 'Off'. The header in the Razor Log output window will be shown but no other content will be shown.
359
365
* "Messages" - Will launch Razor Language server with its log output set to 'Messages'. Limited messages will be shown such as "Opening document xyz in project abc".
360
366
* "Verbose" - Will launch Razor Language server with its log output set to 'Verbose'. All logging messages will be shown such as "123 - Synchronizing documentxyz currently ...."
367
+
Changing this option should result in a notification message at the bottom right of the window, prompting for a restart of the Razor Language Server.
361
368
362
369
#### OmniSharp Options
363
370
@@ -367,19 +374,19 @@ This option can be set to any of the following values:
367
374
* "always" - Will launch OmniSharp using mono if version>=5.2.0 is installed and will throw an error otherwise.
368
375
* "never" - Launches OmniSharp without using the global mono
369
376
370
-
The value of OmniSharp path displayed in the OmniSharp log can be used to know if OmniSharp has launched using mono or not. If it is running using global mono, the path will end with "OmniSharp.exe" else the path will end with "run".
377
+
The value of OmniSharp path displayed in the OmniSharp log can be used to know if OmniSharp has launched using mono or not. If it is running using global mono, the path will end with "OmniSharp.exe" else the path will end with "run".
371
378
For using this option, mono version greater than or equal to 5.2.0 must be installed. If that is not so, setting this option to true, should give an error.
372
379
* If the option is not set, the OmniSharp path displayed in the "OmniSharp Log" should end with "run"
373
380
* If the option is set, the OmniSharp path as mentioned above should end with "OmniSharp.exe"
374
381
375
382
#### omnisharp.path
376
383
Setting this path to any of the values as listed below, should start the OmniSharp server and display the correct OmniSharp path in the `OmniSharp Log`(View --> Output--> OmniSharp Log).
377
384
* undefined - OmniSharp server must start using the copy of omnisharp shipped with the extension, that is, the OmniSharp path must be the extension path, followed by .omnisharp followed by the default omnisharp version as present in the package.json and the platform-specific executable.
378
-
* Some absolute path - OmniSharp server must start using the local copy of OmniSharp pointed to by the path and the same must be displayed as the Omnisharp path. Example:C:\omnisharp-roslyn\artifacts\publish\OmniSharp.Stdio\win7-x64\OmniSharp.exe.
385
+
* Some absolute path - OmniSharp server must start using the local copy of OmniSharp pointed to by the path and the same must be displayed as the Omnisharp path. Example:C:\omnisharp-roslyn\artifacts\publish\OmniSharp.Stdio\win7-x64\OmniSharp.exe.
379
386
* "<version>" - The specified version must be downloaded and installed (The status of download/install can be seen in the `C#` log). If the installation is successful, the server must start and the OmniSharp path must include the .omnisharp folder followed by the version name and the executable. Eg: If the version is `1.29.2-beta.60`, the path displayed on Windows should be `.omnisharp/1.29.2-beta.60/OmniSharp.exe`.
380
387
* "latest" - The file containing the information about the latest CI build (https://roslynomnisharp.blob.core.windows.net/releases/versioninfo.txt), must be downloaded and accordingly the latest CI build from the "master" branch of omnisharp-roslyn should be downloaded and installed. If the installation is successful, the server must start and the OmniSharp path must include the .omnisharp folder followed by the version name and the executable. Eg: If the latest version is `1.29.2-beta.62`, the path displayed on Windows should be `.omnisharp/1.29.2-beta.62/OmniSharp.exe`.
381
388
* All the above configurations should work, with and without setting the useMono option on Linux
382
-
* The above behavior should be exhibited when a new vscode window is opened, as well as if the setting is modified and a "Restart OmniSharp"(Ctrl+Shift+P --> OmniSharp: Restart OmniSharp) is performed.
389
+
* The above behavior should be exhibited when a new vscode window is opened, as well as if the setting is modified and a "Restart OmniSharp"(Ctrl+Shift+P --> OmniSharp: Restart OmniSharp) is performed.
383
390
384
391
#### Status Bar Item
385
392
The status bar item(s) must appear on the left side of the VS Code's status bar
0 commit comments