No Undo in Build Script Editor - Unresolved after 15 years

Feedback Case Number: 7749

https://tracker.xojo.com/xojoinc/xojo/-/issues/7749

I know that build scripts are generally a set it and forget it thing, but when you do need to create or edit one, it’s extremely frustrating that there is no undo/redo like there is in the standard code editor that we’re all used to.

IMO, any text editor that doesn’t have that basic feature shouldn’t even ship.

It’s just surprising to me that this ticket has been open for 15 years now and has gone unaddressed.

Maybe we can give this some thumbs up and give it some more visibility so that it can finally get fixed.

5 Likes

maybe xojo, like most rad/ide tools, should dump their homegrown editor and let one of the multitudes of text editors take over.
i’ve heard that VSC and ST are both adequate.

The built in one is certainly serviceable, but I just don’t understand what makes the build script editor different from the code editor.

Surely it must be the same custom TextInputCanvas, right?

Something has always been a bit different about the Build Script editors. Understandably, it does not have full support for the Xojo language, so it is rare when the Autocomplete list appears.

I just tried it now with 2025r1.1 and while the list was open, I hit backspace and got a NOE.

I created an issue #79106

It appears reproducible. In a Build Script editor, type if d (tab) to make autocomplete appear, then (backspace).

1 Like

Yep, confirmed.

That issue is reproducible.

+1 to your ticket as well

1 Like

And we can’t search, I have to copy and paste in TextEdit to search for a word.

1 Like

I disagree. My time spent with VSC feels like 50% typing code, and 50% fighting against it. It autocompletes things I didn’t ask for, I’m constantly pressing escape to get the giant hint wall out of my way, it adds closing syntax AGGRESSSIVELY, and this is all after trying to get it to chill out and just let me type.

3 Likes

you don’t have to use autocomplete with any text editor. i don’t even have available as an option in ST. it’s still a better code editor than all but one of the dev tools/languages i use.

It’s not that I don’t want autocomplete. I don’t like its autocomplete. Maybe I want to turn off a block of code in HTML, so I go to the start and type <!-- and it frustratingly adds -->. So now I get to either delete the closing tag, or cut and paste it to the end of the block. It just adds stuff without me asking it to, all the time. I like Xojo’s less in-your-face style. Neither is perfect, but I’m not fighting against Xojo’s like I am VSC’s.

I really like Nova’s editor. My only complaint with that one is specific to PHP. If I call a static method with MyClass::Method(), the next line will be incorrectly indented an additional level. But it’s not so aggressive, and choosing a function to complete inserts parameter placeholders. That’s something I wanted to add to Xojo, but didn’t get the time.

In Settings set Auto Closing Comments to never :man_shrugging:

Thanks. I had turned off closing brackets already, but I missed all those other settings. I now have a lot of ‘nevers’ set.

i totally get it. closing quotes is always frustrating, because it’s wrong at least half the time. closing brackets / parens / etc. in languages that aren’t bracket-heavy is also annoying.
autocomplete/suggestions should be

  • optional (tab to accept)
  • a lot more than one or two characters