Skip to content

Commit 5e4d30e

Browse files
janrajjanraj
authored andcommitted
Merge remote-tracking branch 'upstream/master'
# Conflicts: # package.json
2 parents 9643087 + fb12949 commit 5e4d30e

37 files changed

+1467
-2855
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ node_modules
33
out
44
.omnisharp-*/
55
.debugger
6+
.vscode-test
67

78
install.*
89

.travis.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,32 @@
11
language: node_js
22

33
node_js:
4-
- "5.1"
4+
- "6"
55

6-
env:
7-
- CXX=g++-4.8
6+
before_install:
7+
- if [ $TRAVIS_OS_NAME == "linux" ]; then
8+
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
9+
sh -e /etc/init.d/xvfb start;
10+
sleep 3;
11+
fi
812

913
addons:
1014
apt:
1115
sources:
1216
- ubuntu-toolchain-r-test
1317
packages:
14-
- g++-4.8
18+
- g++-4.9
1519

1620
install:
1721
- npm install
1822
- npm run compile
1923
- npm install -g vsce
2024
- vsce package
2125

26+
script:
27+
- npm test --silent
28+
- npm run test-syntax
29+
2230
deploy:
2331
provider: releases
2432
api_key:

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
## 1.6.0 _(Not Yet Released)_
1+
## 1.6.0 (December 21, 2016)
22

33
#### C# Scripting
44

5-
* Roslyn scripting support in CSX files! ([omnisharp-roslyn#659](https://github.com/OmniSharp/omnisharp-roslyn/pull/659)) _(Contributed by [@filipw](https://github.com/filipw))_
5+
* Roslyn scripting support in CSX files! ([#23](https://github.com/OmniSharp/omnisharp-vscode/issues/23), [omnisharp-roslyn#659](https://github.com/OmniSharp/omnisharp-roslyn/pull/659)) _(Contributed by [@filipw](https://github.com/filipw))_
66

77
#### Project Support
88

99
* Support for latest .NET Core .csproj projects updates. ([omnisharp-roslyn#705](https://github.com/OmniSharp/omnisharp-roslyn/pull/705))
10+
* Update 'tasks.json' and 'launch.json' generation to support .NET Core .csproj projects. ([#767](https://github.com/OmniSharp/omnisharp-vscode/issues/767))
1011
* Properly support `<NoWarn>` in MSBuild projects and specifically ignore the `CS1701` warning in .NET Core MSBuild projects. ([#967](https://github.com/OmniSharp/omnisharp-vscode/issues/967))
1112
* Fix global.json-based project search to also the top-level folders specified by the `"projects"` property and not just their children. ([#904](https://github.com/OmniSharp/omnisharp-vscode/issues/904) and [#962](https://github.com/OmniSharp/omnisharp-vscode/issues/962))
1213

@@ -16,7 +17,7 @@
1617
* Enables debugger support for additional Linux distributions - Ubuntu 16.10, openSUSE 42, Fedora 24
1718
* Brings support for running all supported distros on top of Linux Kernel >= 4.6
1819
* Enable debugger support for Arch Linux ([#564](https://github.com/OmniSharp/omnisharp-vscode/issues/564))
19-
* Improve debugger install errors for -- macOS without openSSL symlinks ([#986](https://github.com/OmniSharp/omnisharp-vscode/pull/986)), and x86 Windows ([#998](https://github.com/OmniSharp/omnisharp-vscode/pull/998)).
20+
* Improve debugger install errors for macOS without openSSL symlinks ([#986](https://github.com/OmniSharp/omnisharp-vscode/pull/986)), and x86 Windows ([#998](https://github.com/OmniSharp/omnisharp-vscode/pull/998)).
2021
* Improve debugger performance using precompiled debugger binaries ([#896](https://github.com/OmniSharp/omnisharp-vscode/issues/896))([#971](https://github.com/OmniSharp/omnisharp-vscode/issues/971)).
2122

2223
#### Syntax Highlighting
@@ -40,6 +41,7 @@
4041
* Fix exception thrown when sending `/autocomplete` request to OmniSharp server in location where no completion items are available. ([#980](https://github.com/OmniSharp/omnisharp-vscode/issues/980))
4142
* Add `omnisharp.maxProjectResults` setting to control the maximum number of projects to display in the 'Select Project' dropdown. The default is 250. ([#875](https://github.com/OmniSharp/omnisharp-vscode/issues/875)) _(Contributed by [@filipw](https://github.com/filipw))_
4243
* Fix signature help display for constructors. ([#36](https://github.com/OmniSharp/omnisharp-vscode/issues/36)) _(Contributed by [@filipw](https://github.com/filipw))_
44+
* Ensure that the `editor.insertSpaces` and `editor.tabSize` settings are passed to OmniSharp for formatting. Note that this behavior can be controlled with the `omnisharp.useEditorFormattingSettings` option, which defaults to true. ([#1055](https://github.com/OmniSharp/omnisharp-vscode/pull/1055)) _(Contributed by [@filipw](https://github.com/filipw))_
4345

4446
## 1.5.3 (November 21, 2016)
4547

README.md

Lines changed: 7 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -13,76 +13,19 @@ Welcome to the C# extension for Visual Studio Code! This preview provides the fo
1313

1414
The C# extension is powered by [OmniSharp](https://github.com/OmniSharp/omnisharp-roslyn).
1515

16-
1716
### Get Started Writing C# in VS Code
17+
1818
* [Documentation](https://code.visualstudio.com/docs/languages/csharp)
1919
* [Video Tutorial compiling with .NET Core](https://channel9.msdn.com/Blogs/dotnet/Get-started-with-VS-Code-using-CSharp-and-NET-Core)
2020

21-
### What's New in 1.5.3
22-
23-
* Use value of `http.proxyStrictSSL` even when `http.proxy` is not set. ([#957](https://github.com/OmniSharp/omnisharp-vscode/issues/957))
24-
25-
### What's New in 1.5.2
26-
27-
* Ensure diagnostics are cleared in files when they are no longer needed. ([#858](https://github.com/OmniSharp/omnisharp-vscode/issues/858))
28-
* Enqueue requests for diagnostics in visible editors when the extension starts up. ([#843](https://github.com/OmniSharp/omnisharp-vscode/issues/843))
29-
* Provide fallback URLs for debugger downloads. ([#930](https://github.com/OmniSharp/omnisharp-vscode/issues/930))
30-
* Properly require .NET Framework 4.6 in the OmniSharp.exe.config file to ensure that the user is displayed a dialog on Windows machines that don't have .NET Framework 4.6 installed. ([#937](https://github.com/OmniSharp/omnisharp-vscode/issues/937))
31-
* Fix issue with installing on non-English installations of Windows. ([#938](https://github.com/OmniSharp/omnisharp-vscode/issues/938))
32-
* Display platform information when acquiring runtime dependencies. ([#948](https://github.com/OmniSharp/omnisharp-vscode/issues/948))
33-
34-
### What's New in 1.5.1
35-
36-
* Fix to properly support `http.proxy` and `http.proxyStrictSSL` settings. ([#930](https://github.com/OmniSharp/omnisharp-vscode/issues/930))
37-
38-
### What's New in 1.5
39-
40-
#### Initial support for C# 7
41-
42-
* New C# 7 features like pattern-matching and tuples are now supported in VS Code editor. Note: To use tuples, you will need a reference to [this NuGet package](https://www.nuget.org/packages/System.ValueTuple).
43-
44-
#### Initial support for CSProj .NET Core Projects
45-
46-
* With the .NET Core SDK moving to embrace MSBuild and .csproj files over project.json, we've made sure the C# extension can handle the new format. This support is preliminary and there are still several features coming to smooth out the experience.
47-
48-
#### Broader OS Support for C# Code Editing
49-
50-
* This release dramatically changes the runtime that OmniSharp runs on, which allows it to be run an many more operating systems than before:
51-
52-
* Windows: OmniSharp runs on the installed .NET Framework. In addition, OmniSharp now runs on 32-bit Windows!
53-
* macOS/Linux: OmniSharp runs on a custom embedded Mono runtime. Note: Mono does not need to be installed on the system for this to work.
54-
55-
#### Debugger
56-
57-
* Remote debugging is now supported for attach by using the `pipeTransport` launch.json option.
58-
* Resolved issue with setting breakpoints when there are multple files with the same name (e.g. two 'Program.cs' files).
59-
60-
#### New Dependency Acquisition System
61-
62-
* This improves the acquisition and reliability of platform-specific OmniSharp and debugger dependencies.
63-
64-
#### New Settings
65-
66-
Several new settings have been added:
67-
68-
* `csharp.suppressDotnetRestoreNotification`: Suppress the notification window to perform a 'dotnet restore' when dependencies can't be resolved.
69-
* `omnisharp.projectLoadTimeout`: The time Visual Studio Code will wait for the OmniSharp server to start. Time is expressed in seconds. _(Contributed by [@wjk](https://github.com/wjk))_
70-
71-
#### Colorizer
72-
73-
* A new unit testing framework for testing the colorizer grammer ([#742](https://github.com/OmniSharp/omnisharp-vscode/pull/742)) _(Contributed by [@ivanz](https://github.com/ivanz))_
74-
* Single-line comments after preprocessor directives ([#762](https://github.com/OmniSharp/omnisharp-vscode/pull/762)) _(Contributed by [@damieng](https://github.com/damieng))_
75-
76-
#### Performance
77-
78-
* Major improvements have been made to editor performance. The communication with the OmniSharp server has been rewritten to allow long-running operations (such as gathering all errors and warnings) to queue while high priority operations (such as text buffer changes) run serially. ([#902](https://github.com/OmniSharp/omnisharp-vscode/pull/902)) _(Thanks to [@david-driscoll](https://github.com/david-driscoll) for his help with this change!)_
21+
### What's New in 1.6.0
7922

80-
#### Other Improvements
23+
* Better support for .NET Core .csproj projects, including .NET Core projects created with [Visual Studio 2017 RC](https://www.visualstudio.com/vs/visual-studio-2017-rc/).
24+
* Improved debugger performance and support for debugging on more Linux distros.
25+
* Roslyn scripting support with CSX files.
26+
* Lot's more!
8127

82-
* The prompt to generate assets for building and debugging can now be dismissed for a workspace permanently. In addition, a new `dotnet.generateAssets` command has been added to force regeneration of the assets. ([#635](https://github.com/OmniSharp/omnisharp-vscode/issues/635))
83-
* Fix "running forever" issue for folder with multple .NET Core projects. ([#735](https://github.com/OmniSharp/omnisharp-vscode/issues/735)) _(Contributed by [@eamodio](https://github.com/eamodio))_
84-
* `ctor` snippet is now more consistent with other code snippets. ([#849](https://github.com/OmniSharp/omnisharp-vscode/pull/849)) _(Contibuted by [@Eibx](https://github.com/Eibx))_
85-
* Ampersands in file paths are now properly escaped on Windows ([#909](https://github.com/OmniSharp/omnisharp-vscode/pull/909)) _(Contributed by [@filipw](https://github.com/filipw))_
28+
See our [change log](https://github.com/OmniSharp/omnisharp-vscode/blob/master/CHANGELOG.md) for all of the updates.
8629

8730
### Supported Operating Systems for Debugging
8831

package.json

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "csharp",
33
"publisher": "ms-vscode",
4-
"version": "1.6.0-beta6",
4+
"version": "1.6.0",
55
"description": "C# for Visual Studio Code (powered by OmniSharp).",
66
"displayName": "C#",
77
"author": "Microsoft Corporation",
@@ -11,6 +11,10 @@
1111
"bugs": {
1212
"url": "https://github.com/OmniSharp/omnisharp-vscode/issues"
1313
},
14+
"repository": {
15+
"type": "git",
16+
"url": "https://github.com/OmniSharp/omnisharp-vscode.git"
17+
},
1418
"categories": [
1519
"Debuggers",
1620
"Languages",
@@ -19,13 +23,15 @@
1923
],
2024
"main": "./out/src/main",
2125
"scripts": {
22-
"compile": "node ./node_modules/vscode/bin/compile -p ./ && gulp tslint",
23-
"watch": "node ./node_modules/vscode/bin/compile -watch -p ./",
24-
"test": "mocha --timeout 15000 -u tdd ./out/test/*.tests.js ./out/test/**/*.tests.js",
26+
"vscode:prepublish": "tsc -p ./",
27+
"compile": "tsc -p ./ && gulp tslint",
28+
"watch": "tsc -watch -p ./",
29+
"test": "node ./node_modules/vscode/bin/test",
30+
"test-syntax": "mocha --timeout 15000 --ui bdd ./out/test/syntaxes/*.test.syntax.js",
2531
"postinstall": "node ./node_modules/vscode/bin/install"
2632
},
2733
"dependencies": {
28-
"fs-extra-promise": "^0.3.1",
34+
"fs-extra": "^1.0.0",
2935
"http-proxy-agent": "^1.0.0",
3036
"https-proxy-agent": "^1.0.0",
3137
"lodash.debounce": "^4.0.8",
@@ -38,17 +44,24 @@
3844
"yauzl": "^2.5.0"
3945
},
4046
"devDependencies": {
47+
"@types/chai": "^3.4.34",
48+
"@types/fs-extra": "0.0.35",
49+
"@types/mkdirp": "^0.3.29",
50+
"@types/mocha": "^2.2.32",
51+
"@types/node": "^6.0.40",
52+
"@types/semver": "^5.3.30",
53+
"@types/tmp": "0.0.32",
54+
"chai": "^3.5.0",
4155
"del": "^2.0.2",
4256
"gulp": "^3.9.1",
4357
"gulp-mocha": "^2.1.3",
4458
"gulp-tslint": "^4.3.0",
45-
"mocha": "^2.2.5",
59+
"mocha": "^2.3.3",
4660
"tslint": "^3.15.1",
4761
"tslint-microsoft-contrib": "^2.0.12",
4862
"typescript": "^2.0.3",
49-
"vscode": "^0.11.13",
5063
"vsce": "^1.7.0",
51-
"chai": "^3.5.0",
64+
"vscode": "^1.0.0",
5265
"vscode-textmate": "^2.1.1"
5366
},
5467
"runtimeDependencies": [
@@ -105,7 +118,7 @@
105118
},
106119
{
107120
"description": "OmniSharp (.NET 4.6 / x86)",
108-
"url": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x86-1.9-beta21-2.zip",
121+
"url": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x86-1.9-beta22.zip",
109122
"installPath": "./bin/omnisharp",
110123
"platforms": [
111124
"win32"
@@ -116,7 +129,7 @@
116129
},
117130
{
118131
"description": "OmniSharp (.NET 4.6 / x64)",
119-
"url": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.9-beta21-2.zip",
132+
"url": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.9-beta22.zip",
120133
"installPath": "./bin/omnisharp",
121134
"platforms": [
122135
"win32"
@@ -127,7 +140,7 @@
127140
},
128141
{
129142
"description": "OmniSharp (Mono 4.6)",
130-
"url": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-mono-1.9-beta21-2.zip",
143+
"url": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-mono-1.9-beta22.zip",
131144
"installPath": "./bin/omnisharp",
132145
"platforms": [
133146
"darwin",
@@ -288,7 +301,7 @@
288301
}
289302
],
290303
"engines": {
291-
"vscode": "^1.3.0"
304+
"vscode": "^1.5.0"
292305
},
293306
"activationEvents": [
294307
"onLanguage:csharp",
@@ -365,6 +378,11 @@
365378
"type": "number",
366379
"default": 250,
367380
"description": "The maximum number of projects to be shown in the 'Select Project' dropdown (maximum 250)."
381+
},
382+
"omnisharp.useEditorFormattingSettings": {
383+
"type": "boolean",
384+
"default": true,
385+
"description": "Specifes whether OmniSharp should use VS Code editor settings for C# code formatting (use of tabs, indentation size)."
368386
}
369387
}
370388
},
@@ -1126,4 +1144,4 @@
11261144
}
11271145
]
11281146
}
1129-
}
1147+
}

0 commit comments

Comments
 (0)