sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Notepad++ users: heads up

    Scheduled Pinned Locked Moved Developers' Forum
    12 Posts 10 Posters 5.3k Views 10 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Didier BurD Offline
      Didier Bur
      last edited by

      Hi,
      Using Notepad to code Ruby scripts, I was tired to write the names of SU-Ruby methods that have long names (yes, I'm a lazy guy). So I have added all the Sketchup Ruby methods to the standard Ruby auto-completion file that comes with Notepad++.
      To use it: set auto-completion on in the preferences, set of course Ruby as your coding language, and move the attached XML file in the directory: YOUR_NPP_DIR\plugins\APIs (where YOUR_NPP_DIR is the directory in which you installed Notepad++).
      Put ruby.xml here
      First make a backup of the original ruby.xml file, just in case !

      [mod=:1fapnvti]Newer auto-complete files available here: http://sketchucation.com/forums/viewtopic.php?f=180&t=33972&#p298769[/mod:1fapnvti]


      SU-Ruby.zip

      DB

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Awesomeness!

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • M Offline
          Matt666
          last edited by

          Excellent !

          Frenglish at its best !
          My scripts

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by

            Thanks Didier. I don't use Notepad++ myself, but auto-complete can be a time-saver. I always wanted to create one for my editor.

            However if you were truly lazy, you would have searched here for "notepad autocomplete"...

            301 Moved Permanently

            favicon

            (www.sketchucation.com)

            I hate to see effort spent on something that has already been done. Any suggestion on how to organize and make things easier to find? I have added these to the Ruby Resources sticky post in the Ruby Forum.

            Hi

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              Thanks...

              TIG

              1 Reply Last reply Reply Quote 0
              • H Offline
                Heven7_floor
                last edited by

                I am learning to code by RDE and bride.rb , and find Notepad++ ability as your all suggestions πŸ‘
                but I am trying be practice in RDE editor, I hesitate that I should change behavior to learning with NotePad++ or RDE 🀒
                Do Notepad++ can bridge script to run in SU instantly as RDE πŸ˜’ ?

                1 Reply Last reply Reply Quote 0
                • Didier BurD Offline
                  Didier Bur
                  last edited by

                  Hi,

                  @unknownuser said:

                  However if you were truly lazy, you would have searched here for "notepad autocomplete"...

                  😑 stupid me. I'll consider a "search" next time before doing the job myself πŸŽ‰

                  @unknownuser said:

                  I hesitate that I should change behavior to learning with NotePad++ or RDE

                  I used to code with RDE (sometimes buggy. What I miss in Notepad++ is the code explorer of RDE, but believe me, Notepad++ is much better. I tried several code editors since 20 years, and I find Notepad++ the most powerful and cool to use, especially the braket/brace matching highlight, the syntax folding and the lines bookmarking. Worth a try !

                  DB

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    Heven7_floor
                    last edited by

                    As the few hours trying with Notepad++, I was interested in its feature, so it is quite valuable IDE
                    Thanks Didier , your suggestion is impressive πŸ˜„

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tomasz
                      last edited by

                      Thank you, Didier!
                      I am using Notepad ++ since very beginning and I like it very much.
                      I find it very useful.

                      Tomasz

                      Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        remus
                        last edited by

                        just got round to installing this, thanks very much for your effort in putting this together πŸ‘

                        http://remusrendering.wordpress.com/

                        1 Reply Last reply Reply Quote 0
                        • tbdT Offline
                          tbd
                          last edited by

                          @unknownuser said:

                          Do Notepad++ can bridge script to run in SU instantly as RDE

                          any IDE can be used with SketchUp Bridge if it allows running another process with the current file in command line.

                          @unknownuser said:

                          I always wanted to create one for my editor.

                          I need to open source my play tools as I dont have time to improve them anymore - I made an autocompletion tool which uses SU Ruby, so you have all methods that are in an Object (even those custom defined later) at your fingertips.

                          SketchUp Ruby Consultant | Podium 1.x developer
                          http://plugins.ro

                          1 Reply Last reply Reply Quote 0
                          • N Offline
                            NewOne
                            last edited by

                            here is how you do it using TBD's bridge sollution http://forums.sketchucation.com/viewtopic.php?f=169&t=6903#p137855

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post
                            Buy SketchPlus
                            Buy SUbD
                            Buy WrapR
                            Buy eBook
                            Buy Modelur
                            Buy Vertex Tools
                            Buy SketchCuisine
                            Buy FormFonts

                            Advertisement