Skip to content

Commit 11ea57d

Browse files
authored
Merge branch 'master' into patch-1
2 parents 28f59d5 + 5270351 commit 11ea57d

File tree

15 files changed

+414
-839
lines changed

15 files changed

+414
-839
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,33 @@ jobs:
2828
node-version: '12.x'
2929

3030
- name: Install dependencies
31-
run: npm ci && npm i -g gulp
31+
run: |
32+
npm ci
33+
npm i -g gulp
3234
33-
- name: Build
35+
- name: Build extension package
3436
run: gulp 'vsix:release:package'
3537

36-
- name: Initialize code coverage
37-
run: gulp cov:instrument
38-
3938
- name: Run unit and integration tests
40-
run: gulp test
39+
run: |
40+
gulp cov:instrument
41+
gulp test
42+
gulp cov:merge
43+
npm run test:artifacts
4144
env:
4245
CODE_VERSION: 1.45.0
4346
DISPLAY: :99.0
4447

45-
- name: Report code coverage
46-
run: gulp cov:report
48+
- name: Report unit test coverage
49+
uses: codecov/codecov-action@v1
50+
with:
51+
token: ${{ secrets.CODECOV_TOKEN }}
52+
files: ./coverage/unit/lcov.info
53+
flags: unit
4754

48-
- name: Run artifact tests
49-
run: npm run test:artifacts
55+
- name: Report integration test coverage
56+
uses: codecov/codecov-action@v1
57+
with:
58+
token: ${{ secrets.CODECOV_TOKEN }}
59+
files: ./coverage/integration/lcov.info
60+
flags: integration

.github/workflows/release-ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ jobs:
1717
node-version: '12.x'
1818

1919
- name: Install dependencies
20-
run: npm ci && npm i -g gulp
20+
run: |
21+
npm ci
22+
npm i -g gulp
2123
22-
- name: Build
24+
- name: Build extension package
2325
run: gulp 'vsix:release:package'
2426

2527
- name: Run release tests
@@ -37,4 +39,4 @@ jobs:
3739
upload_url: ${{ github.event.release.upload_url }}
3840
asset_path: ./csharp-${{ env.VERSION }}.vsix
3941
asset_name: csharp-${{ env.VERSION }}.vsix
40-
asset_content_type: application/zip
42+
asset_content_type: application/zip

.gitignore

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@ node_modules
44
out
55
.omnisharp/
66
.omnisharp-*/
7-
.debugger
8-
.razor
9-
.vscode-test
10-
.razor
7+
.vs/
8+
.debugger/
9+
.razor/
10+
.vscode-test/
1111
dist/
1212
*.razor.json
1313

1414
install.*
1515

1616
*.vsix
17+
*.map
1718

1819

1920
test/**/.vscode/launch.json

debugger.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,14 @@
22
This page gives you detailed instructions on how to debug code running under .NET Core in VS Code.
33

44
#### Your Feedback​
5-
File bugs and feature requests [here](https://github.com/OmniSharp/omnisharp-vscode/issues) and [join our insiders group](http://landinghub.visualstudio.com/dotnetcoreinsiders) to help us build great tooling for .NET Core.
5+
File bugs and feature requests [here](https://github.com/OmniSharp/omnisharp-vscode/issues) to help us build great tooling for .NET Core.
66

77
### First Time setup
88
##### 1: Get Visual Studio Code
9-
Install Visual Studio Code (VSC). Pick the latest VSC version from here: https://code.visualstudio.com Make sure it is at least 1.5.
10-
11-
If you are not sure what version you have, you can see your version of VS Code:
12-
13-
* **OSX:** Code->About Visual Studio Code
14-
* **Windows / Linux:** Help->About
9+
Install Visual Studio Code (VS Code). Pick the latest VS Code version from here: https://code.visualstudio.com
1510

1611
##### 2: Install .NET command line tools
17-
Install the .NET Core command line tools (CLI) by following the installation part of the instructions here: https://www.microsoft.com/net/core
18-
19-
**OSX:** .NET Core requires openSSL to work. Don't forget this! Execute: `brew install openssl`
12+
Install the .NET Core command line tools (CLI) by following the installation part of the instructions here: https://dotnet.microsoft.com/download
2013

2114
##### 3: Install C# Extension for VS Code
2215
Open the command palette in VS Code (press <kbd>F1</kbd>) and run `Extensions: Install Extensions`. Enter `C#` in the search box and press `Enter`. Select the extension and click on `Install`.
@@ -30,15 +23,14 @@ The first time that C# code is opened in VS Code, the extension will download th
3023
### Once for each project
3124
The following steps have to be executed for every project.
3225
##### 1: Get a project
33-
You can start from scratch by creating an empty project with `dotnet new`. Begin by opening the terminal in Visual Studio Code (`View->Integrated Terminal`) and type these commands:
26+
You can start from scratch by creating an empty console project with `dotnet new`. Begin by opening the terminal in Visual Studio Code (`View->Integrated Terminal`) and type these commands:
3427

3528
cd ~
3629
mkdir MyApplication
3730
cd MyApplication
38-
dotnet new
39-
dotnet restore
40-
41-
If you want a web project (ASP.NET project) use `dotnet new web`. For web projects, makes sure to run `bower install` before running so that they can restore assets.
31+
dotnet new console
32+
33+
See `dotnet new --list` for a list of all the available project templates.
4234

4335
##### 2: Open the directory in VS Code
4436
Go to `File->Open Folder` (`File->Open` on macOS) and open the directory in Visual Studio Code. If this is the first time that the C# extension has been activated, it will now download additional platform-specific dependencies.

0 commit comments

Comments
 (0)