Sublime Text 2: Public Alpha Released
sublimetext.com
sublimetext.com
However there are few issues:
* The default theme looks too dark (at least on OSX). It's hard to see which tab is active atm. Simple gray would be better (like in Chrome).
* Cannot change between tabs with Cmd-number.
* If the file is long and minimap is bigger than the height of the screen, clicking on it does not take you to the clicked position, but somewhere else.
* Too much animation, imho.
* Seriously needs a better icon, at least on OSX. It's too simplistic and looks like the frame that you can move when Cmd-tabbing through the programs.
Hope that helps, and keep up the good work!
In fact, it even remembers this so you're good for as long as you want to be single-project, too.
I've been using ST2 all morning, but after I closed it once it just crashes every time I try to open it. Restarting my computer did not help. :\
Edit: Managed to fix it by blowing away ~/Library/Application\ Support/Sublime\ Text\ 2/ and starting over.
Edit: Also, do you have indent guides like in Komodo Edit? I couldn't see a way to turn them on, if so. That's a hard feature to give up once you're used to it, especially for Python.
I keep trying to use Linux as my development platform, and I won't use a Mac (I got beaten with a mac as a young man. It's an emotional reponse), but for some reason I really dislike every nix text editor I've ever tried (emacs, vi, vim, gedit, kate, etc...) and constantly surprised at how ugly and inelegant the text editing world seems on the nix side. BTW, I'm not trying to flame or argue, this is just IMHO.
I've recently been doing some work with mongrel2, lua and Tir, which means that I have to develop on Linux, but I've been very crabby about using text editors that I really dislike. So, I'm really glad to have a port of sublime that works on linux.
Thanks for all the hard work, and I'm really looking forward to the new changes. Keep up the great work!
I studies graphics and animation years ago in the days of OS8 and OS9, and I believed all the hype about how much better Macs were than PC's. So, I was extremely excited when the school I was attending got a lab full of G3's and G4's.
Then, I started using them for hours on end and the beating that I received was through the horrors of using hockey puck mice, and mice without a right click. The trauma of the "click of death" on zip drives. Being exhausted and sleepless and helplessly furious after a render that was going to take 22 hours crashed after 21 hrs and 30 minutes. And, finally, the horror of realizing the that the amazing innovation of being able to "write my video files to DVD" was more or less useless because burning 5 minute video file on the g4's super drive took 2 hours.
After being bitterly disillusioned with apple and mac products those years, but feeling that there was something terribly terribly wrong with me because it was so obvious to everyone around me that "Macs are so much better for graphics".
So, I quietly saved up a dollar here and a dollar there until I finally had enough money to put together my first PC build and I installed Win2k on it, and never looked back.
After my first build, I felt so liberated by being able to upgrade my hardware when ever I felt like it, I never went back. My 20 hour renders at the computer lab took 1 hour on my new processor.
I've been doing my own builds, and swapping out parts in my PC's ever since. I've tried OSX repeatedly. I've built a couple of hackintosh's. But, every single time, the trauma and the horror, and the deep deep bitterness and resentment that I have harbored in my heart against Apple has never gone a way.
I loved Apple once. But after those 3 years of using exclusively Apple products, now I only have an Apple shaped scar burned deep in my soul.
I don't expect other people to agree with me. I know they think that I can't code worth a crap because I'm use Windows as my OS. The disdain and contempt that people have of my favorite OS hurts, but nothing will hurt me as much as Apple has. It's an emotional thing I have.
All that to say, I will never trust Apple again.
:) </hahaha but, no, really>
... what sort of person thinks that? That's just insane.
Haskell and Erlang seem to run on Windows just fine when I mess around with them. The Lua environment on Windows is quite a bit better than the environment on Ubuntu. Mongrel2 doesn't, so I'll settle for running on Ubuntu for the time being.
Python runs beautifully, and the installers work quite a bit better than IMHO than the package system on Ubuntu. iPython is the shell that I live on most of the time, and when I need to automate server stuff, I find that Powershell is actually a much better shell than bash for a lot of stuff that I need on a regular basis. Being able to pipe around full objects rather than plain text is quite nice. When I don't have powershell lying around and I have to settle for bach, I find that I quite miss it.
The search engine that I'm building in my spare time doesn't seem to have any problems running on a Windows server, either.
So, no, I really don't get why people have such a chip on their shoulders when it comes to programmers running Win7. All I can think of is that people have some sort of techno-religious myopia. But, then again, there's jerks in all walks of life. I suppose programmers aren't exempt from that.
>mongrel2, lua and Tir
Also, respect to Zed and MVC fans. However I've found it simpler to write a pure Lua coroutine\socket based stack on top of HTTP and TokyoCabinet than to use preexisting servers, DBMS, or frameworks. The advantage of LuaJIT is it allows you to develop highly refactorable multiprocess stack in one language and have it probably be faster than I/O that you won't need to use non-refactorable C black boxes or frameworks.
For anyone waiting for textmate 2, give this a look. It may very well be just what you are looking for.
Best part is you can completely change all the keybindings (if you want) so you can create your VIM or Emacs setup if you so choose.
Happy day....
Killer features beyond just being so good:
1) Available for every platform (learn once, use everywhere)
2) Licensed per user (buy once, use everywhere)
Loving it already and will purchase imminently.
Edit: Would love it even more if I had a basic vim keymap at hand and could always grab. Looking for most of the basic navigation, editing (yank, delete, paste, etc), search/replace and stuff like that.
* Initial theme is great
* Undo isn't character based
* Split screen/pane
* Top-right there is a cool preview of the document
* Cmd-R gives you quick access to methods in the current file
* Everything seems very quick & snappy and for the most part looks good especially for a cross-platform app.
On the less positive side:
* The fuzzy finder could be a little more relaxed (typing a few letters then a space will give you no results)
* Find files in project could do with a bit of UI (and I'm not sure it does replace as well)
* The project drawer looks like the sidebar in Finder rather than a proper file/directory view.
Really impressed though - definitely tempted to give it a go...
Seriously folks, just learn one of those two, there is nothing new under the sun when it comes to text editors.
In Sublime you can select text with your mouse and on the right there is a graphical overview of the entire document.
Don't know about emacs, but vim has an (optional) gui.
>In Sublime you can select text with your mouse
And in vim - even in the console version in fact. It's useful being able to select text, scroll with the mouse wheel, etc in a terminal window, particularly if you're editing a file on a remote machine.
>and on the right there is a graphical overview of the entire document.
Depending on what 'graphical overview' means, it's almost a certainty that vim can do something similar. The only thing I can think of where that would not be the case is if you mean something like a thumbnail view of the whole document (can't see much use for that offhand, but maybe) [edit: I had a second look to see what you meant by that, and yeah it looks like that's one thing vim can't do].
Not sure if you're aware but it also has features like tabs, arbitrarily split screen, colouring (console version is limited to 256 colours unfortunately, not sure about gui [edit: gVim supports proper 24bit colours]) and numerous other features that you might only expect in a dedicated graphical application.
I just opened vi on my machine and I was unable to select text. Maybe there's a way to get it to work... but in Sublime and other graphical editors it just works.
Thumbnail may have been a better word... Sublime has just that. I've found it useful when working on long files. But regardless, there are other features that a GUI enables, like code folding...
Community page of existing plugins for Sublime Text 1. Hopefully these get ported to 2: http://sublime-text-community-packages.googlecode.com/svn/tr...
http://www.sublimetext.com/docs/api-reference
http://www.sublimetext.com/docs/plugin-basics
http://www.sublimetext.com/docs/plugin-examples
(EDIT: API is for Sublime Text 1 only)
Documentation for Sublime Text 2 is extremely thin on the ground at the moment, it's something I'll try to address soon.
Looking forward when v2 gets stable. Thanks Jon, keep up the good work!
From what I see: - extensions are coded in Python, and there is good documentation on the plugin mechanism. - Each platform seems to use the platform's native window system. There is no use of a common UI like Qt. - The first version is GPU accelerated but the newer one is entirely software.
Seriously impressive work considering it is a single developer. I like how there animations are subtle, and how the entire UI is incredibly responsive. To me, this does to text editors what Chrome did to web browsers.
Try pulling up a source file. Any file, any language. Type in the name of one of your objects, then a period, then hit CTRL+SPACE. What comes up? A list of strings that contain your object name, picked by matching text from the source.
Really? In 2011??? Why are people still using text editors that autocomplete based on text? Why are people still getting excited about them?
Editors have been background compiling and autocompleting based on context for over 10 years now. If you write code for a living, you should be using one. It will make your life easier by an order of magnitude.
I think we've moved past the point where we need to treat code as if it were simply text. Unfortunately for this cool editor, it doesn't really have a place in my world today.
- When you select a file in a project, first it shows some kind of preview and only if you start typing it gets its own tab. Why is that ? Perhaps just keep it simple and always show a tab.
- Can I change the font?
- Creating a new project could be a little be easier to understand (perhaps add "New project from folder")
- The black UI looks great with dark themes, but a gray version would be great for light ones.
- The minimap was a little bit greater on ST1, overlaying it like this turns it into a distraction (unless it would fade away automatically and fade in activated by "hot corners", or something like that).
- Any chance you would think of VC integration, or that isn't a good thing to have in the editor for you?
- Why is this so fast? Can you teach us how to make great looking apps that work on all platforms? :)
Really snappy, "modes" load instantly, great out of the box experience. Congratulations!
You can change the font, but it involves editing the preference files: Have a browse through "Preferences/Default File Preferences", and then copy the relevant keys into "Preferences/User File Preferences" - font_face and font_size in this case.
"font_face": "Monaco",
"font_size": 13I have tried literally every single one over the years. Considering it's made by a single developer development speed is breathtaking and he is always open to suggestions on the Forums.
I was a little wary of the new version after using ST1 for so long, but have finally switched and project management is now a breeze where it used to be a little clunky. Go to anything also rocks.
A++++
You have obviously never tried the Zeus editor.
When learning a new language, and especially when learning a new library, I dearly miss auto-complete (e.g. what you get in Eclipse with Java). I'm learning Haskell, and this would be a fantastic way to get more familiar with not only the standard Prelude, but any of the other Haskell libraries.
deletes whole bunch of other editors from hard disk
Seriously, I can't believe this wasn't recommended to me before now.
I've already informed my boss he has to buy ST2 as soon as it's available. It is, especially with Zen Coding plugin, one of my favorite programs (design/function/utility) that I've ever installed, and I've tried a bunch of the "programmers" text editors for Windows and Linux.
Thanks Jon!
I'm getting: ./sublime_text: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
Linking with ln -s /usr/lib/libpng14.so.14 /usr/lib/libpng12.so.0 doesn't work: ./sublime_text: /usr/lib/libpng12.so.0: version `PNG12_0' not found (required by ./sublime_text)
EDIT: Ah, you've added that now. I'll do some investigation: could you let me (jps@sublimetext.com) know which distro you're running?
(I'm the author of Sublime Text, btw)
thanks for taking the time to have a look!
How many people are willing to pay 59$ for a pretty simple (yet awesome, but not in the sophisticated feature-rich Java-world way) editor? My bet it isn't public information but maybe someone have similar statistics
I don't yet know how Sublime Text compares to TextMate, feature-wise, but TextMate seems to have sold pretty well at (roughly) this price point.
I don't want to say I doubt anyone will buy Sublime. I wanted to know if it allows to pay for a living or to buy a yacht ;-)
Now I know that a text editor is programmer's basic tool, but if $60 represents one week of your salary and you are already on a tight budget, then I can see how one could not afford that.
One small nit for consideration. I realize it may increase conversions, but I absolutely hate it when an application unexpectedly fires up the browser (and surfs off to an unstated destination). (In Sublime's case, via Help / About.)
Some years ago, TextPad got my money through the same model: Unlimited trial. The unlimited trial wasn't enough to "obligate" me, but its excellent performance and feature set won me over. (In particular, I made heavy, ad hoc use of its regular expression support against relatively ginormous, irregularly structured text files -- and file sets -- at the time; something no competitor seemed to match.)
(Unfortunately, TextPad's update to version 5 -- including moving to a newer Microsoft framework -- mostly just made things worse, and development simultaneously seemed to be tapering off.)
I'm pleased to note that line wrapping carries forward the indent level. That's something else TextPad had/has that many of its competitors do not. I find this makes presentations containing wrapped lines much more legible.
EDIT: It would be nice, however, to have an option to restrict the current line highlight to the current display line, for times when the user is working with long form text (e.g. paragraphs).
(Settled on VIM + boatload of plugins, but its far from elegant)
I love the clean non distracting interface, ctrl-p is also a killer feature with the "@" extension.
Only thing I'm missing so far is the VIM autocomplete from all open buffers feature, saves me lots of typos.
The only critic I have is directed to the missing Print function, but it's only a minor problem for me; it's not like I don't have any alternatives to accomplish this task.
Summa summarum it's a very good text editor IMHO, and I'm always learning a new, convenient function by accidentally hitting CTRL + random key (e.g. CTRL + D).
http://www.google.com/search?sourceid=chrome&ie=UTF-8...
Edit: I hadn't seen your posts below saying that this wasn't working for Clojure
import os.
Pressing ctrl+space produced no hint or auto-complete. Does anybody know why ?Another thing I have tried: executing ./sublime_text /mycode/
doesn't import/open that directory within ST, it just opens up blank.
I'm pointing these out to ask for solutions, not to nit pick.
I'll look into what's going on with the command line handling under Linux.
* Option for it to come up automatically instead of with a key combo.
* Taking colours from the active colour scheme.
Keep up the good work!
Just one of the most beautifully designed piece of software I've seen.
Also, I hope you plan to use form controls for saving preferences instead of json-style dicts.
And the Command-P issue.
Otherwise, awesome editor.
Good news! You can easily turn off this behavior by editing your preferences. Just add this to Preferences > User File Preferences:
{
"scroll_past_end" : false
}[1] "Don't get me wrong: Emacs is a great operating system – it lacks a good editor, though." --Thomer M. Gil
I'd love to use this, but I need to be able to see it first. :/
It's tough to evaluate the editor when the colors are all wrong, and I don't want to spend the time to set them up just right only to find out I don't like the editor. I think a feature like that could help increase adoption.
Anyway, I made a theme that's a mod of Twilight but in my opinion far more readable and pretty.
https://gist.github.com/800531
Give it a try!
$ ./sublime_text
Fatal Python error: Interpreter not initialized (version mismatch?)
Aborted
$ python --version
Python 2.6.6
Is that my python version? Could the error message be more verbose, or is it not coming from sublime?
How do I go about fixing that? Wanted to give sublime a try...Anyone know how to accomplish this in Sublime Text ?
Is anyone aware of a plugin for vim that does this sort of thing?
Edit: Removing the ~/.Sublime Text 2 folder fixed things. The segmentation fault only started after I restarted my laptop.
Column selection interacts nicely with multiple selections, too: Use Ctrl+Drag (Command+Drag on OSX) to add selections, and Alt+Drag to subtract selections.
I am thinking about buying it to use under OSX. The XCode editor is not my favourite to put it lightly.
Keep up great work!
My personal opinion - it'd be nice, but I don't miss it enough to switch editors or bug the author - maybe someone will make a plugin for it. I haven't missed it at all in Python or Haskell. Last time I worked on a Java project, I missed it a bit at first, but mostly found that the minimap got rid of that feeling of looking at code through tunnel vision that made me want to collapse it, and by the end of the project I'd shifted to using ST more than Eclipse. I might feel differently if I jumped back in to C#, with #region and all, but I really feel like the C language family lends itself more to IDEs anyway.
The top Go.tmLanguage reported by Google appears to be a work in progress though, I'll see if I can get something sorted for the next version - I'd like to have Go support out of the box.
https://github.com/rsms/Go.tmbundle/tree/master/Syntaxes
Maybe it should be included by default
It's a shame they've not heard about $XDG_CONFIG_HOME (http://standards.freedesktop.org/basedir-spec/basedir-spec-l...)
Second impression: The animations are a bit contrived. The hit state on the file browser arrows could be larger.
Would a statically linked Linux executable work for this?
It is not part of the GTK version on RHEL5 (1.2.10). This might be a difficult problem. RHEL5 is full of old packages. I wouldn't worry too much about it, a lot of government and military facilities use it but everyone else moved on. RHEL6 is out but it will be some time before it makes it through the red tape of approvals.
"Too bad because it looked awesome!"
You will not use it because of the CMD+P problem!?
One of the best things on a Mac is that every application uses standard keyboard shortcuts. For example, CMD-, always opens preferences. I believe that anybody who doesn't follow these conventions is doing it wrong. If the application doesn't print, CMD+P shouldn't do anything in my opinion.
CMD ,