Skip to content

Commit 4203670

Browse files
committed
VERSION 1.7.6
- Removed all forms of autocompletions, at least until I manage to make autocompletions actually context aware and not annoying to use.
1 parent 5a5209e commit 4203670

11 files changed

Lines changed: 111 additions & 25 deletions

File tree

CHANGELOG.md

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

3+
## [1.7.6] The "Classed4Nobody" update
4+
- Removed all forms of autocompletions until I manage to make the system good enough
5+
36
## [1.7.5] The "Brackets Family" update
47
- Added support for more bracket types (useful for future updates)
58
- Various fixes to syntax highlighting (less stuff is now a class, like it should be)

out/builtIn/types.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/enums/ZScriptContextType.js

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

out/enums/ZScriptContextType.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: 30 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.7.5",
7+
"version": "1.7.6",
88
"repository": {
99
"type": "git",
1010
"url": "https://github.com/KaptainMicila/ZScript-VSCode.git"

src/builtIn/types.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface ZScriptType {
2424
description?: MarkdownString;
2525
}
2626

27-
export interface Integer extends ZScriptType {
27+
export interface ZScriptInteger extends ZScriptType {
2828
/**
2929
* The lowest value this integer type can reach.
3030
*/
@@ -36,7 +36,7 @@ export interface Integer extends ZScriptType {
3636
hvalue?: string;
3737
}
3838

39-
export const integers: Integer[] = [
39+
export const integers: ZScriptInteger[] = [
4040
{
4141
label: "int",
4242
lvalue: "-2,147,483,648",
@@ -79,9 +79,9 @@ export const integers: Integer[] = [
7979
},
8080
];
8181

82-
export interface Float extends ZScriptType {}
82+
export interface ZScriptFloat extends ZScriptType {}
8383

84-
export const floats: Float[] = [
84+
export const floats: ZScriptFloat[] = [
8585
{
8686
label: "double",
8787
description: new MarkdownString("64-bit floating-point number."),
@@ -96,7 +96,7 @@ export const floats: Float[] = [
9696
export interface ZScriptClass extends ZScriptType {
9797
extends?: string;
9898
methods?: ZScriptFunction[];
99-
parameters?: Variable[];
99+
parameters?: ZScriptVariable[];
100100
}
101101

102102
export const classes: ZScriptClass[] = [
@@ -4584,7 +4584,7 @@ export const classes: ZScriptClass[] = [
45844584
];
45854585

45864586
export interface ZScriptStruct extends ZScriptType {
4587-
parameters?: Variable[];
4587+
parameters?: ZScriptVariable[];
45884588
}
45894589

45904590
export const structs: ZScriptStruct[] = [
@@ -4819,10 +4819,12 @@ export const structs: ZScriptStruct[] = [
48194819
];
48204820

48214821
export interface ZScriptFunction extends ZScriptType {
4822-
arguments?: Variable[];
4822+
arguments?: ZScriptVariable[];
48234823
}
48244824

4825-
export interface Variable extends ZScriptType {
4825+
export interface ZScriptVariable extends ZScriptType {
48264826
type?: string;
48274827
value?: unknown;
4828+
parameters?: ZScriptVariable[],
4829+
modifiers?: string[]
48284830
}

src/enums/ZScriptContextType.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
/* eslint-disable no-unused-vars */
12
enum ZScriptContextType {
23
UnknownCurly,
34
UnknownRound,
45
UnknownSquare,
6+
Enum,
7+
Struct,
8+
Class,
9+
Function,
10+
Condition,
511
}
612

713
export default ZScriptContextType;

0 commit comments

Comments
 (0)