Replace Script Editor Tab w/ Custom?

Alright, this is somewhat of a weird one, but is there a way to replace the script editor tab in some way or another? I want to make a custom script editor. When I first attempted this a good while back, I had it so the custom editor came up whenever you had a script selected, but it was pretty annoying. I’d prefer to have it come up when you double click a script. I’m not sure if there’s a way to detect a double click in the explorer like that. But even if there is, it would open the normal script editor.

Or if anyone has a better idea on how to implement opening a custom script editor, I’m all ears. Ideally, I’d prefer if opening the custom editor would be just as easy as the default one. Is there a way to create a tab window like the game and script editor tab windows?

DockWidgets don’t seem to have a “tab” option, but it may end up being my only option at this rate.

VSCODE!!! YES, THE BEST IDE.

Okay, vscode or any other script ides. just make sure you have the rojo extension

Well when you edit scripts they take up your while screen anyway, your best option realistically would be to make a plugin that stays on your screen for script editing you can then make a gui list on the top of your screen just under the tabs. Or better yet make a seperate kind of explorer for all scripts to make them easier to find and edit. Overall though i dont think its worth doing unless you are trying to change the way you script in a major way e.g a script builder like scratch.

That’s exactly what I’m wanting to do. Not sure if I’ll actually finish this, but I feel like attempting this again suddenly. I’m wanting it to feel natural, like the default script editor tab. But I’m not even sure if it’s possible to detect a double click in the explorer. I could make a custom explorer, and I technically have the code to do so, but that sounds very tedious for just a custom script editor. I’d just prefer to make it as seamless as possible. Perhaps I’ll keep it as simply having a script object selected for it to pop up, if I can’t figure out a better solution.

Notepad is the best integrated development environment.

2 Likes

vscode will be even better!! nothing compares!!

1 Like