Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
After clearing recent project items, the project switcher window no longer lists recent projects.
Directory autocomplete in find in files
The windows default "choose your folder" panel isn't as quick and elegant as other parts of the app.
Find and Replace (Ctrl+H) with one line selected should activate "In selection" option
Steps to reproduce:
Given this text:
foo
food
Move the cursor to the line containing "foo", press Home, Shift+End, press Ctrl+H, type "foo" in the Find What box, type "bar" in the Replace With box, then click Replace All.
Expected:
foo -> bar
Actual:
foo -> bar
food -> bard
Looks like "In selection" is only automatically set if selection is longer than one line. I think it should be set any time there's a selection, including when I've only selected the current line.
Build 2181 on Linux
r2165 cann't start on windows server 2008 r2
+ <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="SideBySide" />
<EventID Qualifiers="49409">35</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-01-17T13:59:37.000000000Z" />
<EventRecordID>124</EventRecordID>
<Channel>Application</Channel>
<Computer>p5vm.leafia.com</Computer>
<Security />
</System>
- <EventData>
<Data>Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"</Data>
<Data>Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.1"</Data>
<Data />
<Data />
<Data />
<Data />
<Data />
<Data />
<Data />
<Data />
<Data>C:\Program Files\Sublime Text 2\sublime_text.exe</Data>
<Data>C:\Program Files\Sublime Text 2\Microsoft.VC90.CRT.MANIFEST</Data>
<Data>4</Data>
<Data />
<Data />
<Data />
<Data />
<Data />
<Data />
<Data />
</EventData>
</Event>
Setting to indicate folder to search for .sublime-project files
phpdoc new lines
/**
* @var bool
*/
@var is highlighted. If the comment starts as "/*" instead of "/**", the highlighting is gone, which is to be expected. Wouldn't it be good to extend this distinct behavior further ahead, by adding a little more, namely: when pressing <enter> within the "/**" comment block, the new line should start with the usual space padding, followed by the " * ". The thing is that at least for phpdoc, lines within the "/**" comment block, not starting with an asterisk, are ignored by documentation generator. So one has to manually add asterisks at the beginning of each line. Auto adding it would be a great help.
API: better use of Python properties
The Python API should use the "property" function (http://docs.python.org/library/functions.html#property) wherever possible to make accessing and setting information about ST2's current state more seamless and Pythonic. This will make it even easier to write more and better plugins, and since it's a backwards-incompatible change, the time to make it is *now*, while ST2 is still in alpha/beta state.
All methods that take no arguments and exist only to return information should be decorated with "@property" so that other functions don't need to use parentheses to call the method. Some examples of methods that could use this treatment: sublime.windows(), sublime.version(), view.id(), view.file_name(), view.is_dirty(), view.settings(), region.size(), region.empty(), window.id(), window.views(), window.active_group(), etc. This allows for easier chaining: in the context of a plugin, it would be nice to refer to self.view.window.folders[i], instead of self.view.window().folders()[i].
Some objects have a pair of getter/setter methods: for example, view.name() and view.set_name(name). The "property" function allows you to combine these into one property, so that plugin writers can find out the name of the view by accessing view.name and set the name of the view by assigning a string to view.name (like so: view.name = "my view"). This is much more readable and Pythonic than having a separate method just to do assignment.
Configurable behavior when clicking on Sublime Text dock icon
Open/Save file dialog
Add API for Open and Save file dialog.
This is useful when a plugin would like user to choose an converted output for current view.
Show glyph at the beginning of wrapped lines
Customer support service by UserEcho