Results 1 to 12 of 12
  1. #1
    Member scorpion81's Avatar
    Join Date
    Dec 2010
    Location
    Germany
    Posts
    701

    [Addon] Edit Addon Sources Operator

    Hello,

    i have made a simple addon again, which allows you to quickly open source files of addons with a single or with multiple files with a click of a button directly from the Addons page under User Preferences.

    Just install and activate the addon as usual and you can also set optionally an external text editor as preference. If you leave it blank, the source files will be opened in blenders scripting view.

    After enabling the addon you should see following:



    This "Edit Source" button will be added to all addons automatically and will open the sources of this particular addon when clicked.


    edit_source.zip

    Edit: slight update by adding a "Use External Editor" checkbox,
    so you dont always have to clear out the editor path if you want to use the internal editor in the mean time.

    edit_source_0_4.zip
    Attached Images Attached Images
    Last edited by scorpion81; 18-Apr-16 at 15:26.
    Finished: 1980 Cadillac , WIP: Ferrari F40 , Ju-87



  2. #2
    Member
    Join Date
    Nov 2009
    Location
    Southern California
    Posts
    534
    Excellent addon. Very useful for frequent py coders that work with other addons or want to quickly find and edit their addon code from inside Blender .
    I will give more feedback when I have time to use it more.

    Good job scorpion81



  3. #3
    Member Craig Jones's Avatar
    Join Date
    Apr 2006
    Location
    Yoakum, TX
    Posts
    6,231
    Thank you, I can't wait to just see what I can learn using this addon about how other addons work



  4. #4
    Member gregzaal's Avatar
    Join Date
    Jun 2010
    Location
    Johannesburg
    Posts
    2,195
    Really useful, thanks man



  5. #5
    Member PKHG's Avatar
    Join Date
    Sep 2009
    Location
    NL
    Posts
    1,928
    Small question .. I am using Emacs as external editor, it opens indeed nicely BUT not with the intended file.
    The source link looks like C:\emacs-24.2\bin\runemacs.exe

    Have I to add something 'extra' ? some parameter like %f or so?

    Oh changed the external editor to a newly installed notepad++ works great!

    Thanks for this addon
    Peter



  6. #6
    Member scorpion81's Avatar
    Join Date
    Dec 2010
    Location
    Germany
    Posts
    701
    @PKHG

    Just installed emacs under windows and tested, should work fine with just the path to the exe. If the addon consists of multiple (py) files, they all will be opened in different emacs buffers.
    Finished: 1980 Cadillac , WIP: Ferrari F40 , Ju-87



  7. #7
    Member PKHG's Avatar
    Join Date
    Sep 2009
    Location
    NL
    Posts
    1,928
    it doesn.t ... but maybe the reason is that I force the rember file to open up at starttime ;-) ...
    But am very happy with notpad++

    Thanks for trying and answering ;-)

    Peter



  8. #8
    Very useful! thnx!
    Check out my new add-on, IDMapper, or the other ones on my Blender Market store.
    There you will also find my e-books 'Creating Add-ons for Blender', 'Open Shading Language for Blender' and the new 'Blender Add-on Cookbook'.
    Main blog: http://blenderthings.blogspot.com



  9. #9
    Thanks, it proved very useful quite recently!



  10. #10
    Member bashi's Avatar
    Join Date
    Oct 2010
    Location
    Bern, Switzerland
    Posts
    1,018
    Nice Addon, thanks scorpion81
    bwide.wordpress.com - Free NodePack, 70+ Cycles + Compositor
    Happy Destruction with: Bullet Constraints Tools



  11. #11
    Member
    Join Date
    Nov 2009
    Location
    Southern California
    Posts
    534
    Woot woot! There's a new version out! v.0.4 : ) Thanks scorpion81!



  12. #12
    Member
    Join Date
    Oct 2014
    Location
    Chernivtsi, Ukraine
    Posts
    225
    Thank you very match. Nice and necessary thing



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •