Skip to content

Commit 7bceab5

Browse files
Merge pull request #732 from DustinCampbell/merge-master-into-release
Merge master into release
2 parents a2e2142 + 9ef3534 commit 7bceab5

25 files changed

+1487
-886
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ install:
1616
deploy:
1717
provider: releases
1818
api_key:
19-
secure: T6OzDRQEXpIsIKM2V+X+YgSa1vPDXDdoRBOV39BCDkKv7fDH5rTHs/hVtrwIfLvLVAtJq4kDm6hSVAFLpni1nUHzx2hFCi31CCWPlqhDo31v0CMD6pMccUlCFi2iul3T3EAiT4HmoSEKoCLET8uLIKaYoQ6wc+D11z55kM9DFtv/fGwfxL8FWvbNHYaGc3KNvNOwoMcOc8VpXXGQ1Rtc1IAx62G6qS8V6Yn89sUev/AxT/wcU/wmzNW5UgdAUgnJUFbSumwzfFYFJUdkUSP5iLxjlAJJSNHjHzN5wNX1bIMfSv5DJn1P15ev5OyfjJ+EmjFFmOTJiPlgver/scrZzhrv3kvBYULI8vAAgRWde5CgESGJqv5gEIj3oSICv+2MPmB+Kjr/79AfXrCvORc3an9UASyfgQvamfIoboFLNLZTIe/66oH7UmSJ2rtcaYEKMWHo7qq9cI4yFX6SexwqQehrGPr+QFbjpxFFAhs6aJEFGGgw4i/yheEP6Z7mrKx5wqScVfSLz1iBDmPAkB8pSFhXPk4XpYPjZsCI/wzLERYZ1gBweAKosnMt2anf0Eu1USUo1nXvFmsKTH6lBdBIthVW2va2DCgW+aWQj+j/G670UXT7BoHkcx0GaOzhPc6HeS1ovA9/kX5ZBaslPNAOmGycmGJAuNs2sSvFJf9JZY4=
19+
secure: IccNv4d/b3/c2Wg/A39L/gfNPT0nBMpcf2b5PlEy+U79ii9hKHq681hHCJ/NPhwUjWOfSfgFXRoTJVYIHuMnT7WLnSqfqiiPUo82z0ulZQOEEdt8oVHoABm5SzAPQqe6Lo/SC+2zYV6TgqP/i9qVN0TuyA1jH00hmpBjnozO98GyuJIeUYwvEBkhJttcO0HLb836td5OxG8SDRo9kFauITNZAFQA8yVlsFmCJF1Di7Oncmcjcd5aHm9PnbgQytHg+iWMhBZuHXfB9hV4J0tsMZB+XPxvkS74dASuKjEIIdB66GXoVL5BzJmopY3gQVYpK5wK+HH4PwwpdZ1BY0qW4zmUCwwlNXSIVX8IjCiRt/5Bc3hqpY8zahIFKW37ZbHSVH1kKK9+fmEt5iy4HSqGGxmSXVrQGY1VJhsol/0Yu326L9J35AKhQeYKQvIdUQy4LiIN8NTUtEZr5Nvv6+TCI0RShQgkGQrlVyknIpoq9HM915NDTRLwm3s78LptkOP6wmRk26HLOBdYG/0k15Wos7mtR6cXc+NqKZm8tPfPEn2cIzGrmQgKXuCoXu+hGoOl/2HSzDnUUxhiSVbjoCei7HRXPT+0yhDc8e+Kt1fHKDJpyj7ybICVGmexxQY41mPtAVKrX/pDBCi53QVT1a+QEAd5Y27X4S8Ko+Vqukkoq7E=
2020
file_glob: true
2121
file: "*.vsix"
2222
skip_cleanup: true

RuntimeLicenses/license.txt

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ except to the extent those have additional terms.
99
IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW.
1010

1111
1. INSTALLATION AND USE RIGHTS.
12-
You may install and use any number of copies of the software to develop and test your applications.
12+
You may only use the C# Extension for Visual Studio Code with Visual Studio Code, Visual Studio or Xamarin Studio software to
13+
help you develop and test your applications.
1314

1415
2. TERMS FOR SPECIFIC COMPONENTS.
1516
a. Third Party components. The software may include third party components with separate legal notices or governed by other
@@ -78,17 +79,12 @@ material contractual obligations, the fulfillment of which facilitate the due pe
7879
which would endanger the purpose of this agreement and the compliance with which a party may constantly trust in (so-called
7980
"cardinal obligations"). In other cases of slight negligence, Microsoft will not be liable for slight negligence.
8081

81-
12. LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the laws of your country. You
82-
may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights
83-
under the laws of your country if the laws of your country do not permit it to do so.
82+
12. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED "AS-IS." YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS
83+
WARRANTIES, GUARANTEES OR CONDITIONS. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES
84+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
8485

85-
13. DISCLAIMER OF WARRANTY. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU BEAR THE RISK OF USING IT. MICROSOFT
86-
GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE
87-
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
88-
89-
14. LIMITATION ON AND EXCLUSION OF DAMAGES. LIMITATION ON AND EXCLUSION OF DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS
90-
SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS,
91-
SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
86+
13. LIMITATION ON AND EXCLUSION OF DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S.
87+
$5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
9288
This limitation applies to (a) anything related to the software, services, content (including code) on third party Internet
9389
sites, or third party applications; and (b) claims for breach of contract, breach of warranty, guarantee or condition, strict
9490
liability, negligence, or other tort to the extent permitted by applicable law.

gulpfile.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const debugInstall = require('./out/coreclr-debug/install.js');
1717
const fs_extra = require('fs-extra-promise');
1818
const omnisharp = require('./out/omnisharp/omnisharp');
1919
const download = require('./out/omnisharp/download');
20+
const logger = require('./out/omnisharp/logger');
2021
const platform = require('./out/platform');
2122
const child_process = require('child_process');
2223

@@ -35,8 +36,11 @@ gulp.task('clean', ['omnisharp:clean', 'debugger:clean', 'package:clean'], () =
3536

3637
/// Omnisharp Tasks
3738
function installOmnisharp(omnisharps) {
38-
const logger = (message) => { console.log(message); };
39-
const promises = omnisharps.map((omni) => download.go(omni.flavor, omni.platform, logger));
39+
const promises = omnisharps.map((omni, index) => {
40+
const log = new logger.Logger(message => process.stdout.write(message), index.toString());
41+
42+
return download.go(omni.flavor, omni.platform, log);
43+
});
4044

4145
return Promise.all(promises);
4246
}

package.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "csharp",
33
"publisher": "ms-vscode",
4-
"version": "1.3.0",
4+
"version": "1.4.0",
55
"description": "C# for Visual Studio Code (powered by OmniSharp).",
66
"displayName": "C#",
77
"author": "Microsoft Corporation",
@@ -70,6 +70,43 @@
7070
"configuration": "./csharp.configuration.json"
7171
}
7272
],
73+
"configuration": {
74+
"title": "C# configuration",
75+
"properties": {
76+
"csharp.suppressDotnetInstallWarning": {
77+
"type": "boolean",
78+
"default": false,
79+
"description": "Suppress the warning that the .NET CLI is not on the path."
80+
},
81+
"omnisharp.path": {
82+
"type": [
83+
"string",
84+
"null"
85+
],
86+
"default": null,
87+
"description": "Specifies the full path to the OmniSharp server."
88+
},
89+
"omnisharp.useMono": {
90+
"type": "boolean",
91+
"default": false,
92+
"description": "Launch OmniSharp with Mono."
93+
},
94+
"omnisharp.loggingLevel": {
95+
"type": "string",
96+
"default": "default",
97+
"enum": [
98+
"default",
99+
"verbose"
100+
],
101+
"description": "Specifies the level of logging output from the OmniSharp server."
102+
},
103+
"omnisharp.autoStart": {
104+
"type": "boolean",
105+
"default": true,
106+
"description": "Specifies whether the OmniSharp server will be automatically started or not. If false, OmniSharp can be started with the 'Restart OmniSharp' command"
107+
}
108+
}
109+
},
73110
"grammars": [
74111
{
75112
"language": "csharp",

src/assets.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ interface DebugConfiguration {
1717
name: string,
1818
type: string,
1919
request: string,
20+
internalConsoleOptions?: string,
2021
sourceFileMap?: any,
2122
}
2223

@@ -158,7 +159,8 @@ function createLaunchConfiguration(projectData: TargetProjectData): ConsoleLaunc
158159
args: [],
159160
cwd: '${workspaceRoot}',
160161
externalConsole: false,
161-
stopAtEntry: false
162+
stopAtEntry: false,
163+
internalConsoleOptions: "openOnSessionStart"
162164
}
163165
}
164166

@@ -172,6 +174,7 @@ function createWebLaunchConfiguration(projectData: TargetProjectData): WebLaunch
172174
args: [],
173175
cwd: '${workspaceRoot}',
174176
stopAtEntry: false,
177+
internalConsoleOptions: "openOnSessionStart",
175178
launchBrowser: {
176179
enabled: true,
177180
args: '${auto-detect-url}',

0 commit comments

Comments
 (0)