Skip to content

Commit 0c301d8

Browse files
committed
Merge remote-tracking branch 'origin/master' into improve-outline-breadcrumbs
2 parents e5d6b0b + a60f494 commit 0c301d8

File tree

158 files changed

+5584
-4575
lines changed

Some content is hidden

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

158 files changed

+5584
-4575
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ indent_size = 4
1010
trim_trailing_whitespace = true
1111

1212
# 2 space indentation and utf-8 for *.yml, package.json, and .json files under src
13-
[{*.yml,package.json,src/**/*.json}]
13+
[{*.yml,package.json,*.json}]
1414
indent_size = 2
1515
charset = utf-8
Lines changed: 39 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,39 @@
1-
<!-- To prefill this information:
2-
1. Open Visual Studio Code
3-
2. Bring up the command palette (press <kbd>F1</kbd>)
4-
3. Type `CSharp: Report an issue`
5-
6-
If the `CSharp: Report an issue` command doesn't appear, make sure that you have C# extension version 1.17.0 or newer installed.
7-
-->
8-
9-
## Environment data
10-
`dotnet --info` output:
11-
VS Code version:
12-
C# Extension version:
13-
14-
## OmniSharp log
15-
16-
17-
## Steps to reproduce
18-
19-
20-
## Expected behavior
21-
22-
23-
## Actual behavior
1+
---
2+
name: 🐞 Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
<!-- To prefill this information:
11+
1. Open Visual Studio Code
12+
2. Bring up the command palette (press <kbd>F1</kbd>)
13+
3. Type `CSharp: Report an issue`
14+
15+
If the `CSharp: Report an issue` command doesn't appear, make sure that you have C# extension version 1.17.0 or newer installed.
16+
-->
17+
18+
## Environment data
19+
`dotnet --info` output:
20+
VS Code version:
21+
C# Extension version:
22+
23+
## OmniSharp log
24+
25+
26+
## Steps to reproduce
27+
28+
1. Go to '...'
29+
2. Click on '....'
30+
3. Scroll down to '....'
31+
4. See error
32+
33+
## Expected behavior
34+
A clear and concise description of what you expected to happen.
35+
36+
## Actual behavior
37+
38+
## Additional context
39+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Issue with Razor (Blazor) tooling
4+
url: https://github.com/dotnet/razor-tooling/issues/new/choose
5+
about: Please open issues relating to the Razor tooling in dotnet/razor-tooling.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: 💡 Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
## Is your feature request related to a problem? Please describe.
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
## Describe the solution you would like
14+
A clear and concise description of what you want to happen.
15+
16+
## Applicable Scenarios
17+
In what scenarios would the feature apply?
18+
19+
## Describe alternatives you've considered
20+
A clear and concise description of any alternative solutions or features you've considered.
21+
22+
## Additional context
23+
Add any other context or screenshots about the feature request here.

.github/workflows/branch-merge.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Merge master into feature/lsp-engine
2+
on:
3+
schedule:
4+
- cron: '0 */3 * * *'
5+
workflow_dispatch:
6+
jobs:
7+
Create-Merge-PR:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
with:
12+
ref: feature/lsp-engine
13+
- name: Get changes from master
14+
run: |
15+
git remote add upstream https://github.com/OmniSharp/omnisharp-vscode.git
16+
git fetch upstream master:upstream-master
17+
git reset --hard upstream-master
18+
- name: Create Pull Request
19+
uses: peter-evans/create-pull-request@v4
20+
with:
21+
title: Merge master into feature/lsp-engine
22+
branch: merge-master-to-feature-lsp-engine

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,26 @@ name: OmniSharp-VSCode CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ master, feature/** ]
66

77
pull_request:
8-
branches: [ master ]
8+
branches: [ master, feature/** ]
99

1010
jobs:
1111
build:
1212
runs-on: ubuntu-latest
13+
timeout-minutes: 30
1314

1415
steps:
1516
- uses: actions/checkout@v2
1617

1718
- name: Setup virtual display
1819
run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
1920

20-
- name: Install .NET Core 5.0 SDK
21+
- name: Install .NET Core 6.0 SDK
2122
uses: actions/[email protected]
2223
with:
23-
dotnet-version: 5.0.x
24+
dotnet-version: 6.0.x
2425

2526
- name: Install Node.js 15.x
2627
uses: actions/setup-node@v1
@@ -40,11 +41,11 @@ jobs:
4041

4142
- name: Run unit and integration tests
4243
run: |
43-
gulp test
44+
npm run test
4445
npm run test:artifacts
4546
env:
46-
CODE_VERSION: 1.45.0
47+
CODE_VERSION: 1.66.0
4748
DISPLAY: :99.0
4849

4950
- name: Build platform-specific extension package
50-
run: gulp 'vsix:release:package:platform-specific'
51+
run: gulp 'vsix:release:package:platform-specific'

.github/workflows/release-ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10+
timeout-minutes: 30
1011

1112
steps:
1213
- uses: actions/checkout@v2
@@ -73,6 +74,28 @@ jobs:
7374
asset_path: ./csharp-${{ env.VERSION }}-linux-x64.vsix
7475
asset_name: csharp-${{ env.VERSION }}-linux-x64.vsix
7576
asset_content_type: application/zip
77+
78+
- name: Upload release build (alpine-arm64)
79+
id: upload-release-asset-alpine-arm64
80+
uses: actions/upload-release-asset@v1
81+
env:
82+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83+
with:
84+
upload_url: ${{ github.event.release.upload_url }}
85+
asset_path: ./csharp-${{ env.VERSION }}-alpine-arm64.vsix
86+
asset_name: csharp-${{ env.VERSION }}-alpine-arm64.vsix
87+
asset_content_type: application/zip
88+
89+
- name: Upload release build (alpine-x64)
90+
id: upload-release-asset-alpine-x64
91+
uses: actions/upload-release-asset@v1
92+
env:
93+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94+
with:
95+
upload_url: ${{ github.event.release.upload_url }}
96+
asset_path: ./csharp-${{ env.VERSION }}-alpine-x64.vsix
97+
asset_name: csharp-${{ env.VERSION }}-alpine-x64.vsix
98+
asset_content_type: application/zip
7699

77100
- name: Upload release build (win32-arm64)
78101
id: upload-release-asset-win32-arm64

.mocharc.jsonc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"ui": "tdd",
33
"require": [
4-
"source-map-support/register",
5-
"ts-node/register"
4+
"source-map-support/register"
65
]
7-
}
6+
}

.vscode/launch.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"args": [
1010
"--extensionDevelopmentPath=${workspaceRoot}"
1111
],
12-
"stopOnEntry": false,
1312
"sourceMaps": true,
1413
"outFiles": [
1514
"${workspaceRoot}/dist/*.js"
@@ -52,7 +51,6 @@
5251
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
5352
"OSVC_SUITE": "featureTests"
5453
},
55-
"stopOnEntry": false,
5654
"sourceMaps": true,
5755
"outFiles": [
5856
"${workspaceRoot}/out/test/**/*.js"
@@ -77,7 +75,6 @@
7775
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
7876
"OSVC_SUITE": "singleCsproj"
7977
},
80-
"stopOnEntry": false,
8178
"sourceMaps": true,
8279
"outFiles": [
8380
"${workspaceRoot}/dist/*.js"
@@ -121,7 +118,6 @@
121118
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
122119
"OSVC_SUITE": "slnWithCsproj"
123120
},
124-
"stopOnEntry": false,
125121
"sourceMaps": true,
126122
"outFiles": [
127123
"${workspaceRoot}/dist/*.js"
@@ -146,7 +142,6 @@
146142
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
147143
"OSVC_SUITE": "slnFilterWithCsproj"
148144
},
149-
"stopOnEntry": false,
150145
"sourceMaps": true,
151146
"outFiles": [
152147
"${workspaceRoot}/dist/*.js"
@@ -171,7 +166,6 @@
171166
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
172167
"OSVC_SUITE": "slnWithGenerator"
173168
},
174-
"stopOnEntry": false,
175169
"sourceMaps": true,
176170
"outFiles": [
177171
"${workspaceRoot}/dist/*.js"
@@ -188,8 +182,8 @@
188182
"updatePackageDependencies"
189183
],
190184
"env": {
191-
"NEW_DEPS_URLS": "https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-linux-x64-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-linux-x86-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-linux-arm64-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-osx-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-win-x64-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-win-x86-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-win-arm64-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-linux-x64-net6.0-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-linux-arm64-net6.0-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-osx-x64-net6.0-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-osx-arm64-net6.0-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-win-x64-net6.0-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-win-x86-net6.0-1.38.1.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.38.1/omnisharp-win-arm64-net6.0-1.38.1.zip",
192-
"NEW_DEPS_VERSION": "1.38.1"
185+
"NEW_DEPS_URLS": "https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-linux-x64-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-linux-x86-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-linux-arm64-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-osx-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-win-x64-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-win-x86-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-win-arm64-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-linux-musl-x64-net6.0-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-linux-musl-arm64-net6.0-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-linux-x64-net6.0-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-linux-arm64-net6.0-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-osx-x64-net6.0-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-osx-arm64-net6.0-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-win-x64-net6.0-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-win-x86-net6.0-1.39.3.zip,https://roslynomnisharp.blob.core.windows.net/releases/1.39.3/omnisharp-win-arm64-net6.0-1.39.3.zip",
186+
"NEW_DEPS_VERSION": "1.39.3"
193187
},
194188
"cwd": "${workspaceFolder}"
195189
}

0 commit comments

Comments
 (0)