Releases: KaptainMicila/ZScript-VSCode
Releases · KaptainMicila/ZScript-VSCode
VERSION 1.3.0
- Added experimental ACS support
- Fixed bugs caused by me being dumb
VERSION 1.2.0
Version 1.2.0
- Added TypeScript entry point
VERSION 1.1.0
Just some small fixes
VERSION 0.9.6
true
and false
are now of the right color
VERSION 0.9.5
[0.9.5] The "Screw Off Typescript" update
- Enhanced code folding support
- Enhanced brackets detection (now with angle brackets!)
VERSION 0.9.4
- Added support for the
abstract
keyword - Fixed
class
word broken detection
VERSION 0.9.3
- Noticed this file exists
- Fixed file type recognition, now is:
.zs
,.zsc
,.zc
(this one was used by Nash Muhandes, so I added it) - Added support for "anonymous functions" (as seen in example 1), this means:
- Now you can use anonymous functions!
- Fixed "states" block ending, as they can have "anonymous functions inside"
- Upgraded performance thanks to some regex magic!
- Updated class highlighting (example 2)
- Fixed the
default
andstates
blocks detection, again. (They won't be found in comments anymore) - Fixed
default
blocks getting calleddecorate
blocks in the token view - Removed a lot of hardcoded stuff
- Changed highlighting type from
class
totag
forDefault
blocks' attributes - Added enum support (example 3, but was it really required?)
Examples:
- Example 1
States
{
Spawn:
TNT1 A 0 { chanceMod = 0; return ResolveState("Spawn2"); }
TNT1 A 0 { chanceMod = 100; return ResolveState("Spawn2"); }
TNT1 A 0 { chanceMod = 220; return ResolveState("Spawn2"); }
Spawn2:
TNT1 A 0
{
A_SpawnItemEx("NashGoreBloodImpact", flags: BLOOD_FLAGS);
for (int i = 0; i < 10; i++)
{
A_SpawnItemEx("NashGoreBloodParticle1",
frandom(-8, 8), frandom(-8, 8), frandom(-8, 8),
frandom(-2.0, 2.0), frandom(-2.0, 2.0), frandom(0.0, 4.0),
frandom(0, 360), BLOOD_FLAGS | SXF_TRANSFERPOINTERS, chanceMod);
}
}
TNT1 AAAAAAAAAA 1
{
A_SpawnItemEx("NashGoreBloodParticle2",
frandom(-8, 8), frandom(-8, 8), frandom(-8, 8),
frandom(-2.5, 2.5), frandom(-2.5, 2.5), frandom(1.0, 2.0),
frandom(0, 360), BLOOD_FLAGS, chanceMod);
}
TNT1 AAAAAAAAAA 1
{
A_SpawnItemEx("NashGoreBloodFloorSplashSpawner",
0, 0, 0,
frandom(-4.0, 4.0), frandom(-4.0, 4.0), frandom(1.0, 4.0),
frandom(0, 360), BLOOD_FLAGS, chanceMod);
}
Stop;
}
- Example 2
class Class1 : Class2 {
// ↑
// This is now recognized as a class!
// CODE
}
- Example 3
enum Example {
VALUE_1,
value_2,
value_n
}
VERSION 0.9.2
This version fixes a problem with the Array detection.
There are still problems with it, but it now works corretly, at least.
The source files of this version are wrong, as they state it's version 0.9.1.
If you have to download the release, just get the .zip,
VERSION 0.9.1
Fixed "Default" and "States" block detection
VERSION 0.9.0
Version not released on the market. It's just a syntax highlighter.