Skip to content

Commit 6ab25a2

Browse files
author
Ravi Chande
authored
Merge branch 'master' into integrationTest
2 parents 1dbadca + 456d2bc commit 6ab25a2

File tree

3 files changed

+60
-37
lines changed

3 files changed

+60
-37
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
## 1.14.0 _(Not Yet Released)_
77

8+
#### C# Language Support
9+
10+
* Support for C# 7.2 (PR: [omnisharp-roslyn#1055](https://github.com/OmniSharp/omnisharp-roslyn/pull/1055)) _(Contributed by [@filipw](https://github.com/filipw))_
11+
812
#### Debugger
913

1014
* Fixes symbol loading while debugging apps running under .NET Core 2.1 (ex: netcoreapp 2.1) on Linux and macOS
@@ -15,10 +19,26 @@
1519
#### Editor
1620

1721
* Fix to allow signature help return results for attribute constructors. ([#1814](https://github.com/OmniSharp/omnisharp-vscode/issues/1814), PR: [omnisharp-roslyn#1007](https://github.com/OmniSharp/omnisharp-roslyn/pull/1007))
22+
* Fix to return correct SymbolKinds from WorkspaceSymbolprovider ([#1907](https://github.com/OmniSharp/omnisharp-vscode/issues/1907), PR: [#1911](https://github.com/OmniSharp/omnisharp-vscode/pull/1911)) _(Contributed by [@craig006](https://github.com/craig006))_
23+
* Improved newline formatting in hover info ([#1057](https://github.com/OmniSharp/omnisharp-vscode/issues/1057), PR: [#1918](https://github.com/OmniSharp/omnisharp-vscode/pull/1918))
24+
* Disabled Go To Definition on property acessor keywords ([#1949](https://github.com/OmniSharp/omnisharp-vscode/issues/1949), PR: [omnisharp-roslyn#1086](https://github.com/OmniSharp/omnisharp-roslyn/pull/1086))
25+
* Bug fixes to IntelliSense (completion, signature help): (([#1664](https://github.com/OmniSharp/omnisharp-vscode/issues/1664), [1440](https://github.com/OmniSharp/omnisharp-vscode/issues/1440), PR: [omnisharp-roslyn#1030](https://github.com/OmniSharp/omnisharp-roslyn/pull/1030)); ([#146](https://github.com/OmniSharp/omnisharp-vscode/issues/146) , PR: [#1776](https://github.com/OmniSharp/omnisharp-vscode/pull/1776)))
26+
* Improved "Format Code" behavior: ([#214](https://github.com/OmniSharp/omnisharp-vscode/issues/214), PR: [omnisharp-roslyn#1043](https://github.com/OmniSharp/omnisharp-roslyn/pull/1043))
27+
* Improved code action ordering: ([omnisharp-roslyn#758](https://github.com/OmniSharp/omnisharp-roslyn/issues/758), PR: [omnisharp-roslyn#1078](https://github.com/OmniSharp/omnisharp-roslyn/pull/1078))
1828

1929
#### Project System
2030

2131
* Addressed problems with projects not being refreshed by OmniSharp after a package restore. ([#1583](https://github.com/OmniSharp/omnisharp-vscode/issues/1583), [#1661](https://github.com/OmniSharp/omnisharp-vscode/issues/1661), [#1785](https://github.com/OmniSharp/omnisharp-vscode/issues/1785), PR: [omnisharp-roslyn#1003](https://github.com/OmniSharp/omnisharp-roslyn/pull/1003))
32+
* Added option to disable warning about project.json deprecation ([1920](https://github.com/OmniSharp/omnisharp-vscode/issues/1920), PR: [#1926](https://github.com/OmniSharp/omnisharp-vscode/pull/1926))
33+
34+
#### Task Generation
35+
36+
* Updated task generator to match latest schema from VS Code (PR: [#1932](https://github.com/OmniSharp/omnisharp-vscode/pull/1923)) _(Contributed by [@natec425](https://github.com/natec425))_
37+
* Fixed a typo in tasks.json (PR: [1945](https://github.com/OmniSharp/omnisharp-vscode/pull/1945)) _(Contributed by [@SebastianPfliegel](SebastianPfliegel))_
38+
39+
#### Misc
40+
41+
* Fixed offline packaging ([1912](https://github.com/OmniSharp/omnisharp-vscode/issues/1912), [1930](https://github.com/OmniSharp/omnisharp-vscode/issues/1930), PR: [#1931](https://github.com/OmniSharp/omnisharp-vscode/pull/1931))
2242

2343
## 1.13.1 (November 13, 2017)
2444

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "csharp",
33
"publisher": "ms-vscode",
4-
"version": "1.14.0-beta3",
4+
"version": "1.14.0-beta4",
55
"description": "C# for Visual Studio Code (powered by OmniSharp).",
66
"displayName": "C#",
77
"author": "Microsoft Corporation",
@@ -50,7 +50,7 @@
5050
"semver": "*",
5151
"tmp": "0.0.33",
5252
"vscode-debugprotocol": "^1.6.1",
53-
"vscode-extension-telemetry": "0.0.8",
53+
"vscode-extension-telemetry": "0.0.11",
5454
"yauzl": "^2.5.0"
5555
},
5656
"devDependencies": {

src/features/documentation.ts

Lines changed: 38 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -36,42 +36,45 @@ export function GetDocumentationString(structDoc: protocol.DocumentationComment)
3636
let indentSpaces = "\t\t";
3737
let documentation = "";
3838

39-
if (structDoc.SummaryText) {
40-
documentation += structDoc.SummaryText + newLine;
39+
if (structDoc) {
40+
if (structDoc.SummaryText) {
41+
documentation += structDoc.SummaryText + newLine;
42+
}
43+
44+
if (structDoc.TypeParamElements && structDoc.TypeParamElements.length > 0) {
45+
documentation += "Type Parameters:" + newLine;
46+
documentation += indentSpaces + structDoc.TypeParamElements.map(displayDocumentationObject).join("\n" + indentSpaces) + newLine;
47+
}
48+
49+
if (structDoc.ParamElements && structDoc.ParamElements.length > 0) {
50+
documentation += "Parameters:" + newLine;
51+
documentation += indentSpaces + structDoc.ParamElements.map(displayDocumentationObject).join("\n" + indentSpaces) + newLine;
52+
}
53+
54+
if (structDoc.ReturnsText) {
55+
documentation += structDoc.ReturnsText + newLine;
56+
}
57+
58+
if (structDoc.RemarksText) {
59+
documentation += structDoc.RemarksText + newLine;
60+
}
61+
62+
if (structDoc.ExampleText) {
63+
documentation += structDoc.ExampleText + newLine;
64+
}
65+
66+
if (structDoc.ValueText) {
67+
documentation += structDoc.ValueText + newLine;
68+
}
69+
70+
if (structDoc.Exception && structDoc.Exception.length > 0) {
71+
documentation += "Exceptions:" + newLine;
72+
documentation += indentSpaces + structDoc.Exception.map(displayDocumentationObject).join("\n" + indentSpaces) + newLine;
73+
}
74+
75+
documentation = documentation.trim();
4176
}
42-
43-
if (structDoc.TypeParamElements && structDoc.TypeParamElements.length > 0) {
44-
documentation += "Type Parameters:" + newLine;
45-
documentation += indentSpaces + structDoc.TypeParamElements.map(displayDocumentationObject).join("\n" + indentSpaces) + newLine;
46-
}
47-
48-
if (structDoc.ParamElements && structDoc.ParamElements.length > 0) {
49-
documentation += "Parameters:" + newLine;
50-
documentation += indentSpaces + structDoc.ParamElements.map(displayDocumentationObject).join("\n" + indentSpaces) + newLine;
51-
}
52-
53-
if (structDoc.ReturnsText) {
54-
documentation += structDoc.ReturnsText + newLine;
55-
}
56-
57-
if (structDoc.RemarksText) {
58-
documentation += structDoc.RemarksText + newLine;
59-
}
60-
61-
if (structDoc.ExampleText) {
62-
documentation += structDoc.ExampleText + newLine;
63-
}
64-
65-
if (structDoc.ValueText) {
66-
documentation += structDoc.ValueText + newLine;
67-
}
68-
69-
if (structDoc.Exception && structDoc.Exception.length > 0) {
70-
documentation += "Exceptions:" + newLine;
71-
documentation += indentSpaces + structDoc.Exception.map(displayDocumentationObject).join("\n" + indentSpaces) + newLine;
72-
}
73-
74-
documentation = documentation.trim();
77+
7578
return documentation;
7679
}
7780

0 commit comments

Comments
 (0)