Skip to content

Commit 0331393

Browse files
committed
VERSION 1.8.1
- Rewrote the whole thing for not murdering "VSCode & Co." with huge files (LOC > 1000) and to look actually decent - Sneak peak for auto-complete (working this time, I swear: you can even try it if you know how compile this mess) - Some other fixes (and bugs) I forgot during the rewrite.
1 parent e773e57 commit 0331393

8 files changed

Lines changed: 18 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## [1.8.0] The "Annother Rewrite" update
4+
- Rewrote the whole thing for not murdering "VSCode & Co." with huge files (LOC > 1000) and to look actually decent
5+
- Sneak peak for auto-complete (working this time, I swear: you can even try it if you know how compile this mess)
6+
- Some other fixes (and bugs) I forgot during the rewrite.
7+
38
## [1.7.6] The "Classed4Nobody" update
49
- Removed all forms of autocompletions until I manage to make the system good enough
510

out/Services/ZScriptVariablesService.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

out/Services/ZScriptVariablesService.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

out/extension.js

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

out/extension.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "GZDoom's multiple scripting languages support (with a focus on ZScript) for VSCode (and compatible editors)",
55
"publisher": "kaptainmicila",
66
"icon": "icons/GZDoom.png",
7-
"version": "1.8.0",
7+
"version": "1.8.1",
88
"repository": {
99
"type": "git",
1010
"url": "https://github.com/KaptainMicila/ZScript-VSCode.git"

src/Services/ZScriptVariablesService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default class ZScriptVariablesService {
2929
varParameters = this.assignCompletionToType("function", varCompletion, explodedLine, -2);
3030
varCompletion.kind = vscode.CompletionItemKind.Function;
3131
} else {
32-
varParameters = this.assignCompletionToType("variable", varCompletion, explodedLine);
32+
varParameters = this.assignCompletionToType(explodedLine[0], varCompletion, explodedLine);
3333
varCompletion.kind = vscode.CompletionItemKind.Variable;
3434
}
3535

src/extension.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as vscode from "vscode";
2-
import ZScriptCompletionsService from "./Services/ZScriptCompletionsService";
2+
// import ZScriptCompletionsService from "./Services/ZScriptCompletionsService";
33
import ZScriptErrorService from "./Services/ZScriptErrorService";
44

55
export function activate(context: vscode.ExtensionContext) {
@@ -9,7 +9,7 @@ export function activate(context: vscode.ExtensionContext) {
99
return;
1010
}
1111

12-
const completionProvider = ZScriptCompletionsService.defaultCompletionProvider;
12+
// const completionProvider = ZScriptCompletionsService.defaultCompletionProvider;
1313
const bracketsErrorCollection = vscode.languages.createDiagnosticCollection();
1414

1515
ZScriptErrorService.searchForUnclosedBrackets(activeTextEditor.document, bracketsErrorCollection),
@@ -18,7 +18,7 @@ export function activate(context: vscode.ExtensionContext) {
1818
vscode.workspace.onDidChangeTextDocument(function (event: vscode.TextDocumentChangeEvent) {
1919
ZScriptErrorService.searchForUnclosedBrackets(event.document, bracketsErrorCollection);
2020
}),
21-
completionProvider,
21+
// completionProvider,
2222
bracketsErrorCollection
2323
);
2424
}

0 commit comments

Comments
 (0)