Only issue I see is that the “external” label must either be truncated or hidden otherwise the footer will overflow too easily. Currently cursor and selection stats are on the far right.
Guess if I drew tabs via bgl it would be possible to show a snippet of the path next to the title in the tab like vscode can do.
Some friday evening shenanigans.
The Script Editing workspace has been updated to include Python Module Manager and View System Console Output in Python Console: https://github.com/tin2tin/Script_Editing
I haven’t figured out how to auto add python tool tips in the Properties, I could need some help on that.
Proposal to create stub files for better auto-completion inside and outside of Blender:
Add-on for toggling the system console:
I fixed paste
added translate selection |shift+left/right arrow|
Really good add-on. Maybe you could consider submitting it for inclusion in Blender? If you want to do so, maybe you could align the menu with the Blender standards?
Ex. using Title Case for the menu entries ex.
select line >
Changing this to expose the two operators:
self.layout.label(text="Translate selection |shift+right/left arrow|")
self.layout.operator("console.easy_translate", text="Translate Right").direction = "forward" self.layout.operator("console.easy_translate", text="Translate Left")
Anyway, great work.
Eh, cool patch! (This one also needs to use Title Case in the UI. Title Case could also be used for add-on names)
A question. When coding installed multi-file add-ons from within the Text Editor, what is your preferred method to quickly reinstall and reenable it?
A reply on Twitter:
hey it is kind of linked to your question. I improved this script. this is restarting blender and saving the file as temp.blend to temp folder if not saved…https://github.com/1C0D/blender-restart
I added it there too in the main menu as “blender restart”
so it could allow to do a super reload and fixing some bugs sometime…
I really dislike waiting on Blender starting up, which is why I prefer to code inside Blender compared to in an external editor. Maybe @Karmaral’s add-on could be expanded to also update add-ons in folders, so you set up a path to a folder, and when you hit Reload Add-on the old installation is uninstalled, the folder is zipped, installed and enabled?
Is your add-on already doing this @1_conscience_0_dimen?
Would be nice if this would import add-on folders:
bpy.ops.preferences.addon_install(overwrite=True, target='DEFAULT', filepath='C:\\Users\\45239\\Downloads\\space_sequencer', filter_folder=True, filter_python=True)
But it doesn’t seem to be added, or at least I can’t get it to work? https://developer.blender.org/diffusion/B/browse/master/release/scripts/startup/bl_operators/userpref.py$597
Since this is python code it could used in an add-on but converted to do the import routine on folders.
no, when I use a zip, I open the zip with winrar, then the files from winrar browser, inside a text editor, like a normal file. do the save. then winrar is asking to save too, detecting the change. and if I create a new file, I can just drag it into the zip. But I don’t do multifiles for the moment.
your solution seems good to add a zip action from a folder. instead of selecting a file, select a folder and all files in. I’m already checking this way to see if the installed unziped addon has a bl_info. and to zip I don’t know, but it should be easy to find on google
I submitted a small patch to allow to install an add-on-folder:
D9663 Add folder-add-on installation through python. (blender.org)
How about a vote for this much needed patch to send all python errors to Info Editor: https://developer.blender.org/D9752