Skip to content

Releases: KaptainMicila/ZScript-VSCode

VERSION 1.3.0

09 Mar 19:42
Compare
Choose a tag to compare
  • Added experimental ACS support
  • Fixed bugs caused by me being dumb

VERSION 1.2.0

09 Mar 18:28
Compare
Choose a tag to compare

Version 1.2.0

  • Added TypeScript entry point

VERSION 1.1.0

24 Jan 10:44
Compare
Choose a tag to compare

Just some small fixes

VERSION 0.9.6

08 Dec 14:51
Compare
Choose a tag to compare

true and false are now of the right color

VERSION 0.9.5

02 Dec 18:15
Compare
Choose a tag to compare

[0.9.5] The "Screw Off Typescript" update

  • Enhanced code folding support
  • Enhanced brackets detection (now with angle brackets!)

VERSION 0.9.4

11 Nov 15:01
Compare
Choose a tag to compare
  • Added support for the abstract keyword
  • Fixed class word broken detection

VERSION 0.9.3

10 Nov 11:32
4f98df0
Compare
Choose a tag to compare
  • 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 and states blocks detection, again. (They won't be found in comments anymore)
  • Fixed default blocks getting called decorate blocks in the token view
  • Removed a lot of hardcoded stuff
  • Changed highlighting type from class to tag for Default 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

01 Nov 11:47
Compare
Choose a tag to compare
VERSION 0.9.2 Pre-release
Pre-release

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

31 Oct 09:53
72d2cfb
Compare
Choose a tag to compare
VERSION 0.9.1 Pre-release
Pre-release

Fixed "Default" and "States" block detection

VERSION 0.9.0

30 Oct 15:36
295c0bf
Compare
Choose a tag to compare
VERSION 0.9.0 Pre-release
Pre-release

Version not released on the market. It's just a syntax highlighter.