Skip to content

Commit 99164af

Browse files
Merge pull request #2571 from gregg-miskelly/1.16.1
Push 1.16.1 changes to release branch
2 parents 17a73c4 + d205271 commit 99164af

File tree

145 files changed

+7365
-12222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+7365
-12222
lines changed

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ install.*
1010

1111
*.vsix
1212

13-
obj/
14-
bin/
15-
test/**/.vscode
13+
14+
test/**/.vscode/launch.json
15+
test/**/.vscode/tasks.json
16+
1617
.logs/
1718
.nyc_output/
1819
coverage/

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ node_js:
44
- "8"
55

66
env:
7-
- CODE_VERSION=1.18.0
7+
- CODE_VERSION=1.26.0
88

99
before_install:
1010
- if [ $TRAVIS_OS_NAME == "linux" ]; then

.vscode/tasks.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"taskName": "build",
66
"command": "npm",
77
"isShellCommand": true,
8-
"args": ["run", "compile"],
8+
"args": [
9+
"run",
10+
"compile"
11+
],
912
"showOutput": "always",
1013
"isBuildCommand": true
1114
},
@@ -14,19 +17,23 @@
1417
"command": "echo",
1518
"showOutput": "always",
1619
"isShellCommand": true,
17-
"args": ["Run tests in VS Code by launching the debugger with the 'Launch Tests' configuration."],
20+
"args": [
21+
"Run tests in VS Code by launching the debugger with the 'Launch Tests' configuration."
22+
],
1823
"isTestCommand": true
1924
},
2025
{
2126
"taskName": "tslint",
2227
"command": "gulp",
2328
"isShellCommand": true,
24-
"args": ["tslint"],
29+
"args": [
30+
"tslint"
31+
],
2532
"problemMatcher": {
2633
"owner": "tslint",
2734
"fileLocation": [
2835
"relative",
29-
"${workspaceRoot}"
36+
"${workspaceFolder}"
3037
],
3138
"severity": "warning",
3239
"pattern": {

CHANGELOG.md

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,50 @@
1-
## Known Issues in 1.15.0
1+
## Known Issues in 1.16.0
22

33
* There currently is no completion support for package references in csproj files. ([#1156](https://github.com/OmniSharp/omnisharp-vscode/issues/1156))
44
* As an alternative, consider installing the [MSBuild Project Tools](https://marketplace.visualstudio.com/items?itemName=tintoy.msbuild-project-tools) extension by @tintoy.
5+
6+
## 1.16.0 (September 10, 2018)
7+
8+
#### Project System
9+
10+
* Separated the existing "Restore Packages" option in the Command Palette into two distinct functions:
11+
* "Restore Project" - Displays a drop-down that shows all the available projects in the solution or in the workspace. Selecting one of them would trigger a dotnet restore for the particular project.
12+
* "Restore All Projects" - Triggers a dotnet restore for all projects in the current solution or workspace.
13+
14+
* Modified the "Unresolved dependencies" prompt to restore the all the projects in the currently selected solution or workspace. (PR: [#2323](https://github.com/OmniSharp/omnisharp-vscode/pull/2323))
15+
16+
* Added support to configure the default *.sln file loaded when opening a project with multiple *.sln files in the root. _(Contributed by [@janaka](https://github.com/janaka))_ (PR: [#2053](https://github.com/OmniSharp/omnisharp-vscode/pull/2053))
17+
18+
* Added support for tracking opening, closing and changing of virtual documents that don't exist on disk. (PR: [#2436](https://github.com/OmniSharp/omnisharp-vscode/pull/2436)) _(Contributed by [@NTaylorMullen](https://github.com/NTaylorMullen))_
19+
20+
* Enabled IDE features for .cs files that are not part of a project. (PR: [#2471](https://github.com/OmniSharp/omnisharp-vscode/pull/2471), [omnisharp-roslyn#1252](https://github.com/OmniSharp/omnisharp-roslyn/pull/1252))
21+
22+
#### Misc
23+
24+
* Added a prompt to "Restart OmniSharp" when there is a change in omnisharp "path", "useGlobalMono" or "waitForDebugger" settings.(PR: [#2316](https://github.com/OmniSharp/omnisharp-vscode/pull/2316))
25+
26+
#### Editor
27+
28+
* Improved diagnostics by refreshing them when the active editor changes or the current window is focused. (PR: [#2317](https://github.com/OmniSharp/omnisharp-vscode/pull/2317)) _(Contributed by [@SirIntruder](https://github.com/SirIntruder))_
29+
30+
* Improved completions by adding the preselect property so the best match is preselected. (PR: [#2388](https://github.com/OmniSharp/omnisharp-vscode/pull/2388))
31+
32+
#### Testing
33+
34+
* Added test execution output to the output of the Run/Debug Test CodeLens. (PR: [#2337](https://github.com/OmniSharp/omnisharp-vscode/pull/2337), [#2343](https://github.com/OmniSharp/omnisharp-vscode/pull/2343), [omnisharp-roslyn#1203](https://github.com/OmniSharp/omnisharp-roslyn/pull/1203))
35+
* Fixed a bug where a debug session could not be started and duplicate logs were displayed after a previous one failed due to build failure. (PR: [#2405](https://github.com/OmniSharp/omnisharp-vscode/pull/2405), [omnisharp-roslyn#1239](https://github.com/OmniSharp/omnisharp-roslyn/pull/1239))
36+
37+
#### Options
38+
39+
* Added `monoPath` option to use the mono installation at the specified path when the `useGlobalMono` is set to "always" or "auto". (PR: [#2425](https://github.com/OmniSharp/omnisharp-vscode/pull/2425)) _(Contributed by [@shana](https://github.com/shana))_
40+
41+
#### Debugger
42+
43+
* Added support for launching with environment variables stored in a seperate file from launch.json via a new `envFile` option. (PR: [#2462](https://github.com/OmniSharp/omnisharp-vscode/pull/2462), [#1944](https://github.com/OmniSharp/omnisharp-vscode/issues/1944)) _(Contributed by [@SebastianPfliegel](https://github.com/SebastianPfliegel))_
44+
* Fixed editting breakpoint conditions while debugging with recent versions of VS Code. ([#2428](https://github.com/OmniSharp/omnisharp-vscode/issues/2428))
45+
* Added support for hit count breakpoint conditions. ([#895](https://github.com/OmniSharp/omnisharp-vscode/issues/895))
46+
* Support the `applicationUrl` property in launchSettings.json. ([#2296](https://github.com/OmniSharp/omnisharp-vscode/issues/2296))
47+
* Improve the error message when attaching to privileged processes on Linux and macOS. ([#477](https://github.com/OmniSharp/omnisharp-vscode/issues/477))
548

649
## 1.15.2 (May 15, 1018)
750

@@ -32,7 +75,7 @@
3275
#### Editor
3376

3477
* Fixed regression where the "Generate Type in New File" code action would create an empty file. ([#2112](https://github.com/OmniSharp/omnisharp-vscode/issues/2112), PR: [omnisharp-roslyn#1143](https://github.com/OmniSharp/omnisharp-roslyn/pull/1143))
35-
* Made several improvments to the display of tooltips in Signature Help. ([#1940](https://github.com/OmniSharp/omnisharp-vscode/issues/1940), PR: [#1958](https://github.com/OmniSharp/omnisharp-vscode/pull/1958))
78+
* Made several improvements to the display of tooltips in Signature Help. ([#1940](https://github.com/OmniSharp/omnisharp-vscode/issues/1940), PR: [#1958](https://github.com/OmniSharp/omnisharp-vscode/pull/1958))
3679

3780
#### Options
3881

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,18 @@ 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.15.0
24-
25-
* Debugger support for Source Link and Symbol Servers
26-
* Added support for downloading and launching prerelease versions of the OmniSharp server
27-
* Improved the status bar display for OmniSharp Server and selected project information
28-
* Added CodeLens for running and debugging all tests in a test class
29-
* Performance improvements when OmniSharp scans for projects
30-
* Improvements for projects containing XAML files
23+
### What's New in 1.16.0
24+
25+
* Debugger support for launching with environment variables stored in a separate file from launch.json via a new `envFile` option.
26+
* Debugger support for hit count breakpoint conditions.
27+
* Enabled IDE features for .cs files that are not part of a project.
28+
* Modified the "Unresolved dependencies" prompt to restore the all the projects in the currently selected solution or workspace.
29+
* Added support to configure the default *.sln file loaded when opening a project with multiple *.sln files in the root.
30+
* Added verbosity to the test execution output when running test using codelens.
31+
* Added `monoPath` option to use the mono installation at the specified path when the `useGlobalMono` is set to "always" or "auto".
3132
* Many other bug fixes!
3233

33-
See our [change log](https://github.com/OmniSharp/omnisharp-vscode/blob/v1.15.0/CHANGELOG.md) for more detail.
34+
See our [change log](https://github.com/OmniSharp/omnisharp-vscode/blob/v1.16.0/CHANGELOG.md) for more detail.
3435

3536
### Supported Operating Systems for Debugging
3637

debugger-launchjson.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Configurating launch.json for C# debugging
1+
# Configuring launch.json for C# debugging
22
The launch.json file is used to configure the debugger in Visual Studio Code.
33

44
Visual Studio Code generates a launch.json with almost all of the required information.
@@ -43,6 +43,8 @@ The launch browser field can be optionally added if you need to launch with a we
4343
If there are web server dependencies in your project.json, the auto generated launch file will add launch
4444
browser for you. It will open with the default program to handle URLs.
4545

46+
Note that `launchBrowser` requires `"console": "internalConsole"`, as the browser launcher scrapes the standard output of the target process to know when the web server has initialized itself.
47+
4648
## Environment variables
4749
Environment variables may be passed to your program using this schema:
4850

@@ -68,13 +70,14 @@ Example Properties/launchSettings.json file:
6870
```
6971

7072
## Console (terminal) window
71-
By default, processes are launched with their console output (stdout/stderr) going to the VS Code Debugger Console. This is useful for executables that take their input from the network, files, etc. But this does NOT work for applications that want to read from the console (ex: `Console.ReadLine`). For these applications, use a setting such as the following:
7273

73-
"console": "integratedTerminal"
74+
The `"console"` setting controls what console (terminal) window the target app is launched into. It can be set to any of these values --
75+
76+
`"internalConsole"` (default) : the target process's console output (stdout/stderr) goes to the VS Code Debug Console. This is useful for executables that take their input from the network, files, etc. But this does **NOT** work for applications that want to read from the console (ex: `Console.ReadLine`).
7477

75-
When this is set to `integratedTerminal` the target process will run inside [VS Code's integrated terminal](https://code.visualstudio.com/docs/editor/integrated-terminal). Click the 'Terminal' tab in the tab group beneath the editor to interact with your application.
78+
`"integratedTerminal"` : the target process will run inside [VS Code's integrated terminal](https://code.visualstudio.com/docs/editor/integrated-terminal). Click the 'Terminal' tab in the tab group beneath the editor to interact with your application. Alternatively add `"internalConsoleOptions": "neverOpen"` to make it so that the default foreground tab is the terminal tab.
7679

77-
When this is set to `externalTerminal` the target process will run in a separate terminal.
80+
`"externalTerminal"`: the target process will run inside its own external terminal.
7881

7982
## Source File Map
8083
You can optionally configure a file by file mapping by providing map following this schema:
@@ -86,7 +89,7 @@ You can optionally configure a file by file mapping by providing map following t
8689
## Just My Code
8790
You can optionally disable `justMyCode` by setting it to "false". You should disable Just My Code when you are trying to debug into a library that you pulled down which doesn't have symbols or is optimized.
8891

89-
"justMyCode":false*
92+
"justMyCode":false
9093

9194
Just My Code is a set of features that makes it easier to focus on debugging your code by hiding some of the details of optimized libraries that you might be using, like the .NET Framework itself. The most important sub parts of this feature are --
9295

gulpfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ gulp.task('updatePackageDependencies', () => {
2525
});
2626

2727
gulp.task('tslint', () => {
28-
gulp.src([
28+
return gulp.src([
2929
'**/*.ts',
3030
'!**/*.d.ts',
3131
'!**/typings**',

0 commit comments

Comments
 (0)