+3

After clearing recent project items, the project switcher window no longer lists recent projects.

Martin Laine 13 років тому оновлено FichteFoll 12 років тому 4
At one point I cleared recent items from my project list (Project > Recent projects > Clear items) and now when I open the Project Switcher Window, it only ever shows the currently open project.
+3

Directory autocomplete in find in files

Mark Schwarz 12 років тому 0
It'd be very nice to have auto complete of directory names.

The windows default "choose your folder" panel isn't as quick and elegant as other parts of the app.
+3

Find and Replace (Ctrl+H) with one line selected should activate "In selection" option

Mikel Ward 12 років тому оновлено Keith Hall 12 років тому 1
When I use Replace... with a single line selected, it replaces all matches in the file rather than all matches on the current line by default.

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
+3

r2165 cann't start on windows server 2008 r2

Koichi MATSUMOTO 13 років тому оновлено Dan Mueller 12 років тому 1
Sublime text 2 can'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>

+3

Setting to indicate folder to search for .sublime-project files

guillermooo 13 років тому 0
At the moment it's impractical to keep .sublime-project files outside of a project.

A settling along the lines of "project_storage_path" would make Ctrl+Shift+P always show the projects stored in the indicated path (including subfolders).
+3

phpdoc new lines

U N. 13 років тому оновлено Victor Cinaglia 13 років тому 2
There is already some support for inline documentation (syntax higlihighting, at least for phpdoc). E.g. in:

/**
 * @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.

+3

API: better use of Python properties

David Baumgold 12 років тому 0

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. 

+3

Configurable behavior when clicking on Sublime Text dock icon

Joshua Benner 13 років тому оновлений 13 років тому 0
Currently, if there are no windows open in Sublime Text on OS X, clicking on the dock icon opens a new editor window.

While this behavior is common in OS X, having to close a window every time I wish to switch to sublime and open a project is bothersome... and I've grown to appreciate the option to configure such behavior in TextMate.

Admittedly a minor thing.
+3

Open/Save file dialog

Xpol Wan 11 років тому 0

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.

+3

Show glyph at the beginning of wrapped lines

Joshua Poehls 13 років тому оновлено Jon Skinner 13 років тому 1
Currently it is not obvious when a line is wrapped. I often mistake a wrapped line for simply an indented second line. Showing a glyph at the beginning of a wrapped line to indicate that it is a continuation would help a lot. I imagine these being faint, similar to when you show whitespace characters.

Likewise a glyph at the end of a line that wraps would be helpful as well.
+3

Thankyou

Wayne Ashley Berry 13 років тому оновлений 13 років тому 0
Great software, thank you so much for giving developers modern tools!

Keep up the hard work :)
+3

KEY CODES and SHORTCUTS !!!

Klaus Hougesen 13 років тому оновлений 13 років тому 0
SCENARIO:
If multiple plugins are installed key codes might get messy.

FEATURE:
When editing shortcut files automatically watch for changes and warn if the new shortcut has already been applied to something else.

SCENARIO:
Multiple new plugins makes for a steep learning curve when approaching st2

FEATURE:
Print a sheet of all active shortcuts and descriptions.
A sort of dynamic cheat sheet of all shortcuts - that gets generated on request as a txt doc or a PDF for easy printing  and categorized in defaults, plugins, languages?


+3

New theme for ST2,

George 13 років тому оновлено uid 13 років тому 3
I really love ST but the theme is... for a Mac user, simply ugly. I recommend one like https://github.com/buymeasoda/soda-theme/ and a new icon, remember, we need power and style too ;). Thanks for make a great editor;I simply love it
+3

In Ruby mode, entering a pipe symbol ("|") with text selected should pipe-bracket that text.

Dan Martinez 12 років тому 0

Since Ruby uses the pipe symbol to demarcate block parameters, it would be nice if the pipe behaved in a way analogous to parentheses, square brackets, and curly brackets: if text is selected when entering the character, instead of replacing said text with the character, place one at the beginning and one at the end of selected text.

+3

Spell checker does not recognize words correctly

11 років тому 0

If I'm not mistaken, Sublime Text uses hunspell dictionaries for its spell checking mechanism. hunspell is also used in LibreOffice and can be used in Vim as well.


Unfortunately, Sublime Text marks words as incorrectly spelled although they're definitely correct. As a result, almost haft of my document is underlined in red. 


I'm using hunspell-de-de (German dictionary) on Ubuntu 12.10, which is identical with the dictionary in the github repository.


As a verification, I opened my document in LibreOffice, Vim and hunspell's interactive console and everything was fine.


Could you please look into that. Right now, the spell checking mechanism seems completely useless.

+3

Triple click options

Hasitha Liyanage 11 років тому 0

Common shift + (arrow/mouse) selections that are tedious and can be potentially replaced by a triple click:

  1. Selecting the text within a single or double quoted string
  2. Selecting the enclosure of a pair of parentheses, brackets or angle brackets
  3. Selecting a name-value pair (particularly in XML)
  4. Other commonly copied and pasted language constructs

It may be difficult to make these language aware, but at a minimum, selecting an enclosure based on the following as delimiters may be possible: ['"<>(){},]

+3

Find All within selection

David Baumgold 13 років тому 0
The situation: I want to copy a function and change a few variable names and function calls in the copied version. I'm using Vintage mode, so I can just use the Vim keystrokes to easily select the function in Visual mode, yank it, and paste it below. Next, I want to do a search/replace, but *only* within the context of the copied function, so I select the copied function using Visual mode, press "/" or "Cmd-F" to bring up the search box, type in the word I want to find, and then press Alt-Enter, intending for it to match within the context of the selected text. Instead, it matches across the whole file. (If it matched correctly, I could use ST2's multiple selection/cursors feature to easily replace the way I want.)

Can you add a feature to restrict search to within a selection?
+3

Right clicking a file/folder in the sidebar should allow to "Reveal in Finder"

Caleb Land 12 років тому оновлено Marc-André Lafortune 11 років тому 1
Nevermind, I see there is already a ticket for this. I searched for the word "reveal" but it didn't come up in userecho the first time.

When you right click a file or folder in the sidebar there should be an option to "Reveal in Finder" which would open a finder window with the selected item highlighted.

If the item is a folder, there should also be an option to "Open in Finder" which would open a finder window of that folder's contents.

This makes working with projects easier. Thanks
+3

Navigate Find Results via keyboard

yun sheng 11 років тому 0

Is it possible to navigate FindResults from keyboard?


like,

1, ctrl+shift+f, find "test"

2, Press 'F7' to next match, 'F6' for previous match


Currently this could only done by double clicking the result line, and I must open the FindResult tab to find other matches.



+3

Search and replace broken?

morrow 13 років тому 0

I'm using Sublime Text 2 build 2051 on ubuntu linux 10.04 LTS 64-bit .  I'm experiencing a bug where performing repeated search-and-replace where replace is empty automatically fills the replace block after the first run-through with the previous replace input.  


Example:  
1) Search for: "abc" replace with : "xyz".  
2) Search for "def", replace with "" (empty).  
3) Repeat the search-and-replace (hit replace again)
It will hit the first instance of def, replace it with empty characters (delete it), and then the second and subsequent matches will be replaced with "xyz" (from the previous search and replace).  It also doesn't re-fill the "replace" input field with "xyz" until you click on it, so it looks like it should be working.