sketchucation logo sketchucation
    • Login
    โš ๏ธ Attention | Having issues with Sketchucation Tools 5? Report Here

    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

      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
                        • thomthomT Offline
                          thomthom
                          last edited by

                          favicon

                          (docs.sublimetext.info)

                          http://www.sublimetext.com/forum/viewtopic.php?f=2&t=7196

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

                          1 Reply Last reply Reply Quote 0
                          • yorik1984Y Offline
                            yorik1984
                            last edited by

                            I use font DejaVu Sans Mono. Zerro not look like a "O"(Dotted zerro). In Consolas font "l" look like "1"(It's bad)

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

                            Advertisement