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

I very much dislike this. Why? Usually I could single click a script JUST to select it, then I could delete it. Now instead I would have to right click the script then click delete. Is there a way to disable this? I don’t need it and I don’t like it.

4 Likes

I have found you can also middle click a script to select it - which also feels very weird and dis-jointed.

Its kind of like moving from Blender 2.7 to 2.8 with its interaction changes… but not to that extreme of course. :sweat_smile:

2 Likes

Wow nice new features! A couple things I’d like to note:

  • A lot of devs would prefer deeper integration with external editors, including myself. I think working on the in-studio editor is important as a first step to make sure new users get a worthy experience and only have to learn one software. I personally use the in-studio script editor because I like the simplicity & lightweight feeling of it.
  • It would be nice to have the VS Code advantages such as plugins (Roblox doesn’t have any plugin API for the script editor), especially the code outliner (Great for opening up code without seeing it before and then quickly getting a feel of the capabilities of it.) It lists all the functions and variables in a list, acting as an explorer for the code itself. I’d love something like this but nothing exists on roblox:

  • With all the new themes and all that it would be really handy to save themes as a .XML file extention or something so we can share it with friends or post it on the dev forum
12 Likes

Yes! I love this update! The one bug I have noticed, is that stats shows blue, like it is a default part of LUA. The only thing is it has no functions. It doesn’t mess anything up, just something I’ve noticed. I’ll edit this post if I find more.

1 Like

Is there a way to disable the previews? I don’t want my scripts to open when I single click them, and have to keep closing the script window when I just want to select or rename it. It’s been frustrating me a little over the past few days, and I wondered if I was having issues with my mouse to begin with.

5 Likes

Thank you, Roblox. Been waiting for built-in themes for a while. Also, some of these themes seem similar to the ones in a plugin…

I like the temporary tabs feature but I don’t like how it auto focuses my cursor inside the script editor. I have to double click on a script to select the actual script instance. There’s no point in auto placing the cursor on the very beginning of the script so can we just not have that auto focus?

Plus, the auto focusing messes me up and I accidentally edit the code instead of the explorer.

2 Likes

The script editor taking focus from the explorer when opening a temporary document is a bug, which should be fixed soon. Unless you’re referring to a different widget?

3 Likes

I love this update, I think its amazing, but properties tab can’t be resized to smaller…

Thank you for the feedback @PeZsmistic! Ctrl+Shift+D should duplicate code in the Editor. We’ll look into adding a setting to disable temporary tabs, if the focus is kept on the Explorer when single clicking, does that fix your issue?

2 Likes

Thank you for bringing this up @Halalaluyafail3! We’ve filed a ticket internally to fix this :slight_smile:

1 Like

There’s a bug that we’re fixing which should allow you to single click a Script from the Explorer and then delete it. We’re also looking into adding an option to disable temporary tabs

4 Likes

Just going to tag onto this personally, the temporary script view while neat is more of a nuisance than anything. It’s cluttered my studio view and frustrated me all day today. I love every other improvement and change aside from this one. I’d love a way to just disable it.

Thanks, I wasn’t aware.

No, the issue is the script editor opening at all, which is jarring and rips me out of whatever work I’m doing that is focused on the viewport. I’m often doing a lot of hierarchy work around scripts, e.g. moving them alongside other instances, selecting to rename / change properties, and expanding and collapsing trees (which can be error prone for me, I often select the instance instead of clicking on the expand/collapse caret by accident since it is small). Sometimes I just click around to select things naturally while thinking, and it’s distracting that the script editor opens when that was not my intention.

In all of these situations with the current behavior I end up opening the script editor when I did not want to. I find this single click behavior extremely jarring and unexpected. Since Studio is not a solely code-focused environment, me getting launched into a coding environment with a single click when my intention is completely different is very undesired and interrupts my workflow, especially since I then need to manually switch back to the viewport tab. The tab changing without my explicit desire pulls me out of my work and makes me waste time changing it again.

2 Likes

This is possible through the Customize Shortcut menu!

4 Likes

Hey @jumbopushpop112! Do you mind elaborating on the problem and maybe posting a screenshot or a video please?

1 Like

Thank you for the feedback @PancakeCommand! We’ll add a way to disable it but is there anything we can do to help with removing the clutter or make it less frustrating to use?

1 Like

Yes, I can share one. Whenever I try to resize properties I am not able to.

1 Like

This is most likely completely unrelated to the script editor, and is in fact this old problem: Properties widget multiple screens in width; cannot make it smaller

Wait, so that annoying click-to-open script isn’t in Beta anymore? So that means it’s forced on?

Please add a toggle for this. I discovered the Beta feature for it a couple of days ago or yesterday and quickly disabled it since it disrupted my workflow with thousands of scripts just popping up when all I want to do is rename them.

1 Like