sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Update | Sketchucation Tools 5.0.8 released with licensing improvements and bugfixes Download

    Ruby dev environment

    Scheduled Pinned Locked Moved Developers' Forum
    10 Posts 6 Posters 4.4k Views 6 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.
    • A
      a4chitect
      last edited by

      my current workflow is:
      1.writing scripts in notepad++ (pretty good syntax highlighting, but haven't found any autocomplete functionality)
      2.each change of a script has to be saved
      3.after each change I have to load the script in sketchup with the script_loader.rb
      4.run the script with open ruby console to debug

      I have come across sketchup bridge by tbd, but I would like to here from you about your workflow and possible enhancements to mine.

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

        Hi,
        I use RDE (good and custom highlighting) along with the Ruby toolbar by J.Foltz.
        Clicking on an icon to load a rb is much faster than using the Plugins/Load script menu.
        I also made myself an icon to test each new function.

        DB

        1 Reply Last reply
        Reply Quote 0
        • A
          a4chitect
          last edited by

          nice tip didier, thanks. btw is it possible to have the ruby console accept entire paragraphs of script instead of only a line?

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

            I use RDE/Bridge combo with ALT+F1 to send what I wrote in RDE to SU.

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

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

              @unknownuser said:

              btw is it possible to have the ruby console accept entire paragraphs of script instead of only a line?

              Unfortunately no.

              DB

              1 Reply Last reply
              Reply Quote 0
              • G
                GreyHead
                last edited by

                I guess the Aptana Eclipse PlugIn for RadRails would also work well. It includes what appears to be a good ruby editor and debugger (you can ignore the RadRails bits after installation). The community version is still free and more than adequate as a code editor.

                I use the Zend Studio Neon which is a PHP equivalent and, despite some shortcomings, prefer it to the full Zend studio.

                Bob

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

                  @a4chitect said:

                  nice tip didier, thanks. btw is it possible to have the ruby console accept entire paragraphs of script instead of only a line?

                  Maybe WebConsole. I use it sometimes for testing longer snippets.

                  Error 404 (Not Found)!!1

                  favicon

                  (sketchuptips.blogspot.com)

                  Hi

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

                    @didier bur said:

                    Hi,
                    I use RDE (good and custom highlighting) along with the Ruby toolbar by J.Foltz.
                    Clicking on an icon to load a rb is much faster than using the Plugins/Load script menu.
                    I also made myself an icon to test each new function.

                    Didier, Thanks for the recommendation. The latest version can always be had here

                    Hi

                    1 Reply Last reply
                    Reply Quote 0
                    • A
                      a4chitect
                      last edited by

                      yeah thanks! how comes I forgot I had this downloaded 😄 thanks jim

                      @jim said:

                      @a4chitect said:

                      nice tip didier, thanks. btw is it possible to have the ruby console accept entire paragraphs of script instead of only a line?

                      Maybe WebConsole. I use it sometimes for testing longer snippets.

                      Error 404 (Not Found)!!1

                      favicon

                      (sketchuptips.blogspot.com)

                      1 Reply Last reply
                      Reply Quote 0
                      • R
                        radhikari
                        last edited by

                        I find Notepad++ easy and nice. Here please find some files which makes ruby editing in Notepad++ easier. The ruby.xml goes to plugins/API folder and the stylers.xml goes into C:\Documents And Settings(users)\application support\notepad++ (or something like that... I wish I had windows right now). Further instructions in the notepad++ website. ruby.xml makes the autocompletion easy.

                        Happy scripting!!!


                        Notepad++ autoCompletion for ruby and Sketchup

                        1 Reply Last reply
                        Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement