Skip to content

Commit 5e16e22

Browse files
author
Ravi Chande
authored
Merge pull request #1995 from rchande/omnisharp1.29
Update to omnisharp 1.29
2 parents 6122e27 + d8189f0 commit 5e16e22

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@
8484
"runtimeDependencies": [
8585
{
8686
"description": "OmniSharp for Windows (.NET 4.6 / x86)",
87-
"url": "https://download.visualstudio.microsoft.com/download/pr/100505823/5804b7d3b5eeb7e4ae812a7cff03bd52/omnisharp-win-x86-1.28.0.zip",
88-
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x86-1.28.0.zip",
87+
"url": "https://download.visualstudio.microsoft.com/download/pr/11539709/dcb3a815e48ea792fc788fc9fa6ea379/omnisharp-win-x86-1.29.0.zip",
88+
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x86-1.29.0.zip",
8989
"installPath": ".omnisharp",
9090
"platforms": [
9191
"win32"
@@ -97,8 +97,8 @@
9797
},
9898
{
9999
"description": "OmniSharp for Windows (.NET 4.6 / x64)",
100-
"url": "https://download.visualstudio.microsoft.com/download/pr/100505821/c570a9e20dbf7172f79850babd058872/omnisharp-win-x64-1.28.0.zip",
101-
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.28.0.zip",
100+
"url": "https://download.visualstudio.microsoft.com/download/pr/11539712/2ceb65cab39ffc725480ede21ad8071c/omnisharp-win-x64-1.29.0.zip",
101+
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.29.0.zip",
102102
"installPath": ".omnisharp",
103103
"platforms": [
104104
"win32"
@@ -110,8 +110,8 @@
110110
},
111111
{
112112
"description": "OmniSharp for OSX",
113-
"url": "https://download.visualstudio.microsoft.com/download/pr/100505818/6b99c6a86da3221919158ca0f36a3e45/omnisharp-osx-1.28.0.zip",
114-
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-osx-1.28.0.zip",
113+
"url": "https://download.visualstudio.microsoft.com/download/pr/11539710/5594f85f23035c42f0893f61a19f2340/omnisharp-osx-1.29.0.zip",
114+
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-osx-1.29.0.zip",
115115
"installPath": ".omnisharp",
116116
"platforms": [
117117
"darwin"
@@ -124,8 +124,8 @@
124124
},
125125
{
126126
"description": "OmniSharp for Linux (x86)",
127-
"url": "https://download.visualstudio.microsoft.com/download/pr/100505817/b710ec9c2bedc0cfdb57da82da166c47/omnisharp-linux-x86-1.28.0.zip",
128-
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-linux-x86-1.28.0.zip",
127+
"url": "https://download.visualstudio.microsoft.com/download/pr/11539707/ffe833a2a771adead00c977fe9b0a8ea/omnisharp-linux-x86-1.29.0.zip",
128+
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-linux-x86-1.29.0.zip",
129129
"installPath": ".omnisharp",
130130
"platforms": [
131131
"linux"
@@ -142,8 +142,8 @@
142142
},
143143
{
144144
"description": "OmniSharp for Linux (x64)",
145-
"url": "https://download.visualstudio.microsoft.com/download/pr/100505485/3f8a10409240decebb8a3189429f3fdf/omnisharp-linux-x64-1.28.0.zip",
146-
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-linux-x64-1.28.0.zip",
145+
"url": "https://download.visualstudio.microsoft.com/download/pr/11539705/289061d8686d4689d66fd1610b6891e2/omnisharp-linux-x64-1.29.0.zip",
146+
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-linux-x64-1.29.0.zip",
147147
"installPath": ".omnisharp",
148148
"platforms": [
149149
"linux"

test/integrationTests/codeActionRename.integration.test.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,12 @@ suite(`Code Action Rename ${testAssetWorkspace.description}`, function() {
3030
test("Code actions can remame and open files", async () => {
3131
let fileUri = await testAssetWorkspace.projects[0].addFileWithContents("test.cs", "class C {}");
3232
await vscode.commands.executeCommand("vscode.open", fileUri);
33-
let c = await vscode.commands.executeCommand("vscode.executeCodeActionProvider", fileUri, new vscode.Range(0, 7, 0, 7)) as {command: string, arguments: string[]}[];
34-
expect(c.length).to.equal(2);
35-
await vscode.commands.executeCommand(c[1].command, ...c[1].arguments)
33+
let c = await vscode.commands.executeCommand("vscode.executeCodeActionProvider", fileUri, new vscode.Range(0, 7, 0, 7)) as {command: string, title: string, arguments: string[]}[];
34+
let command = c.find(
35+
(s) => { return s.title == "Rename file to C.cs" }
36+
)
37+
expect(command, "Didn't find rename class command");
38+
await vscode.commands.executeCommand(command.command, ...command.arguments)
3639
expect(vscode.window.activeTextEditor.document.fileName).contains("C.cs");
3740
});
3841
});

test/integrationTests/hoverProvider.integration.test.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,11 @@ Parameters:
7272
\t\tgameObject: The game object.
7373
\t\ttagName: Name of the tag.
7474
75-
Returns trueif object is tagged with tag.`;
75+
Returns true if object is tagged with tag.`;
7676
expect(c[0].contents[0].value).to.equal(answer);
7777
});
7878

79-
teardown(async() =>
80-
{
81-
await testAssetWorkspace.cleanupWorkspace();
82-
})
79+
teardown(async () => {
80+
await testAssetWorkspace.cleanupWorkspace();
81+
});
8382
});

0 commit comments

Comments
 (0)