+1

edit multiple selections one by one (not all at once, may be Tab to move to next)

Ishan Madhusanka hace 9 años 0

I use multiple selections frequently.. Where I get stuck is when I need to make distinct changes to them, I'll need to Search for the next one and edit.

+1

Scrolling doesn't update selection

colinta hace 13 años actualizado por Максим Зубков hace 11 años 2
This is also posted in the forums: http://www.sublimetext.com/forum/viewtopic.php?f=2&t=5471

The code is easy enough to test.  Open a new file.  Open the python console and type:

>>> edit = view.begin_edit('test')>>> view.insert(edit, 0, ("abcd"*12+"\n")*100)>>> view.end_edit(edit)>>> region = sublime.Region(4851, 4899)>>> view.sel().clear()>>> view.show_at_center(region)>>> view.sel().add(region)

At this point, the text should be highlighted, but it is not.  Compare with what happens when we add one more line:

>>> view.show_at_center(sublime.Region(4900, 4900))

Voilà, the selection is highlighted.


I noticed this happening when using plugins that highlight and scroll.  In my case, I'm using the SimpleMovements plugin to highlight multiple lines.  If my view doesn't scroll, the line is not highlighted, which looks like my plugin isn't working!

+1

Second instance of sublime, same file, updates and re-opens at the top of the file after changes

dave selby hace 12 años 0
when the 1st instance changes the file, then you move to the second instance, sublime asks you if you want to re-load as the file has changed, OK but a little irritating, auto re-load would be much better, but then it reloads and, this is a real problem,  takes you to the top of the file .... ouch .... on multiple screens with multiple instances of sublime showing different parts of you code this is a problem.
+1

Project build system does not override global one for same selector

Sergey Shepelev hace 13 años actualizado hace 13 años 0
Project settings:

"build_systems":
    [
    {
    "name": "Pylint",
    "cmd": ["$project_path/bin/python", "-m", "pylint.lint", "$file"],
    "selector": "source.python"
},

F7 or Ctrl+B does not run this one, but default Python.sublime-build instead. I think project settings should override global.
+1

inline codeexecution like textmate

Klaus Hougesen hace 13 años actualizado hace 13 años 0
EX:

<div id="calender">
cal|
</div>
Caret position is after cal - pressing cmd-e (for execute) will make a best guess on what to execute and execute it (executes cal in a background process / terminal and pipes the generated calendar in as a replacement for cal)

this could then be used in all files like this:

<div id="php-version">
php -v|
</div>

which would then execute php -v to get full version string and place it in the editor.


Also please add basic math features

css files:
b{
left:  10px;
right:10px;
}

Blue shows selection.

b{
left:  10px+144/3;
right:10px+144/3;
}

executing (cmd+e) would then replace selected numbers with the math:


b{
left:  58px;
right:58px;
}

+1

Allow color schemes to be read as JSON natively

robertcollier4 hace 11 años actualizado por jan otte hace 11 años 1

Summary: Allow Color schemes to be saved in both XML and JSON. Then auto-detect the file type and parse appropriately.


Whenever I open my color scheme to make a minor edit - it gives me a 'rhetorical headache' - it is so messy and hard and difficult to read and edit XML-Plist files for this kind of content!!!


I have found PlistJsonConverter plugin - which luckily makes things doable again but brings additional problems of losing comments, formatting, structure, etc. I don't see why this can't just be automated and implemented natively. Why should I have to keep converting back and forth between XML-Plist and JSON? Why can't Sublime Text just also support reading Color Schemes in JSON natively if they are found in that format? It would save a lot of headache.

+1

Holding Shift+Option and clicking the button should performa column select

Caleb Land hace 13 años actualizado hace 13 años 0
If I have a cursor, with no selection made, and I hold the option+shift keys and click somewhere else in the document, Sublime should column select from where the cursor was to where I clicked.

This is similar to my previous report, but I've added the Shift key, which makes it work like Text Mate.
+1

Auto save feature like espresso, or coda ,there no this kind of redactor for windows

Emil Georgiev hace 12 años 0

 in order to view result directly without refresh the brouser and without ctrl+s the document, this will be a wonderfull feature

+1
No es un bug

Tab Settings Not Respecting User Settings

Carlos Rodriguez hace 13 años actualizado por Jon Skinner hace 13 años 2
Seems like something has changed in the latest beta where new files do not respect my tab preferences.

For example: I have the following set in the Preferences.sublime-settings file:

"tab_size": 2,
"translate_tabs_into_spaces": true,
"trim_trailing_white_space_on_save": true

When opening a new file or even that file itself, it's using tabs instead of spaces.

Here is an screenshot:

Respuesta
Jon Skinner hace 13 años
Please see the documentation about detect_indentation: http://www.sublimetext.com/docs/2/indentation.html
+1
Solucionado

Highlighted text automatic quotes

James Brooks hace 14 años actualizado por Jon Skinner hace 14 años 2
Previously Sublime would automatically append a " or ' (depending on which one you typed) when you have highlighted, however this doesn't seem to always work in Alpha 2.

I actually thought this had started working in the latest build but it doesn't always seem to invoke the same expected behaviour, sometimes appending the opposing quote or not.
+1

Unable to run package setup

Ryan Crisman hace 13 años 0
Arch Linux all packages are current

Traceback (most recent call last):
File "./PackageSetup.py", line 155, in upgrade
upgradePackage(pkg, pristinedir, datadir, backupdir)
File "./PackageSetup.py", line 148, in upgradePackage
os.path.join(backupdir, base), inhibitOverwrite)
File "./PackageSetup.py", line 64, in upgradeArchive
fname = os.path.join(pkgdir, f)
File ".\posixpath.py", line 70, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 49: ordinal not in range(128)
+1

Textmate like snippets (at least in LaTeX)

zurry irigaray hace 12 años 0

In TextMate in LaTeX bundle, you have 4 different types of calling snippets (I will put a very understandable example, $0 is the placement of the cursor):

  • LaTeX symbol based on current word. i.e. If you write s and you use this command you get \sigma $0.
  • Command Based on current word. i.e. if you write s and use this you get \sum_{$1}^{$2} $0.
  • Environment based on current word. i.e. if you write s and use this you get \begin{s} $0 \end{s} (or what you have defined before).
  • And, at last, Snippets (true snippets, as simple as in Sublime Text). i.e. if you write mat and press Tab button you get \begin{${1:pvbPVBsmall}matrix} $0 \end{matrix} (exactly, at least the same way as in Sublime Text).

I wish you could add this option to your program, I mean, one (configurable) key combination for each one of this four kinds of snippets. Anyway, I wait for your answer (saying yes or no, but please tell me you read that). In case of NO as answe, I would really appreciate to hear about your reason.


Ah, and a very very nice program. 

+1

Some way to choose which window new files are opened in

chaiguy hace 13 años 0

Currently, opening a file in the Finder will open the file in the last-used window (if "open_files_in_new_window" is disabled, which imo it should be by default). However, this is not very intuitive as I won't necessarily want the file to end up in that window.


It would be handy if we could designate a "default" window that new files are opened in (perhaps clicking a little icon on the window somewhere).


The way BBEdit does it that I find works quite well is that new files (that aren't already open elsewhere) open in a single non-project window. Typically I will have a bunch of project windows open and another catch-all window for misc files I'm working on that don't belong to an open project.

+1

Option to ensure file ends with empty line upon saving

demetris hace 12 años actualizado hace 12 años 2
Does Sublime Text have an option for this?

(For those familiar with SciTE, I am talking about the option named: ensure.final.line.end.)
+1

Open function reference when pressed F1

Joshua Foster hace 9 años 0
When one needs to know what a function does. There are two ways of doing it.
1. With a reference help file (chm), searching for the function there
2. Going to the language reference site (i.e.: php.net) and search there

So the suggestion is to add a setting to set a help file path which sublime will open and search for the function behind the cursor and the when F1 is pressed.
Or if not configured, open a browser and go to the language site and it's function page
+1

The default HTML snippets are not up to the HTML5 standard

MrPenguin hace 11 años 0

The default HTML snippets <script> and <style> and <link rel="stylesheet" href=""> style have type="text/css" or type="text/javascript", which are both irrelevant in HTML5. They are quite annoying to delete.

+1

Crash when changing to 4 column layout

Josh Sleeper hace 12 años 0
Sublime Text 2 v2.0.1, build 2217
Windows 7 x64 Professional

If I switch to the 4 column layout from any other layout ST2 will crash, with the following exception:
If I'm already in a layout other than "Single", and I have one or more files in any of the other panes, then ST2 will not crash.

However, even if I successfully switch to 4 column mode using the exception listed above, if I then move all files back to the first pane, upon removing the last file from the other panes, ST2 will crash.
+1

different color themes in mulitple windows.

christian Wilmes hace 11 años 0

use case:

- many different projects with similar file structure in many opened windows

- sublime displays project name only in the title bar if no file is opened

- hard to tell which project belongs to which window


idea:

- allow assignement of color theme in the sublime-project file.

- so every project is opened with it's own color theme

- you can see immediatly what's the meaning of this window


+1

Need a phased (or at least blinking) block caret.

Philip Wright hace 12 años 0
I see lots of requests for a block size caret, but I'm going to lose it on the screen if it's not phasing or blinking.
+1

Awesome incremental symbol find

Pau Sanchez hace 12 años 0

The idea is to use something similar to "Go to anything" where you only type some letters that are contained in the symbol you want to go to, and you automatically go to symbols containing those letters in that order, but limiting the search to symbols inside the document (since most languages, if not all, support the same pattern for symbols, and you don't want to search text or anything like that, just references to functions or variables).


Imagine you have a document like this:

void function () {

   doSomething (whatever, "this is a string");

   if (runUltraComplexCheck (var1, var2)) {

      simple_variable = 1;

      doSomethingElse ();

   }

}


Now, the idea is that if you are at the beginning of the document and you run "incremental symbol find" and you press "f" the first word "function" would be selected. If I type "d" then the first "doSomething" would be selected, and so if I run find next, then the "doSomethingElse" symbol would be selected. It should behave as a normal search so find previous and find next would work.


On the other hand, imagine I want to go to "doSomethingElse", then I go to incremental symbol search and type "dse" then automatically doSomethingElse would be selected. In the same scenario, typing "ru" or "rucc" or "run" or "rcheck" would all select "runUltraComplexCheck", which is the only word in that document matching that pattern.


Again, if you type "sv" in incremental symbol search, you would go to "simple_variable".


I think this kind of feature would be as awesome as "Go to Anything", and no other editor has something like this... I guess it can be written using a plugin, but anyway, native would be great.


To sum up the features:

  • incremental symbol find inside current doc
  • a symbol is defined as [_a-zA-Z][_a-zA-Z0-9]+
  • discard searching inside comments
  • discard searching inside text strings
  • be able to use find next / find previous