Skip to content

Commit 6224407

Browse files
committed
Fix casing
1 parent 50c7e0e commit 6224407

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ obj
33
node_modules
44
out
55
.roslyn/
6-
.roslynDevkit/
6+
.roslynDevKit/
77
.omnisharp/
88
.omnisharp-*/
99
.vs/

.vscodeignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.logs/**
33
.nyc_output/**
44
!.roslyn/**
5-
!.roslynDevkit/**
5+
!.roslynDevKit/**
66
!.omnisharp/**
77
!.razor/**
88
!.razoromnisharp/**

src/lsptoolshost/roslynLanguageServer.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,8 @@ export class RoslynLanguageServer {
510510
_channel.appendLine('Activating C# + C# Dev Kit...');
511511
}
512512

513-
const csharpDevkitArgs = this.getCSharpDevkitExportArgs();
514-
args = args.concat(csharpDevkitArgs);
513+
const csharpDevKitArgs = this.getCSharpDevKitExportArgs();
514+
args = args.concat(csharpDevKitArgs);
515515

516516
await this.setupDevKitEnvironment(env, csharpDevkitExtension);
517517
} else {
@@ -756,17 +756,17 @@ export class RoslynLanguageServer {
756756
);
757757
}
758758

759-
private static getCSharpDevkitExportArgs(): string[] {
759+
private static getCSharpDevKitExportArgs(): string[] {
760760
const args: string[] = [];
761761

762762
const clientRoot = __dirname;
763-
const devkitDepsPath = path.join(
763+
const devKitDepsPath = path.join(
764764
clientRoot,
765765
'..',
766-
'.roslynDevkit',
766+
'.roslynDevKit',
767767
'Microsoft.VisualStudio.LanguageServices.DevKit.dll'
768768
);
769-
args.push('--extension', devkitDepsPath);
769+
args.push('--extension', devKitDepsPath);
770770

771771
args.push('--sessionId', getSessionId());
772772
return args;

tasks/offlinePackagingTasks.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
languageServerDirectory,
2424
nugetTempPath,
2525
rootPath,
26-
devkitDependenciesDirectory,
26+
devKitDependenciesDirectory,
2727
} from '../tasks/projectPaths';
2828
import { getPackageJSON } from '../tasks/packageJson';
2929
import { createPackageAsync } from '../tasks/vsceTasks';
@@ -124,8 +124,8 @@ gulp.task(
124124
await acquireRoslyn(packageJSON, p.platformInfo, true);
125125
}
126126

127-
// Also pull in the Roslyn devkit dependencies nuget package.
128-
await acquireRoslynDevkit(packageJSON, true);
127+
// Also pull in the Roslyn DevKit dependencies nuget package.
128+
await acquireRoslynDevKit(packageJSON, true);
129129
}, 'installDependencies')
130130
);
131131

@@ -139,9 +139,9 @@ async function installRoslyn(packageJSON: any, platformInfo?: PlatformInformatio
139139
languageServerDirectory
140140
);
141141

142-
// Install Roslyn Devkit dependencies.
143-
const roslynDevkitPackagePath = await acquireRoslynDevkit(packageJSON, false);
144-
await installNuGetPackage(roslynDevkitPackagePath, 'content', devkitDependenciesDirectory);
142+
// Install Roslyn DevKit dependencies.
143+
const roslynDevKitPackagePath = await acquireRoslynDevKit(packageJSON, false);
144+
await installNuGetPackage(roslynDevKitPackagePath, 'content', devKitDependenciesDirectory);
145145
}
146146

147147
async function installNuGetPackage(pathToPackage: string, contentPath: string, outputPath: string) {
@@ -193,10 +193,10 @@ async function acquireRoslyn(
193193
return { packagePath, serverPlatform };
194194
}
195195

196-
async function acquireRoslynDevkit(packageJSON: any, interactive: boolean): Promise<string> {
196+
async function acquireRoslynDevKit(packageJSON: any, interactive: boolean): Promise<string> {
197197
const roslynVersion = packageJSON.defaults.roslyn;
198198
const packagePath = await acquireNugetPackage(
199-
`Microsoft.VisualStudio.LanguageServices.Devkit`,
199+
`Microsoft.VisualStudio.LanguageServices.DevKit`,
200200
roslynVersion,
201201
interactive
202202
);
@@ -333,7 +333,7 @@ async function cleanAsync() {
333333
'.debugger',
334334
'.razor',
335335
languageServerDirectory,
336-
devkitDependenciesDirectory,
336+
devKitDependenciesDirectory,
337337
]);
338338
}
339339

tasks/projectPaths.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const jestPath = path.join(nodeModulesPath, 'jest', 'bin', 'jest');
1515
export const packedVsixOutputRoot = commandLineOptions.outputFolder || path.join(rootPath, 'vsix');
1616
export const nugetTempPath = path.join(rootPath, 'out', '.nuget');
1717
export const languageServerDirectory = path.join(rootPath, '.roslyn');
18-
export const devkitDependenciesDirectory = path.join(rootPath, '.roslynDevkit');
18+
export const devKitDependenciesDirectory = path.join(rootPath, '.roslynDevKit');
1919

2020
export const codeExtensionPath = commandLineOptions.codeExtensionPath || rootPath;
2121

0 commit comments

Comments
 (0)