Been playing around with the script editor lately within Create and I’ve got a number of minor feature requests that’d be nice to have as user prefs. This is a small laundry list of things, so if you want these broken out, or more detail please let me know.
None of these are particularly major but they’d be all nice QoL adjustments (with the possible exception of the tab thing, which has gotten me a couple times already)
The default in the current script editor is to tab (with a tab) when the tab key is places, and when shift+tab is hit, it’ll dedent four spaces or one tab character.
For most of the code I’m looking to bring over into the script editor it’s all coming from only spaces, so it’d be nice to have a config option to insert spaces instead of tabs.
It’d be good to get a user-chooseable font (and size), or if that’s not doable, a monospaced font ideally? Also, I’m glad it’s showing the whitespace by default, but if I could turn this off that’d be something I’d like
I’m coming from nuke, so in that we have block comment/decomment behaviour using ctrl+/, which I’m really missing. I didn’t realise how much i’d miss it til it wasn’t there.
Using double quotes, triple quoted strings only go to the pink string highlighting colour between the first and second instance of the quotes
Single quotes seem to work, but using triple single quotes seems to set the highlighting to be the dark green comment, and the highlighter doesn’t understand how to close it off.
Minor feature, there’s already a context menu for this, but it’d be nice to have a hotkey for it (maybe ctrl+backspace)
The output window and script editor window seem to have a fixed-percentage relationship, it’d be nice to have a divider/grab handle to allow the output window to be resized so I can see more output.
EDIT: and a couple more…
Makes it hard to select a large block of text to execute, you have to do this by shift + arrow keys to select any region.
The cursor position once the pointer leaves the active window looks like it’s frozen but this means that you can’t select large regions (combined with the lack of shift + select). Looks like cursor xy is lost the second you move out of the text area, so if it held on for the window chrome that might be enough
…would be really handy.
As per comment from @mebstyle on Simple render USD scene to PNG - #3 by mebstyne not being able to copy/paste error messages out makes it a bit harder to ship them.