• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

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 25 Oct 2016, 19:02

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

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 25 Oct 2016, 23:13

      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 26 Oct 2016, 15:00

        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
        • T Offline
          thomthom
          last edited by 26 Oct 2016, 20:11

          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 6 Nov 2016, 19:43

            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
            • T Offline
              thomthom
              last edited by 7 Nov 2016, 12:15

              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