Sublime Text 3.0 is out!Compared to the last beta, 3.0 brings a refreshed UI theme, new color schemes, and a new icon. Some of the other highlights are big syntax highlighting improvements, touch input support on Windows, Touch Bar support on macOS, and apt/yum/pacman repositories for Linux.if (!window.byid) plat = 'osx' arch = '64' scale = 1 byid = function(x) return document.getElementById(x) res = function() scale = window.devicePixelRatio >= 1.3 ? 2 : 1 return scale == 2 ? '@2x' : '' function show_3_screenshot() var target = byid('3ss') target.src = '/screenshots/3.0/' + plat + res() + '.png'show_3_screenshot()if (window.matchMedia) window.matchMedia('screen and (-webkit-min-device-pixel-ratio: 1.3), ' + 'only screen and (-o-min-device-pixel-ratio: 13/10), ' + 'only screen and (min-resolution: 120dpi)').addListener(function(e) show_3_screenshot() )I wanted to highlight some of the changes from Sublime Text 2 here, however it's surprisingly hard: virtually every aspect of the editor has been improved in some way, and even a list of the major changes would be too long. If you'd like to see the full list of changes, the team has made a dedicated page for them.Certainly there are big features that 3.0 has: Goto Definition, a new syntax highlighting engine, a new UI, and an expanded API. However the difference is frequently felt in the hundreds of improvements that don't warrant being featured on their own: spell checking works better, automatic indentation does the right thing more often, word wrapping handles source code better, high DPI screens are properly supported, and Goto Anything is smarter. There's too much to list, but combined the difference is night and day.One of the areas I'm especially proud of in Sublime Text 3 is performance: it's significantly faster than Sublime Text 2 along every axis. Startup is faster, opening files is faster, and scrolling is more efficient. While it's a much larger application than 2, it feels leaner.If you purchased your Sublime Text license from February 2013 onwards, then it's already valid for Sublime Text 3.0. If your license key is for Sublime Text 1 or 2, then you can purchase an upgrade.From myself and the team at Sublime HQ, we're very proud of Sublime Text 3.0, and we hope you enjoy it as much as we do. Onwards to 3.1!Downloads and a full changelog are available on the Sublime Text 3 page.Archives
The command to open the history for the current file is available from the Command Palette and the context menu for files in the side bar . This opens the repo in merge and immediately enters the search mode focused on the appropriate file. If that file has a non-empty selection, it also adds a search term to see not only the history of that file but the history of the selected lines in that file.
But seriously, have you considered using a proper IDE instead of a text editor? It really does make life easier. CLion is a nice IDE and available on Linux. And the Projucer will export CLion projects for you. CodeLite is another one that I got a lot of usage out of. You can configure that one to work with Linux makefiles. But all IDEs will provide syntax highlighting and code completion more or less out of the box. Sublime is a nice editor. So is Visual Studio code, and Atom, but I never use them for JUCE projects. Life is too short.
My reply is not about sublime text but about making autocomplete work somehow in Linux.
I had this problem yesterday, meaning it only autocompleted items that were already in the document and not recognizing the actual library. I solved it today. Attached is an image.
Yes, but in the absence of a session that saved the layout of a window as two columns or a package/plugin that specifically forces windows to switch their layout (as the sample plugin above is doing) , brand new windows are always created with a single file group in them.
As I mentioned in Open up ST4 to edit 1 file should open just 1 column I tested with a clean sublime install (no packages, no license, no settings). When you open ST4, press alt+shift+2 and exit, the next time you open up ST4 the dual pane is there. I would be nice if you open up a file in ST4 ( so no project) it can always open up in a default 1 pane view.
There are numerous git plugins available via Package Control, so all you have to do is browse through them, read the READMEs, and decide if you want to try it out. I use SideBarGit (along with SideBarEnhancements), which allows you to right-click on a file in your project and get access to the whole array of git-related tasks, from Add & Commit & Push to Branch to Clone to Diff and more. Another popular tool is Git, which provides essentially the same options as SideBarGit, just in a menu off Tools instead.
Is it perfect?
By no means, no. Neither is Sublime Text nor the package. ST4 has received great updates and a much better syntax highlighting engine is one of them. However, the engine still has limitations and some fundamental issues remain. The syntax definition language in YAML with regular expressions is also not the best possible way to define a computer language grammar.
Can I somehow highlight code for my slides?
Of course! Just select some code, open the console panel (Ctrl+`) and enter view.export_to_html(view.sel()).
I have seen so many slides with Elixir code in them and the highlighting was just not the best it could be. I hope speakers take notice and create more beautiful slides from now on in the future.
As a note, the Python.sublime-build file that ships with Sublime contains a variant named Syntax Check. If you pick that variant, all it does it compile your code but not run it. So you may want to use Tools > Build With... while editing a Python file and choose the plain Python build and see if that works better.
Hello, I just started using sublime text, and where I work, we program in VB.net using a few custom libraries. is there a way to install VB.NET syntax and code definitions for the auto popup to occur? Thanks in advance!
When I click-drag with mouse on a single line, downwards, or upwards, the text window will scroll upwards, selecting text from the initial click to the current mouse position (or to the top of the text area depending on scrolling speed). The erratic scrolling makes text selection very difficult.
Im working on openSUSE11.4 (KDE4)and start evaluating Sublime Text 2 (build 2217).
When I click in the text, the text cursor is moved where the mouse cursor is, as expected, also moving the mouse wheel works as expected.
However, when I click+drag the mouse,** the whole window is moved** instead of selecting text.
None of the other mentioned solutions do anything for me and I get the symptoms regardless of which user I run with (root vs. other) or any variables. I do not have Gnome, KDE or anything else to be setting anything up in the background for me either.
Since the first public Alpha at the end of January, there have been 12 new releases, and many more dev builds. On average, that's a new version every two weeks for the past five months. During this time, Sublime Text 2 has made great strides in functionality, and a correspondingly large increase in users. Sublime Text 2 has long outgrown its Alpha tag, so it's time to put a Beta label on instead.There's a new release to mark the occasion, and it's got a bigger change list than any previous version. A couple of the highlights are:Command PaletteThe Command Palette provides a quick way to access commands that don't warrant a key binding, and would usually be hidden away in a menu. For example, turning Word Wrap on or off, or changing the syntax highlighting mode of the current file. It uses the same fuzzy matching as Goto Anything does, meaning most commands are accessible with just a few key presses.The command palette can be triggered via Ctrl+Shift+P on Windows and Linux, or Command+Shift+P on OS X.Distraction Free modeDistraction Free mode is full screen, with an extra emphasis on your content. All user interface chrome is hidden, leaving you with nothing but the file you're working on. It's a great help when you want to ignore everything else and just write. Distraction Free mode is accessible from the View menu.Now that Sublime Text 2 is in Beta, I'm planning to reduce the number of releases to around one a month, to avoid frequent update prompts. If you prefer living on the edge, the dev channel typically has a new build every 2 or 3 days.Traditionally, the Beta tag has been used on software to indicate it's feature complete, and is going through testing before the final release. That's not the case with the Sublime Text 2 Beta, which is ready to use, but subject to change. New releases will be coming out, and they'll be adding new functionality and changing how things work.People use Sublime Text 2 every day to get real work done - if you haven't tried it yet, now is a great time.DownloadArchives