I guess I’m just going to give feedback on Temporary Tabs. (I might put this into a feature request as it’s severely affecting my workflow). I am a terrain designer, and I use special tools to import my terrain into roblox. I often use the .OBJ Importer to render my terrains before converting. This requires pasting a ton of lines into the script editor. (Which was already broken for me before this!) Usually, when it doesn’t crash, it freezes studio for a few minutes before letting me close. These scripts are usually 1.4 million lines long. With this new feature, selecting the script in the workspace so it’s highlighted causes temporary tab to open, which freezes my studio, and un-highlights the script, so I have to repeat this process over and over. (I need to select it for the .OBJ loader plugin. I need to be able to turn this off. It’s currently killing my workflow. If you have any questions or need specific details/want me to share the script I’m trying to run, please let me know. Thanks!
It’s a pretty good heuristic in this case But yeah to run a 100% correct semantical highlighter you’d need to run a full parse, which can be problematic for performance reasons unless you can scope it to a few lines around the code you’re editing, and also requires a parser that tolerates mistakes in the input text so that you don’t lose highlight information as the text is being edited.
My settings are at default and I have changed it a few times then back to default with no solution. I am not so sure of the default colors, which I have been used to for almost 6 years, which kinda threw me off
Anyone willing to share the default colors or Roblox staff being able to find about the problem?
Will we be getting a Code Mini-map anytime soon? It’s one of the features that makes me want to use a Rojo workflow, as I have gotten so used to using it in Visual Studio:
Some quirks with the new semantic highlighting I found to be annoying:
Roblox currently has ‘Operator color’ take into account parenthesis but this is inconsistent w/other external editors such as VSCode, which don’t consider this an operator and therefore allow you to set operators to their own color.
VSCode:
Studio:
If I change studio’s operator color to the same as my VSCode color:
Too much pink!!
--TODO comments should also highlight the entire line, not just the individual word
This lowkey weird w/out the entire line.
But otherwise this is fantastic stuff guys!! Great work all around - I’m excited to see where this goes
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!
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.
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?
--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.
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”).