Skip to content

Commit 612dc9d

Browse files
committed
Finish Hotfix-0.8.3
2 parents 403d665 + 8a860c3 commit 612dc9d

38 files changed

+5078
-7624
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# UnrealScript Language Service
22

3+
## 0.8.3 (March 27, 2025)
4+
5+
- Fixed [#193](https://github.com/EliotVU/UnrealScript-Language-Service/issues/193)
6+
- Fixed [#194](https://github.com/EliotVU/UnrealScript-Language-Service/issues/194)
7+
- Fixed [#195](https://github.com/EliotVU/UnrealScript-Language-Service/issues/195)
8+
- Fixed 11dad37d and dd613e69
9+
310
## 0.8.2 (July 24, 2024)
411

512
This hotfix mostly addresses problems with type checking (when 'check types' is enabled) and other minor issues:

client/package-lock.json

+38-40
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Eliot van Uytfanghe",
66
"publisher": "EliotVU",
77
"license": "MIT",
8-
"version": "0.0.3",
8+
"version": "0.0.4",
99
"repository": {
1010
"type": "git",
1111
"url": "https://github.com/EliotVU/UnrealScript-Language-Service"
@@ -17,8 +17,8 @@
1717
"vscode-languageclient": "9.0.1"
1818
},
1919
"devDependencies": {
20-
"@types/vscode": "^1.90.0",
21-
"@vscode/test-electron": "^2.4.0"
20+
"@types/vscode": "^1.98.0",
21+
"@vscode/test-electron": "^2.4.1"
2222
},
2323
"scripts": {
2424
"test": "ts-node ./src/extension.test.ts"

client/src/extension.ts

+43-40
Original file line numberDiff line numberDiff line change
@@ -5,55 +5,58 @@ import { LanguageClient, LanguageClientOptions, ServerOptions, TransportKind } f
55
let client: LanguageClient;
66

77
export function activate(context: ExtensionContext) {
8-
const serverModule = context.asAbsolutePath(
9-
path.join('out', 'server.js')
10-
);
8+
const serverModule = context.asAbsolutePath(
9+
path.join('out', 'server.js')
10+
);
1111

12-
const memoryOption = '--max-old-space-size=8192';
13-
const debugOptions = {
14-
execArgv: [memoryOption, '--nolazy', '--inspect=6010']
15-
};
16-
const serverOptions: ServerOptions = {
17-
run: {
18-
module: serverModule,
19-
transport: TransportKind.ipc,
20-
options: {
21-
execArgv: [memoryOption]
22-
}
23-
},
24-
debug: {
25-
module: serverModule,
26-
transport: TransportKind.ipc,
27-
options: debugOptions,
28-
}
29-
};
12+
const memoryOption = '--max-old-space-size=8192';
13+
const debugOptions = {
14+
execArgv: [memoryOption, '--nolazy', '--inspect=6010']
15+
};
16+
const serverOptions: ServerOptions = {
17+
run: {
18+
module: serverModule,
19+
transport: TransportKind.ipc,
20+
options: {
21+
execArgv: [memoryOption]
22+
}
23+
},
24+
debug: {
25+
module: serverModule,
26+
transport: TransportKind.ipc,
27+
options: debugOptions,
28+
}
29+
};
3030

31-
const clientOptions: LanguageClientOptions = {
32-
documentSelector: [{ scheme: 'file', language: 'unrealscript' }],
33-
synchronize: {
31+
const clientOptions: LanguageClientOptions = {
32+
documentSelector: [
33+
{ scheme: 'file', language: 'unrealscript' },
34+
{ scheme: 'file', language: 'unrealscript-pp' }
35+
],
36+
synchronize: {
3437
configurationSection: 'unrealscript',
35-
fileEvents: [
38+
fileEvents: [
3639
workspace.createFileSystemWatcher('**/*.{uc,uci}'),
3740
// Let's not watch for upk changes, just u files because those are expected to change often.
3841
workspace.createFileSystemWatcher('**/*.{u}')
3942
]
40-
},
43+
},
4144
diagnosticCollectionName: 'UnrealScript',
42-
outputChannelName: 'UnrealScript',
43-
};
45+
outputChannelName: 'UnrealScript',
46+
};
4447

45-
client = new LanguageClient(
46-
'ucLanguageServer',
47-
'UnrealScript',
48-
serverOptions,
49-
clientOptions
50-
);
51-
client.start();
48+
client = new LanguageClient(
49+
'ucLanguageServer',
50+
'UnrealScript',
51+
serverOptions,
52+
clientOptions
53+
);
54+
client.start();
5255
}
5356

5457
export function deactivate(): Thenable<void> | undefined {
55-
if (!client) {
56-
return undefined;
57-
}
58-
return client.stop();
59-
}
58+
if (!client) {
59+
return undefined;
60+
}
61+
return client.stop();
62+
}

0 commit comments

Comments
 (0)