Version 2.6.0
This is quite a sizable update. You should (hopefully) see some performance improvements and bug fixes.
Fixed
- Fixed an issue where “Maximum event re-entrancy depth…” errors were spammed to the output. I believe this was also the cause of the crashes multiple people reported.
- Generic icons have been updated to use higher-resolution icons. Framework icons are yet to be updated, so will still appear slightly blurry.
- Syntax highlighting will now follow your Studio script editor preference colours.
Changed
- Refactored all of the internal components to remove bloat and unnecessary code and dependencies.
- The UI has been changed slightly with this update. This is partly due to manual size and position calculations being removed in favour of UIFlex and AutomaticSize.
- Hint labels have been condensed down to a maximum of two lines for overall readability. If the hint text is longer than two lines, hovering over it for a fraction of a second will reveal the full content.
- Properties which accept a “Content” DataType will be removed from snippets. Content support will be added in Codify v3.
Added
FusionTS
Adds a new framework “FusionTS” to support Fusion code generation for use in TypeScript without JSX.
If you would like to remove the “scope.” prefix from the creator method, you can configure it under Settings → Generation → Create Method; hovever, there is currently no toggle to remove the scope property, as this was designed with Fusion 0.3 in mind.
Your Fusion preferences will be separate to your FusionTS preferences.
JSX
JSX settings have been moved to their own “JSX” settings category. A couple new settings have also been added:
- JSX Key as Name: The “Key” attribute will be renamed to “Name.” Your preference for “JSX Key is Lowercase” will be respected.
- Inject Scope Attribute: A “scope” attribute will be injected to the top of each JSX element to allow for Fusion JSX compatibility.
Conditional Properties
Conditional properties were previously included in the “Generation” settings category. They have been moved to a new “Conditional Properties” category. “Hide Object Fills” has also been split into two separate toggles:
- Hide GuiObject Fills: BackgroundColor3, BorderColor3 and BorderSizePixel will be removed from GuiObjects with
BackgroundTransparency = 1
.- ScrollingFrames will not have their BorderColor3 property removed unless their BorderSizePixel is explicitly set to 0.
- Hide BasePart Fills: Color will be removed from BaseParts with
Transparency = 1
. - Hide TextSize if TextScaled: The TextWrapped property will also be removed when TextScaled.
Additionally, BorderSizePixel and BorderColor3 will be automatically removed from non-ScrollingFrames when a UICorner is a direct descendant of the GuiObject.