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!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    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