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

    Run auto completion for Sketch up API in RubyMine

    Scheduled Pinned Locked Moved Developers' Forum
    6 Posts 2 Posters 1.1k Views 2 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.
    • O Offline
      omda2000
      last edited by

      I need help to run auto completion for sketchup API in RubyMine .

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

        Working on a tutorial for this.

        Meanwhile the gist of it is:

        Get a copy of Jim's SketchUp Ruby API Docs on GitHub: https://github.com/jimfoltz/SketchUp-Ruby-API-Doc

        They will act as stubs. (Missing some argument info. I tend to fill that in and send back pull requests.)

        Then add the lib folder to the Project;

        2016-10-26_01h13_48.png

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

        1 Reply Last reply Reply Quote 0
        • O Offline
          omda2000
          last edited by

          is there any way to connect sketchup debugger to sublime to include the API in the intellisense . same like Rubymine for example

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

            hmm?

            Not sure about the intellisense. Unsure how Sublime handle that.

            As for the debugger, I think it should work if you can find a package that let you set up remote debugging.

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

            1 Reply Last reply Reply Quote 0
            • O Offline
              omda2000
              last edited by

              I added the LIB folder into the project folder , but still Sketchup API autocomplete is not working . Can you advise ?
              thans


              image.png


              image.png

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

                RubyMine only need to know/care about the lib folder in that repo. You can tell it to ignore the other folders.

                As for the auto-complete, I'm having some issues right now myself. Maybe something changed with RubyMine... I'm not sure. Looking into it.

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

                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