There are 3 properties that I always delete, which are: BorderSize, BorderColor, and BackgroundColor (if the BackgroundTransparency is 1). Are there any plans to add settings for those?
This was added in v2.5.1. You can find this option under Settings → Snippets → Hide Object Fills. Double check you’re up to date from the Plugin Manager if you got it from the Creator Store.
v2 doesn’t support properties that accept an Instance as a value, but I have got a local prototype for v3 that does link Instance-based values as long as they’re within the tree that’s being converted. I’ll definitely be shipping support for Instance-based values in v3, if not before.
I do have Hide Object Fills on but I still get those properties.
I see what you mean. I’ll add a toggle to disable this prop from appearing when it’s not relevant, and I think I’ll split the object fills toggle out into separate GuiObject and BasePart toggles
Hey @cxmeels hope your well, just wanted to bring your attention to a bug I’m facing with Codify—if it’s anything related to Codify, that is.
I’m working on an update to Codify to switch it over to React (it’s currently using Roact), which should bring some performance gains and squash some bugs too. I’ve seen your bug report and I’ll see if I can figure out what’s causing that asap though, and see if I can issue a patch for the time being.
Unsure if this been recommend but I assume it ONLY adds stuff that doesn’t match the default properties. But it still includes BorderSizePixel
and BorderColor3
even though these properties now have different defaults. If these could be ignored, would be great Same goes with Name on UI objects (UICorner/UIPadding/etc) it adds Name which is kinda redundant
That’s awesome, @cxmeels —thanks greatly. Thought I’d mention while I’m here, absolutely banging job on this plugin mate. By far one of my fav plugins which was worth every penny, and something I genuinely couldn’t go without—so keep it up.
If I had any suggestions, it would be to allow remapping of props, so Key
in TSX can be renamed to say Name
it’d be a great addition for TSX-heavy users using Vide like myself where Key is Name.
This is still happening to me. It stays closed the next time I run after closing, but then I run again (like every other time) it will re-open again.
Version: 2.5.2 (PRODUCTION) Paid
Acquired from the Creator Store.
I’m actively rewriting Codify to use React and clean up the internals so that it’s easier to update and maintain, and will allow me to introduce new and more advanced features quicker. Hopefully this’ll fix all the issues everyone’s been having recently, as I’ve been unable to reproduce anything.
Any ETA on finishing this?
||20 characters||
no eta, but I’m working on it most evenings after work+gym and on my days off to try and get it out asap.
New update is great, it hides borderColor, and hides backgroundColor if background is transparent. Only thing that still doesn’t get hidden is borderSize (though it does get hidden if background is transparent). Also would be cool if TextWrapped got hidden when TextScaled is true.
Other than that, thank you for the update and thank you for the great plugin
I’ve fixed this in the next v2 update that should be releasing tonight with some luck. I think I’ve finally managed to track down and smash those errors and crashes everyone’s suddenly been having too!
I will make sure to pop that in too. thanks for the suggestion
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.
I can’t use the plugin. I’m getting the following error:
It’s looking for “PressHapticEffect” in image button props but it doesnt exist. Seems like the api dump got updated with properties that aren’t accessible yet. Couldn’t find any betas related to haptics.
looks that way! I finish work in about 2 hours. will issue a patch for it when I get home
Version 2.6.1
Fixed
- Added a “safety net” to prevent Codify from breaking when Roblox add unreleased features to the API dump.
- Internal changes and optimisations.
cc. @qslerp
It would be cool to make a version of React but in TS with the right syntax. I waste a lot of time fixing the syntax for TS, as is the case with FusionTS