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

    Multiplatform editor Sublime Text 2

    Scheduled Pinned Locked Moved Developers' Forum
    23 Posts 6 Posters 3.0k 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.
    • thomthomT Offline
      thomthom
      last edited by

      @unknownuser said:

      • Goto Anything - quickly navigate to open/recent files and within files (e.g. ruby methods)

      That sounds good. I've been missing that in Notepad++. I often wished I used my Mac as main computer so I could use TextMate.

      $59 for an alpha software.. hmm... will give it a go, but...

      @unknownuser said:

      I am currently working in adding SketchUp support - run code inside Sketchup from Sublime and dynamic code completion.

      sold!!!

      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

        Sublime Text 2.0 is released.

        It is a fine editor - well designed and implemented.

        How's that code completion coming?

        Hi

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

          oopsy. forgot about it. hard at work with TBD v3 πŸ˜‰

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

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

            What does Sublime's auto complete definition file(s) look like ??

            I'm not here much anymore.

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

              favicon

              (docs.sublimetext.info)

              and an example for some HTML5 - https://github.com/allaire/HTML5-sublime-completions

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

              1 Reply Last reply Reply Quote 0
              • chrisglasierC Offline
                chrisglasier
                last edited by

                Here is a comparison with NP++.

                Sublime
                NPP++

                I find the red pairing of brackets useful.

                With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

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

                  brackets.png
                  SublimeText version: I find underline better πŸ˜‰

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

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

                    The red is more visually distinguishable though, especially like in Chris' example where it cross multiple lines.

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

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

                      every programmer with his 'own' taste πŸŽ‰

                      BracketHighlighter plugin:

                      https://github.com/facelessuser/BracketHighlighter/raw/master/example.png

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

                      1 Reply Last reply Reply Quote 0
                      • chrisglasierC Offline
                        chrisglasier
                        last edited by

                        @unknownuser said:

                        every programmer with his 'own' taste πŸŽ‰

                        BracketHighlighter plugin:

                        https://github.com/facelessuser/BracketHighlighter/raw/master/example.png

                        That reminds me of the blobby Apricot LCD screen I struggled with in the late eighties (except that was a calmer green and black). But if you are looking for some more objective comment, I have been using NP++ and Sublime almost alternately for the last week or so.

                        The Sublime lefthand file navigation sidebar is far better than the chaotic NP++ recent file list in its dropdown menus.

                        Sublime's optional map scroller is good because you can do more informed stab as well as scroll navigation.

                        If a file is updated outside the editor, Sublime updates its file whereas NP++ asks whether it should do so. I prefer the latter in case I change my mind and use saveAs to restore.

                        I am using Sublime's Mac Classic which suits me.

                        Mac Classic on Windows!

                        With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

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

                          Anyone created auto-complete for the SketchUp API?

                          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

                            I'd think it might be easy to write a Ruby script, that reads the NP++ XML file, and outputs a Sublime JSON file ??

                            I'm not here much anymore.

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

                              @dan rathbun said:

                              I'd think it might be easy to write a Ruby script, that reads the NP++ XML file, and outputs a Sublime JSON file ??

                              Was there a complete NP++ made?

                              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

                                @thomthom said:

                                @dan rathbun said:

                                I'd think it might be easy to write a Ruby script, that reads the NP++ XML file, and outputs a Sublime JSON file ??

                                Was there a complete NP++ made?

                                Likely not.

                                But my point would be that both could benefit from one effort.

                                I'm not here much anymore.

                                1 Reply Last reply Reply Quote 0
                                • chrisglasierC Offline
                                  chrisglasier
                                  last edited by

                                  Nothing to do with the last posts, but I found by using the user preferences

                                  
                                  {
                                  	"auto_complete"; false,
                                  	"color_scheme"; "Packages/Color Scheme - Default/iPlastic.tmTheme",
                                  	"dictionary"; "Packages/Language - English/en_GB.dic",
                                  	"font_face"; "Courier new",
                                  	"font_size"; 11.0
                                  }
                                  
                                  
                                  

                                  the display is much easier to read ... in fact similar to NP++

                                  sublime 2.png

                                  With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

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

                                    @chrisglasier said:

                                    in fact similar to NP++

                                    Not my NP++ πŸ˜„

                                    NP.png

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

                                    1 Reply Last reply Reply Quote 0
                                    • chrisglasierC Offline
                                      chrisglasier
                                      last edited by

                                      Default

                                      With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

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

                                        I personally HATE the Courier New font. (It looks so ragged, .. ie unsmooth.)

                                        I LOVE the MS Consolas font.
                                        It was designed specifically for programming. On XP it required that some edition of MS Visual Studio has already been installed, or the font installer would not install it. It may be possible however to open the installer archive with 7zip, etc. and manually install the Consolas font files.

                                        It looks like Windows 7 comes "out-of-the-box" with Consolas already installed.
                                        Supposedly, Vista and MS Office 2007 also came with Consolas.

                                        @unknownuser said:

                                        (http://en.wikipedia.org/wiki/Consolas)":2xtnoutm]This font [Consolas,] along with Calibri, Cambria, Candara, Constantia and Corbel, is also distributed with the free Powerpoint 2007 Viewer and the Microsoft Office Compatibility Pack.

                                        This website tells how to install Consolas on MAC OSX.

                                        @unknownuser said:

                                        (http://en.wikipedia.org/wiki/Consolas)":2xtnoutm]Bare Bones Software has licensed the font from Ascender for use in their Mac OS X text editor BBEdit.

                                        I'm not here much anymore.

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

                                          @dan rathbun said:

                                          I personally HATE the Courier New font. (It looks so ragged, .. ie unsmooth.)

                                          I LOVE the MS Consolas font.

                                          Ditto. Courier was designed to simply mimic the old typewriters. Consolas was designed to be legible on computer screens.

                                          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

                                            Yep.. and I actually (previously) used to hide my Courier New files. Made copies of the Consolas files, and renamed them Courier, in the " %(#804000)[%SystemRoot%/Fonts]" directory.

                                            Then I found an easier way via the Registry's " %(#0040BF)[FontSubstitutes]" key:

                                            Save as a file somewhere with a " **%(#000000)[.reg]**" extension, say " **%(#000000)[SubConsolasForCourier.reg]**":

                                            Windows Registry Editor Version 5.00
                                            
                                            [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
                                            "Courier New"="Consolas"
                                            "Courier New Bold"="Consolas Bold"
                                            
                                            

                                            Double-click the file, and answer "Yes" when prompted whether you want the file to make changes to the Registry. (Restart the computer to have the changes take effect.)


                                            It may also be possible to change the Hive to %(#0040BF)[HKEY_CURRENT_USER] so that the substitutions only take effect for your user account. (Logoff and log back into your user account to have the changes take effect.)


                                            This makes your machine always substitute Consolas for Courier, in all browsers, in all native dialogs, editors etc.
                                            (The native Notepad.exe looks much better with Consolas!)

                                            πŸ’­

                                            I'm not here much anymore.

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

                                            Advertisement