Skip to content

Commit 7d0b39c

Browse files
authored
Merge branch 'master' into skip_test
2 parents aa6f110 + 41072f7 commit 7d0b39c

File tree

6 files changed

+42
-34
lines changed

6 files changed

+42
-34
lines changed

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1-
## Known Issues in 1.17.0
1+
## Known Issues in 1.17.1
22

33
* Known limitations with the preview Razor (cshtml) language service to be addressed in a future release:
44
* Only ASP.NET Core projects are supported (no support for ASP.NET projects)
55
* Support for tag helpers and formatting not yet implemented
66
* Limited support for colorization
77
* Loss of HTML completions following C# less than (`<`) operator
88
* Error squiggles misaligned for expressions near the start of a new line
9-
* Leaving Razor files open for a significant period of time results in loss of Razor C# tooling on macOS
109
* Incorrect errors in Blazor projects for event bindings
10+
* Emmet based abbreviation expansion is not yet supported
1111
* There currently is no completion support for package references in csproj files. ([#1156](https://github.com/OmniSharp/omnisharp-vscode/issues/1156))
1212
* As an alternative, consider installing the [MSBuild Project Tools](https://marketplace.visualstudio.com/items?itemName=tintoy.msbuild-project-tools) extension by @tintoy.
1313

14-
## 1.17.0 (Not yet released)
14+
## 1.17.1 (November 11, 2018)
15+
16+
* Updated Razor language service to fix various Razor editing reliability issues. For details see https://github.com/aspnet/Razor.VSCode/releases/tag/1.0.0-alpha2.
17+
18+
## 1.17.0 (October 31, 2018)
1519

1620
* Added preview Razor (cshtml) language service with support for C# completions and diagnostics in ASP.NET Core projects. Please report issues with the preview Razor tooling on the [aspnet/Razor.VSCode](https://github.com/aspnet/Razor.VSCode/issues) repo. To disable the preview Razor tooling set the "razor.disabled" setting to `true`. (PR: [2554](https://github.com/OmniSharp/omnisharp-vscode/pull/2554))
1721
* Added omnisharp.minFindSymbolsFilterLength setting to configure the number of characters a user must type in for "Go to Symbol in Workspace" command to return any results (default is 0 to preserve existing behavior). Additionally added omnisharp.maxFindSymbolsItems for configuring maximum number of items returned by "Go to Symbol in Workspace" command. The default is 1000. (PR: [#2487](https://github.com/OmniSharp/omnisharp-vscode/pull/2487))

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ The C# extension is powered by [OmniSharp](https://github.com/OmniSharp/omnishar
2020
* [Documentation](https://code.visualstudio.com/docs/languages/csharp)
2121
* [Video Tutorial compiling with .NET Core](https://channel9.msdn.com/Blogs/dotnet/Get-started-VSCode-Csharp-NET-Core-Windows)
2222

23+
### What's new in 1.17.1
24+
25+
* Updated Razor language service to fix various Razor editing reliability issues. For details see https://github.com/aspnet/Razor.VSCode/releases/tag/1.0.0-alpha2.
26+
2327
### What's new in 1.17.0
2428
* Added preview Razor (cshtml) language service with support for C# completions and diagnostics.
2529
* Added omnisharp.minFindSymbolsFilterLength setting to configure the number of characters a user must type in for "Go to Symbol in Workspace" command to return any results

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "csharp",
33
"publisher": "ms-vscode",
4-
"version": "1.17.0",
4+
"version": "1.17.1",
55
"description": "C# for Visual Studio Code (powered by OmniSharp).",
66
"displayName": "C#",
77
"author": "Microsoft Corporation",
@@ -25,7 +25,7 @@
2525
"multi-root ready"
2626
],
2727
"defaults": {
28-
"omniSharp": "1.32.6"
28+
"omniSharp": "1.32.8"
2929
},
3030
"main": "./out/src/main",
3131
"scripts": {
@@ -73,7 +73,7 @@
7373
"http-proxy-agent": "2.1.0",
7474
"https-proxy-agent": "2.2.1",
7575
"jsonc-parser": "1.0.0",
76-
"microsoft.aspnetcore.razor.vscode": "https://download.visualstudio.microsoft.com/download/pr/da8ed554-fba5-4a26-858d-3d73425c2c9e/2775a951ae6431047ab6e3c51192585c/microsoft.aspnetcore.razor.vscode-1.0.0-alpha1-20181019.5.tgz",
76+
"microsoft.aspnetcore.razor.vscode": "https://download.visualstudio.microsoft.com/download/pr/3b0ae709-c067-48b4-a658-549ca972e437/386a5dff35391e14f14e5945e7903f63/microsoft.aspnetcore.razor.vscode-1.0.0-alpha2-20181112.3.tgz",
7777
"mkdirp": "0.5.1",
7878
"node-filter-async": "0.0.4",
7979
"open": "*",
@@ -145,52 +145,52 @@
145145
"runtimeDependencies": [
146146
{
147147
"description": "OmniSharp for Windows (.NET 4.6 / x86)",
148-
"url": "https://download.visualstudio.microsoft.com/download/pr/a8501982-f057-4675-bf2f-57e4aa9f0990/565cf2c817915cbc195aeb80aae689bf/omnisharp-win-x86-1.32.6.zip",
149-
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x86-1.32.6.zip",
150-
"installPath": ".omnisharp/1.32.6",
148+
"url": "https://download.visualstudio.microsoft.com/download/pr/515dbb33-d644-4ba6-9ee4-8ca7227ab580/02621f196a581cb3062dbeab2ec28429/omnisharp-win-x86-1.32.8.zip",
149+
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x86-1.32.8.zip",
150+
"installPath": ".omnisharp/1.32.8",
151151
"platforms": [
152152
"win32"
153153
],
154154
"architectures": [
155155
"x86"
156156
],
157-
"installTestPath": "./.omnisharp/1.32.6/OmniSharp.exe",
157+
"installTestPath": "./.omnisharp/1.32.8/OmniSharp.exe",
158158
"platformId": "win-x86"
159159
},
160160
{
161161
"description": "OmniSharp for Windows (.NET 4.6 / x64)",
162-
"url": "https://download.visualstudio.microsoft.com/download/pr/a8501982-f057-4675-bf2f-57e4aa9f0990/d8160db4ef128b9f00a06079bb6b881c/omnisharp-win-x64-1.32.6.zip",
163-
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.32.6.zip",
164-
"installPath": ".omnisharp/1.32.6",
162+
"url": "https://download.visualstudio.microsoft.com/download/pr/515dbb33-d644-4ba6-9ee4-8ca7227ab580/bdfde5788994e381c9a3efe5777081bd/omnisharp-win-x64-1.32.8.zip",
163+
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.32.8.zip",
164+
"installPath": ".omnisharp/1.32.8",
165165
"platforms": [
166166
"win32"
167167
],
168168
"architectures": [
169169
"x86_64"
170170
],
171-
"installTestPath": "./.omnisharp/1.32.6/OmniSharp.exe",
171+
"installTestPath": "./.omnisharp/1.32.8/OmniSharp.exe",
172172
"platformId": "win-x64"
173173
},
174174
{
175175
"description": "OmniSharp for OSX",
176-
"url": "https://download.visualstudio.microsoft.com/download/pr/a8501982-f057-4675-bf2f-57e4aa9f0990/f175b994e2c0a97ea7b874dafec7f303/omnisharp-osx-1.32.6.zip",
177-
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-osx-1.32.6.zip",
178-
"installPath": ".omnisharp/1.32.6",
176+
"url": "https://download.visualstudio.microsoft.com/download/pr/515dbb33-d644-4ba6-9ee4-8ca7227ab580/dcead54f3e2dcc736d0ca1cbfde2ad0c/omnisharp-osx-1.32.8.zip",
177+
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-osx-1.32.8.zip",
178+
"installPath": ".omnisharp/1.32.8",
179179
"platforms": [
180180
"darwin"
181181
],
182182
"binaries": [
183183
"./mono.osx",
184184
"./run"
185185
],
186-
"installTestPath": "./.omnisharp/1.32.6/run",
186+
"installTestPath": "./.omnisharp/1.32.8/run",
187187
"platformId": "osx"
188188
},
189189
{
190190
"description": "OmniSharp for Linux (x86)",
191-
"url": "https://download.visualstudio.microsoft.com/download/pr/a8501982-f057-4675-bf2f-57e4aa9f0990/fd26229db4a660c6f2f13306f945003a/omnisharp-linux-x86-1.32.6.zip",
192-
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-linux-x86-1.32.6.zip",
193-
"installPath": ".omnisharp/1.32.6",
191+
"url": "https://download.visualstudio.microsoft.com/download/pr/515dbb33-d644-4ba6-9ee4-8ca7227ab580/ac9dde43e4905a8481c35f557fe09502/omnisharp-linux-x86-1.32.8.zip",
192+
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-linux-x86-1.32.8.zip",
193+
"installPath": ".omnisharp/1.32.8",
194194
"platforms": [
195195
"linux"
196196
],
@@ -202,14 +202,14 @@
202202
"./mono.linux-x86",
203203
"./run"
204204
],
205-
"installTestPath": "./.omnisharp/1.32.6/run",
205+
"installTestPath": "./.omnisharp/1.32.8/run",
206206
"platformId": "linux-x86"
207207
},
208208
{
209209
"description": "OmniSharp for Linux (x64)",
210-
"url": "https://download.visualstudio.microsoft.com/download/pr/a8501982-f057-4675-bf2f-57e4aa9f0990/e38c538d4d8155b49031b1d8eb9b13fd/omnisharp-linux-x64-1.32.6.zip",
211-
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-linux-x64-1.32.6.zip",
212-
"installPath": ".omnisharp/1.32.6",
210+
"url": "https://download.visualstudio.microsoft.com/download/pr/515dbb33-d644-4ba6-9ee4-8ca7227ab580/ee3801c7083438b5e54fa7405662565a/omnisharp-linux-x64-1.32.8.zip",
211+
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-linux-x64-1.32.8.zip",
212+
"installPath": ".omnisharp/1.32.8",
213213
"platforms": [
214214
"linux"
215215
],
@@ -220,7 +220,7 @@
220220
"./mono.linux-x86_64",
221221
"./run"
222222
],
223-
"installTestPath": "./.omnisharp/1.32.6/run",
223+
"installTestPath": "./.omnisharp/1.32.8/run",
224224
"platformId": "linux-x64"
225225
},
226226
{
@@ -272,7 +272,7 @@
272272
},
273273
{
274274
"description": "Razor Language Server (Windows / x64)",
275-
"url": "https://download.visualstudio.microsoft.com/download/pr/da8ed554-fba5-4a26-858d-3d73425c2c9e/d7df9363c14be268a9f7011f3116ed9f/razorlanguageserver-win-x64-1.0.0-alpha1-20181019.5.zip",
275+
"url": "https://download.visualstudio.microsoft.com/download/pr/3b0ae709-c067-48b4-a658-549ca972e437/bbd021dbeab477395f37f1c4e39c31ad/razorlanguageserver-win-x64-1.0.0-alpha2-20181112.3.zip",
276276
"installPath": ".razor",
277277
"platforms": [
278278
"win32"
@@ -283,7 +283,7 @@
283283
},
284284
{
285285
"description": "Razor Language Server (Windows / x86)",
286-
"url": "https://download.visualstudio.microsoft.com/download/pr/da8ed554-fba5-4a26-858d-3d73425c2c9e/2a8db9c750e55928277a381b73755e60/razorlanguageserver-win-x86-1.0.0-alpha1-20181019.5.zip",
286+
"url": "https://download.visualstudio.microsoft.com/download/pr/3b0ae709-c067-48b4-a658-549ca972e437/d4196db447b32b655910532321f4bd6a/razorlanguageserver-win-x86-1.0.0-alpha2-20181112.3.zip",
287287
"installPath": ".razor",
288288
"platforms": [
289289
"win32"
@@ -294,7 +294,7 @@
294294
},
295295
{
296296
"description": "Razor Language Server (Linux / x64)",
297-
"url": "https://download.visualstudio.microsoft.com/download/pr/da8ed554-fba5-4a26-858d-3d73425c2c9e/ee35c63e530362e1f86d1f2c834d1921/razorlanguageserver-linux-x64-1.0.0-alpha1-20181019.5.zip",
297+
"url": "https://download.visualstudio.microsoft.com/download/pr/3b0ae709-c067-48b4-a658-549ca972e437/ad6d340d6d68e760bb1bb7a8073051f3/razorlanguageserver-linux-x64-1.0.0-alpha2-20181112.3.zip",
298298
"installPath": ".razor",
299299
"platforms": [
300300
"linux"
@@ -308,7 +308,7 @@
308308
},
309309
{
310310
"description": "Razor Language Server (macOS / x64)",
311-
"url": "https://download.visualstudio.microsoft.com/download/pr/da8ed554-fba5-4a26-858d-3d73425c2c9e/8efc7d28ce70069ddcad88c95dcb075f/razorlanguageserver-osx-x64-1.0.0-alpha1-20181019.5.zip",
311+
"url": "https://download.visualstudio.microsoft.com/download/pr/3b0ae709-c067-48b4-a658-549ca972e437/e4808fd370ba60d528944a5a36543cf0/razorlanguageserver-osx-x64-1.0.0-alpha2-20181112.3.zip",
312312
"installPath": ".razor",
313313
"platforms": [
314314
"darwin"

src/features/documentSymbolProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function createSymbolForElement(element: Structure.CodeElement): vscode.Document
4545
const fullRange = element.Ranges[SymbolRangeNames.Full];
4646
const nameRange = element.Ranges[SymbolRangeNames.Name];
4747

48-
return new vscode.DocumentSymbol(element.Name, /*detail*/ "", toSymbolKind(element.Kind), toRange3(fullRange), toRange3(nameRange));
48+
return new vscode.DocumentSymbol(element.DisplayName, /*detail*/ "", toSymbolKind(element.Kind), toRange3(fullRange), toRange3(nameRange));
4949
}
5050

5151
const kinds: { [kind: string]: vscode.SymbolKind; } = { };

src/observers/InformationMessageObserver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class InformationMessageObserver {
2323
//to do: determine if we need the unresolved dependencies message
2424
let csharpConfig = this.vscode.workspace.getConfiguration('csharp');
2525
if (!csharpConfig.get<boolean>('suppressDotnetRestoreNotification')) {
26-
let message = `There are unresolved dependencies'. Please execute the restore command to continue.`;
26+
let message = `There are unresolved dependencies. Please execute the restore command to continue.`;
2727
return showInformationMessage(this.vscode, message, { title: "Restore", command: "dotnet.restore.all" });
2828
}
2929
}

0 commit comments

Comments
 (0)