Script Editor - Semantic Highlighting and Temporary Tabs are now in Beta!

Hmm, it looks like your settings didn’t load properly somehow. I will investigate that, but for the time being resetting them should resolve that.

4 Likes

Weird is a bit of an understatement, this looks downright terrible. Either highlight the entire line or don’t- Please don’t just have a single word highlighted!

Operator color shouldn’t also color parenthesis, this is weird looking and downright confusing. Please revert that!

I don’t fully understand what you said, but if it’s what i’m assuming it is, yes! It’d get my workflow working faster again

In my opinion, I really don’t like temporary tabs opening everytime I click my script to edit a property.

2 Likes

I am back once again, with a little issue:

VSCode highlights function names in their entirety, not just the call itself. Studio does not.

Studio:

VSCode:

Notice module.foo is highlighted the function color - not just foo

1 Like

Wow! It look so much better!

5 Likes

Not sure if this is caused by this update, but I can no longer use f2 to rename the script I’m currently editing.

edit: Looks like I can, but it’s very weird to allow it to to happen. I have to deselect all items in the explorer, then select the script, deselect, then reselect and it allows it.

1 Like

These features look really great and I’d love to use them ASAP (which means - while they are still in beta).

The question is; are these features safe to use on a dev build of a real WIP game?

Is there a scenario in which, for some reason, code written within the beta won’t work as expected if the beta features are changed before release?

I.E. Is this feature purely cosmetic, or can it, perhaps in a roundabout way, cause damage/unexpected behavior in scripts running in the actual roblox client/non beta builds?

Cheers!

--TODO comments should also highlight the entire line, not just the individual word

I disagree here, I think TODO should only highlight the key itself, otherwise it gets cluttery and over time you get desensitized to looking for them.

Additionally, the current behaviour lets you recolor the TODO/FIXME keyword to something really noticeable (like harsh red) without screwing with the rest of the sentence’s readability.

This is preference really, but I think it’s important (as feedback to Roblox) that I provide this counter argument.

2 Likes

what are the color settings for those colors?

Same happens for me :frowning:

While I cannot give a 100% guarantee of safety for any beta feature, I can say that none of these features (are intended to) change anything about the actual code contents of the scripts. They only modify how scripts are displayed in Roblox Studio’s code editor. It would, therefore, be hard to see any scenario in which they change the behavior of your code (except perhaps “causing the human to make a mistake”).

3 Likes

This update is truly hot and epic. I am excited for this to be added. One question, can I enable this now through the beta features tab.

The highlighting does not work properly in this case

I think this is something about the new temporary tab feature or a bug, or maybe it’s not even related to this update, but whenever you click a script from the output window, it clears all the edit record of the script (you can’t Ctrl-Z or Ctrl-Y to undo or redo). Plus, it will go back to the first initial line of the script. This is really annoying when I have thousand of lines in a script and I have to memorize the line that I was editing on and go back by using the Go-To line function (Ctrl-G). Am I doing it in a wrong way or it’s a bug?

3hFsgLgk9b

1 Like

Pretty cool, I managed to make a vs code style theme, I suggest to have like a table key and table index setting to change the color for the keys and the indexes

Yay! Can we also please have ctrl+shift+tab to go back the other way? Super useful being able to flip back and forth.

I just came here to complain about temporary tabs. lol. It’s driving me crazy and slowing me down. Changes like that need some kind of pop up window vs the blue What’s new ribbon because I have auto install betas on and I’m pulling my hair out. Trying to change the name of a script, hitting delete and nothing is deleting, than I look at the script and the first 3 letters are missing… Oh the anxiety! I closed studio a few times, thinking it was broken! Hilarious!

2 Likes

Hi,

I’m not sure if there is a dedicated bug reporting channel for the beta, so I’ll post this here:

BUG REPORT

With the new “Script Editor Beta Features” enabled,

You cannot copy scripts by clicking on them in the explorer, and then pressing control + C.

Reproduction:

  1. Have “Script Editor Beta Features” enabled
  2. Open the game explorer
  3. Click on a script / module-script / local-script instance in the explorer
  4. Attempt to copy it with by holding control and then pressing C
  5. Attempt to paste it and note that it was not copied (nothing/something else will be pasted)
  6. Not convinced? Copy a non-script instance (such as a part) with control C
  7. Paste it into (ctrl+shift+v) an instance and note that it works fine

Notes:
OS: Windows 10
Other beta features enabled: “Safe Studio Updates”

Tested with expressive output on/off, reproduces both time

Precision Guesswork:
I’m guessing the new “preview” function is causing this. Just a hunch since this behaviour is isolated to script / ModuleScript / LocalScript instances.

Feel free to message me if you need more info!

This is incredible! I got use to coding in Visual Studio Code because I’m adjusted to using custom syntax, however I like what they’re doing here.

Awesome work!

1 Like