sketchucation logo sketchucation
    • Login
    ⚠️ Attention | Having issues with Sketchucation Tools 5? Report Here

    Notepad++ SU8 Ruby API Autocomplete

    Scheduled Pinned Locked Moved Developers' Forum
    62 Posts 12 Posters 14.4k Views 12 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.
    • J Offline
      Jim
      last edited by

      @thomthom said:

      does it include argument name hints?

      Yes. If you look at the spreadsheet, overloads are handled using a period (.) You can have any number of overloads and parameters.

      @thomthom said:

      Do you have a pre-compiled XML file?

      Ruby.xml.txt

      NP++ Seems to get confused, though. See how NP++ uses the hints from add for add_3d_text. I can't see anything wrong in the XML according to the docs.

      2012-06-03_171410.png

      2012-06-03_171428.png

      Hi

      1 Reply Last reply Reply Quote 0
      • A Offline
        Anton_S
        last edited by

        Is there a way for np++ automatically to add/remove your own module, class, and method names into/from the auto-complition list?

        What I mean:
        Lets say I write some class in NP++, naming it 'Anton'.
        On the next line I start with letter A and the auto-completion-list should show-up displaying all index with A including my name.
        Then I erase my class and on next line start with word A again. Now, the index list should no longer have 'Anton' in the index.

        Sorry, that's kind of awkward put together, though I hope ya could understand what I mean. πŸ‘Š

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

          Not that I'm aware of - but it would be really nice. It's something that an IDE does though - and Notepadd++ is more of a text editor than an IDE. But they do have a plugin system - maybe there is something there.... ?

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

          1 Reply Last reply Reply Quote 0
          • Dan RathbunD Offline
            Dan Rathbun
            last edited by

            @anton_s said:

            Is there a way for np++ automatically to add/remove your own module, class, and method names into/from the auto-complition list?

            What I was really wishing for... was to be able to load multiple API overlay files.

            One for Core Ruby. Then if You wanted to work on a Rails project, you could load a Rails API overlay list.

            For a Sketchup example, the Core Ruby API would always load. Then of course we'd need the basic Sketchup API. If we also needed the TT_Lib API, and the WxSU APIs, we could load them also.

            NP++ has session files that keep track of all open files in a project, their window sizes, the language they use, where the cursor is, what is hilighted, etc. So keeping an API file list for each file would not be "out of this world."

            For a Js example, you could set a Core Js, and overlay say, the JQuery API on top of it.

            And it would also be nice to have a "bread-crumb" API bar that would list the loaded APIs for the active file.
            There is alot of room on the left side of the statusbar (just after it displays the file language, and before the file length.)

            πŸ’­

            I'm not here much anymore.

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

              [off:yn4rf05y]And a list of methods in file...[/off:yn4rf05y]

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

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

                Time to find a new editor.

                Hi

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

                  @jim said:

                  Time to find a new editor.

                  Got any good alternatives?

                  On OSX there is TextMate, but Windows...?

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

                  1 Reply Last reply Reply Quote 0
                  • Rich O BrienR Offline
                    Rich O Brien Moderator
                    last edited by

                    Sublime 2?

                    Download the free D'oh Book for SketchUp πŸ“–

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

                      @rich o brien said:

                      Sublime 2?

                      Looking really good!! So far it got the features I use the most in NP++. πŸ‘ πŸ‘ πŸ‘

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

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

                        Ah! Yes! Code insight! It suggest the methods I have in the current document! sweeeet!

                        Didn't provide hint for File.exist? - it suggested File, but not exist? ...

                        You can add your own keywords? Anyone added the SU API to this?

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

                        1 Reply Last reply Reply Quote 0
                        • Rich O BrienR Offline
                          Rich O Brien Moderator
                          last edited by

                          found it a few months back and really like it but i don't use it for ruby

                          Download the free D'oh Book for SketchUp πŸ“–

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

                            And spell checking for comments and strings!!! FTW!!!

                            Default shortcuts for bookmarks and duplicate line is the same as NP++ ... double-plus-good!!!

                            Now, where is current-line-highlighting...?

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

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Anton_S
                              last edited by

                              @rich o brien said:

                              Sublime 2?

                              Sublime 2 is awesome!!!

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

                                @anton_s said:

                                @rich o brien said:

                                Sublime 2?

                                Sublime 2 is awesome!!!

                                Ditto! It's not freeware - but I have no problem paying for this one.

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

                                1 Reply Last reply Reply Quote 0
                                • Dan RathbunD Offline
                                  Dan Rathbun
                                  last edited by

                                  Wasn't there an old thread where we discussed various editors Komodo, etc. ?

                                  I'm not here much anymore.

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    Anton_S
                                    last edited by

                                    @thomthom said:

                                    @anton_s said:

                                    @rich o brien said:

                                    Sublime 2?

                                    Sublime 2 is awesome!!!

                                    Ditto! It's not freeware - but I have no problem paying for this one.

                                    Sure, piece of cake πŸ˜„

                                    'Hay, dad...'

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

                                      WOW ! I just try it right now and it's impressive work !
                                      It's little bit easier to write a code now ! πŸ‘

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        Anton_S
                                        last edited by

                                        Notepad++ and Sublime 2 are awesome, but there is no editors similar to RubyMine; Using it forever!

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          BenTreeser
                                          last edited by

                                          Thanks a lot!

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

                                          Advertisement