Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

+7

RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL !!!!!!

Osama Qawasmi 8 aastat tagasi 0

please ADD RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL RTL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

+7

Pasting lines to multiple cursors

colinta 13 aastat tagasi uuendatud 12 aastat tagasi 3

I'm using ClipboardManager, so it might be that this is a problem with the plugin. But I doubt it — the behavior is too weird, and all that ClipboardManager does is `self.view.run_command('paste')`.

When I copy, say, a word, and then place a few cursors and paste, it is pasted correctly.

But when I select a line (including the NL at the end - that's important) and then copy and paste that to multiple cursors, only the first cursor pastes. So it has something to do with pasting a "line" instead of "words".

Just to keep things interesting, if I copy multiple lines instead of just one line, it pastes fine again.

+7

Ignore comment-only lines when guessing indentation of buffer

Joel Thornton 12 aastat tagasi 0
Comment-only lines should be ignored when guessing the indentation of a buffer.


The problem applies to JSDoc comments; with a buffer looking like this:


/**
  * @class
  * Class description.
  * Next line
  * Next line
  * Next line
  * @constructor
  */
var SomeClass = function() {
    this.foo = 1;
    this.bar = 2;
}
/**
  * @class
  * Class description.
  * Next line
  * Next line
  * Next line
  * @constructor
  */
var SomeClass2 = function() {
    this.foo = 1;
    this.bar = 2;
}
 

... Sublime Text 2 guesses an indentation width of 2. However, the code actually has an indentation width of 4, but ST2 is taking the apparent indentation of the comment blocks into account.

+7

Fast tabs closing

Fabrice Laporte 13 aastat tagasi uuendatud 13 aastat tagasi 0
Fast tabs closing with mouse is not feasible yet in ST as tabs size expand during the process.

Imo, Chrome browser nails it perfectly < http://blog.chromium.org/2009/01/tabbed-browsing-in-google-chrome.html > :

Realizing that maintaining a fixed width for tabs when closing them would keep close buttons aligned under the mouse pointer, we designed a system whereby the tab strip will re-layout when you close a tab to fill the gap left, but not resize the remaining tabs, until you move your mouse away from the tab strip (thus signaling you're done closing tabs). 
+7
Lõpetatud

Have sidebar closed by default when editing single files

aristidesfl 13 aastat tagasi uuendaja Jon Skinner 13 aastat tagasi 4
Most of the times I just want to edit a single file and close sublime really quick, yet right now, I'm always presented with Sublime's "project mode" sidebar.

This prevents me from using Sublime as everyday all around text editor since the experience is not pleasant.

Besides that there should be not tabs if a window only has 1 file open.

The same goes for new windows, where a new file is created automatically.. not very sublime to have to take with a sidebar when all I want is to write some text..

cheers :)
Vasta
Jon Skinner 13 aastat tagasi
You can hide the side bar from the view menu
+7

API: Enhance view.get_symbols() to return arbitrary symbol list

bizoo 14 aastat tagasi uuendaja Oktay Acikalin 14 aastat tagasi 1
As requested in this post http://www.sublimetext.com/forum/viewtopic.php?f=6&t=1407&start=0 , I fairly often need to find where symbols are in a source.
Actually get_symbols() only return the symbols defined in "showInSymbolList" (Goto Symbol) and you don't have any option to find something else.

I propose to add a parameter to get_symbols (or create a new function) to specify the symbol(s) to return.

Example:
view.get_symbols("source.python meta.function.python") return the list of Regions containing function declaration in a python source.
+7

Bracket matching in LaTeX math or Toggle bracket matching in strings

James Ratcliffe 13 aastat tagasi 0
Bracket matching is always disabled in strings in Sublime Text, and LaTeX math is treated as a string, so there is no bracket matching in LaTeX math! The problem is that LaTeX math is full of brackets that need to be matched, making LaTeX in Sublime Text less then amazing.

Maybe it would be too much work to have bracket matching in certain types of strings and not in others, but could an option be added to bracket matching in strings on and off?
+7

Add an option to open a folder in the same window

mister wunderlich 13 aastat tagasi uuendaja Inash Zubair 12 aastat tagasi 2
Currently, if you open a folder from within Sublime a new window is created with the folder opened and the old window is kept open. An option to always replace the old window or open a folder in the current window would be neat.
+7

Ruby syntax highlighting for extended regexps

Stian Håklev 13 aastat tagasi 0
Image 121Ruby syntax highlighting for extended regexp (which can contain whitespace and comments) is not working - the four comments should all have the same grey color. This is valid Ruby code which executes just fine.