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

+1
Pas un bug

When Updating user Keymap, the menu-keymaps don't change

Tim Buchwaldt il y a 13 ans mis à jour par Jon Skinner il y a 13 ans 1
e.g. when you change build to cmd+r in the user keymaps, the menu continues to say "cmd+b"
Solution
Jon Skinner il y a 13 ans
This is because cmd+b is also bound to the same command, and the menu displays the first key binding listed for the command
+1
Corrigé

Snippets (sometimes) trigger within snippets

lappri il y a 14 ans mis à jour par Jon Skinner il y a 14 ans 0
Steps to reproduce: Create a new document and save it as "foo.rb". Type "def" and press tab. "def method_name ... end" appears, with method_name selected. Status bar says "11 characters selected - Field 1 of 2". So far so good. Type "foow" and press <tab>. Snippet triggers on the shortcut "w" and text is now "def fooattr_writer :attr_names ... end"
Note: when I ran through these steps again to reproduce it once more, it did NOT trigger within the snippet. However, subsequent tries DID reproduce the bug.
WIndows 7, ST2 Alpha 20110203
Solution
Jon Skinner il y a 14 ans
In build 2032, snippets will no longer trigger on tab when a snippet is currently active. They can still be triggered explicitly by using ctrl+space.
+1

Ability to collapse horizontal or vertical pane layout

Oktay Acikalin il y a 14 ans mis à jour il y a 14 ans 1
Currently I often work with 3 panes (1 col, 3 rows). It would be nice to be able to collapse/minimize them by clicking on the resize handle. I've seen that double clicking seems to restore the size to the original one defined in the layout. By using alt+double click it could collapse.
Of course this would only work properly when not using layouts like quad pane.
+1

Quick find all should be restricted to selected region

Bradley Smith il y a 11 ans mis à jour il y a 11 ans 1

I love the:


1. Find

2. Hit alt-f3

3. hit escape


and then edit all occurrences feature of Sublimetext. However, if I selected a region of text and do this and restrict the search to that region of text then stage 1 above is fine but hitting alt-f3 then finds ALL occurrences in the file, not just the selected region. I propose that Alt-f3 (quick find all) should observe the "in selection" option and only find those items in that selected region.

+1

can't save any file

Jac Fitzgerald il y a 12 ans mis à jour il y a 12 ans 2

I have a file open in ST2. I have no other programs running on the machine, which I just rebooted. I edit the file and hit Ctrl-S, I get the error 'can't save file'. Opening a random other file gets the same error on save. Editing the same files in any other program (notepad, Visual Studio) works fine as expected. Process Explorer tells me that this file is not open in any other program. I also found that a number of other people have run into this same dialog: http://www.sublimetext.com/forum/viewtopic.php?f=3&t=9240 with no known explanation. 


I installed ST2 a few weeks ago and it worked up until a few days ago, and has not saved any files since then. I have rebooted the machine and closed every other program there is. The machine is running Windows Server 2012.

+1

Multifile Edit - Split Screen

Christopher Roberts-York il y a 12 ans 0
I believe it was a feature in the Sublime Text 1.  I would like to see the multifile edit re-implemeneted. Similar to the Alt click to get multiple cursors except across files when in split screen.
+1

How to save/restore all the Sublime Text 2 config/plugins on another computer

earlyadopter il y a 12 ans mis à jour par Jordan Brough il y a 12 ans 1
What would be a way to save all the configuration/plugins I have on one Mac to restore it on another one? Is there some predefined location I need to copy all the files and restore them on another machine?
+1

Fixes to java syntax

Matt Hauck il y a 11 ans mis à jour il y a 11 ans 1

The following additions to the Java.tmLanguage file would be very wonderful. 


Add to `repository -> parameters -> patterns`:

<dict>

  <key>include</key>

  <string>#annotations</string>

</dict>


Add to `repository -> parameters -> enums -> patterns`:

<dict>

  <key>include</key>

  <string>#comments</string>

</dict>


+1

MultiMarkdown mode not recognizing 'format: complete' on first line (should be case insensitive for keys)

Darin Morrison il y a 13 ans mis à jour il y a 13 ans 1
In the MultiMarkdown user guide on page 18 it says:

Metadata keys are case insensitive and stripped of all spaces during processing. This means that Base Header Level, base headerlevel, and baseheaderlevel are all the same.

However, in MultiMarkdown.tmLanguage, the check for "Format: complete" on the first line is case sensitive:

<key>firstLineMatch</key>

<string>^Format:\s*(?i:complete)\s*$</string>

Changing it to the following fixes the problem:

<key>firstLineMatch</key>

<string>^(?i:Format):\s*(?i:complete)\s*$</string>
+1

problems with C syntax

David Raleigh il y a 12 ans 0

I was looking to use sublime text 2 in order to help me sort through some c code.  This one file messes up the sublime c syntax coloring. Proj4 is a fairly popular projection library used for mapping and GIS. I think sublime is ready to rock some preprocessor statements and is confused by the crazy pound defines in this code.  I hate looking at code from this library and would much rather look at sublimes gorgeous colors, but for now I'm stuck with Proj4:


http://svn.osgeo.org/metacrs/proj/trunk/proj/src/geod.c


Here's a screenshot:


Image 232