Skip to content

Commit a23f05a

Browse files
author
Ravi Chande
committed
Merge branch 'suppressWarnings' of https://github.com/rchande/omnisharp-vscode into suppressWarnings
2 parents 095d86f + f084f93 commit a23f05a

File tree

69 files changed

+4592
-2337
lines changed

Some content is hidden

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

69 files changed

+4592
-2337
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ before_install:
1212
sh -e /etc/init.d/xvfb start;
1313
sleep 3;
1414
fi
15+
- dpkg --compare-versions `npm -v` ge 5.8 || npm i -g npm@^5.8
1516

1617
addons:
1718
apt:
@@ -25,7 +26,7 @@ addons:
2526
- dotnet-sdk-2.0.2
2627

2728
install:
28-
- npm install
29+
- npm ci
2930
- npm i -g gulp
3031
- gulp 'vsix:release:package'
3132

@@ -35,7 +36,7 @@ script:
3536
- gulp test --codeExtensionPath ./vsix/extension
3637
- gulp cov:report --codeExtensionPath ./vsix/extension
3738
- npm run test:artifacts
38-
- 'if [[ "$TRAVIS_TAG" != "master" && "$TRAVIS_PULL_REQUEST" = "false" ]]; then npm run test:release; fi'
39+
- 'if [[ "$TRAVIS_BRANCH" != "master" && "$TRAVIS_PULL_REQUEST" = "false" ]]; then npm run test:release; fi'
3940

4041
after_failure:
4142
- ./.travis/printLogs.sh

.vscode/launch.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,25 @@
1515
"${workspaceRoot}/out/src/**/*.js"
1616
]
1717
},
18+
{
19+
"type": "node",
20+
"request": "launch",
21+
"name": "Launch Unit tests",
22+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
23+
"args": [
24+
"-u",
25+
"tdd",
26+
"--timeout",
27+
"999999",
28+
"--colors",
29+
"${workspaceFolder}/out/test/unitTests/**/*.test.js"
30+
],
31+
"sourceMaps": true,
32+
"internalConsoleOptions": "openOnSessionStart",
33+
"outFiles": [
34+
"${workspaceRoot}/out/test/**/*.js"
35+
]
36+
},
1837
{
1938
"name": "Launch Feature Tests",
2039
"type": "extensionHost",
@@ -83,4 +102,4 @@
83102
]
84103
}
85104
]
86-
}
105+
}

CHANGELOG.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,26 @@
77

88
#### Debugger
99

10-
* Adds support for [Source Link](https://github.com/dotnet/core/blob/master/Documentation/diagnostics/source_link.md), Symbol Servers and other more advanced symbol options ([#373](https://github.com/OmniSharp/omnisharp-vscode/issues/373))
10+
* Adds support for [Source Link](https://aka.ms/SourceLinkSpec), Symbol Servers and other more advanced symbol options ([#373](https://github.com/OmniSharp/omnisharp-vscode/issues/373))
1111
* Adds launch.json option to suppress Just-In-Time compiler optimizations.
1212
* Due to the previous two items and work from the .NET Team, it is now possible to easily debug into ASP.NET itself in projects running against .NET Core 2.1 preview 1. Support for debugging into all the managed code in .NET Core will come in future .NET Core 2.1 builds. Instructions are in the [wiki](https://github.com/OmniSharp/omnisharp-vscode/wiki/Debugging-into-the-.NET-Framework-itself).
13+
* Adds a Code Lens indicator for runnning and debugging all tests in a class. ([#420](https://github.com/OmniSharp/omnisharp-vscode/issues/420), PR: [#1961](https://github.com/OmniSharp/omnisharp-vscode/pull/1961); PR: [omnisharp-roslyn#1089](https://github.com/OmniSharp/omnisharp-roslyn/pull/1089))
1314

1415
#### Specify OmniSharp Version
1516
Enables the use of pre-release builds of Omnisharp. Downloading a pre-release build of Omnisharp allows the C# extension for VS Code to use features that have been merged into the "master" branch of omnisharp-roslyn(https://github.com/OmniSharp/omnisharp-roslyn) but that have not been officially released
1617
* Adds support to use the "omnisharp.path" option to download a specific copy of OmniSharp. The possible values for this option are:
17-
* Some absolute path - Use a local copy of OmniSharp. The value must point to a directory which contains OmniSharp, typically a user's build output directory for the OmniSharp-Roslyn project. Example: C:\omnisharp-roslyn\artifacts\publish\OmniSharp.Stdio\win7-x64\OmniSharp.exe.
18-
* "latest" - Use the latest CI build
19-
* `version` - Use a specific version of OmniSharp. Example: `1.29.2-beta.60`
18+
* `<Path to the omnisharp executable>` - Use a local copy of OmniSharp. The value must point to a directory which contains OmniSharp, typically a user's build output directory for the OmniSharp-Roslyn project. Example: C:\omnisharp-roslyn\artifacts\publish\OmniSharp.Stdio\win7-x64\OmniSharp.exe.
19+
* `latest` - Use the latest CI build
20+
* `<version>` - Use a specific version of OmniSharp. Example: `1.29.2-beta.60`
21+
22+
#### Editor
23+
24+
* Splits the OmniSharp status bar item into two parts, both of which appear on the left and have specific responsibilities. ([#2146](https://github.com/OmniSharp/omnisharp-vscode/issues/2146), PR: [@2133](https://github.com/OmniSharp/omnisharp-vscode/pull/2133))
25+
* OmniSharp server status bar item - Shows the various stages that the OmniSharp server initialization might be in (eg: Downloading, Installing, etc). The flame icon is green when the server is initialized and running properly, or red if there is an error.
26+
* Project Information status bar item -
27+
* Displays the name of the selected project regardless of the currently active document.
28+
* If a project is already selected, it displays the name of the selected project. Clicking on it displays a menu to switch to other projects in the workspace.
29+
* If there are multiple possible launch targets, it displays 'Select Project'. Clicking on it displays a menu to select one.
2030

2131
#### Misc
2232
* Enables suppressing the "some projects had trouble loading" popup using the `omnisharp.disableMsBuildDiagnosticWarning` option ([#2110]https://github.com/OmniSharp/omnisharp-vscode/issues/2110)

debugger-launchjson.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ The `symbolOptions` element allows customization of how the debugger searches fo
183183

184184
## Source Link options
185185

186-
Source Link is a feature that makes it so that when you are debugging code that was built on another computer, such as code coming from a nuget package, the debugger can automatically bring up matching source code by downloading it from the web. To make this work, the .pdb files for the code you are debugging contains data that maps the source files in the DLL to a URL that the debugger can download from. More information about Source Link can be found at [https://github.com/dotnet/core/blob/master/Documentation/diagnostics/source_link.md](https://github.com/dotnet/core/blob/master/Documentation/diagnostics/source_link.md).
186+
Source Link is a feature that makes it so that when you are debugging code that was built on another computer, such as code coming from a nuget package, the debugger can automatically bring up matching source code by downloading it from the web. To make this work, the .pdb files for the code you are debugging contains data that maps the source files in the DLL to a URL that the debugger can download from. More information about Source Link can be found at [https://aka.ms/SourceLinkSpec](https://aka.ms/SourceLinkSpec).
187187

188188
The `sourceLinkOptions` element in launch.json allows customization of Source Link behavior by URL. It is a map from URL to Source Link options for that URL. Wildcards are supported in the URL name. Currently the only customization is if Source Link is enabled for that URL, but more options may be added in the future.
189189

0 commit comments

Comments
 (0)