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

+13
Виконано

Show user that a file loads in the background

Oktay Acikalin 14 років тому оновлено Jon Skinner 13 років тому 0
Loading a 80MB XML file requires some time to process.
It would be nice to show the user that it's being loaded in the background by e.g. dimming the view and perhaps showing a waiting cursor.
One could say that if a load process needs more than one second to finish, the view should signalize it's background activity in some way.

PS When loading such a file it grows to about 160MB - TM had taken about 700MB. I'm very happy about this difference including background loading.
Відповідь
Jon Skinner 13 років тому
Progress bars were added in 2076
+13

Chinese Input for Mac is broken under Full Screen mode

Shenyang Zhao 13 років тому оновлено lol 8 років тому 1

Hi, I'm testing sublime text 2 and find it's a great text editor. However there's a bug of inputting Chinese character on Mac. Input Chinese in sublime text 2 on Mac has no problem at the beginning, however after I switch to full screen mode or distraction free mode, I can't input Chinese anymore, even if I switch back to normal mode.


To describe the problem more clearly, I think it's better to explain how we input Chinese. We type Latin alphabet, the input method accept them and list many possible Chinese phrases according to what we type. After we make a selection, the input method "paste" what we select into the text editor. So the input method act like a buffer between our inputs and the text editor. Now if I switch to the full screen mode, the buffer seems to disappear. What I type immediately go to the text editor so what I get is latin alphabetic instead of Chinese characters.

I hope it can be solved so I can input Chinese in distraction mode! Again many thanks to this great text editor!
+12

Trim trailing spaces before adding new line at end of file

Xaapyks 12 років тому оновлений 11 років тому 2

 Currently if you have ensure_newline_at_eof_on_save  AND trim_trailing_white_space_on_save enabled the following can happen :


if the last line of your file is a space, ST2 will first honor ensure_newline_at_eof_on_save and add a new empty line at the end of the file. Then it will honor trim_trailing_white_space_on_save and trim the (now) last-but-one line.


Result : you now have 2 empty lines at the end of your file


Expected result : 1 empty line at end of file.


Way to fix this : Honoring trim_trailing_white_space_on_save BEFORE ensure_newline_at_eof_on_save or just don't add a new line if last one is space only and trim_trailing_white_space_on_save is enabled.


It is a minor bug but it annoys me a lot.

+12

Minimap markers

Samuel Hodge 12 років тому оновлено Raymond Li 12 років тому 1

Show a clear marker on the minimap by adding specially formatted comments in your code. This allows you to put landmarks in your code that are easily visible from the minimap. This can be particularly helpful with large files that have several distinct sections.


A simple comment format would be nice. A suggestion is:

//@


Being able to individually color the markers would be nice as well. Something like:

//@ #FFCC00

+12

Hide tabs bar if only one file is opened

Fran Diéguez 13 років тому оновлено Christopher Roach 12 років тому 2
I think that the top tab bar should be hidden if sublime has only one file opened or editing an unsaved file while no other is opened.
+12

Vintage mode: insert a character multiple times

Joshua Conner 12 років тому оновлено Michael Hill 12 років тому 1

In vim command mode, typing [esc] 50 i # [esc] would insert 50 of the "#" character wherever the cursor is, but this doesn't work in ST2 with Vintage and VintageEx enabled. It would be awesome if it did!

+12

Bold/Italic should be supported for proportionally spaced fonts

Daniel Neades 12 років тому оновлено Darin Morrison 12 років тому 3

Bold and italic font styles in colour schemes currently seem only to work for monospaced fonts (at least in ST3 build 3021). This makes proportionally spaced fonts very much second-class citizens. (I greatly prefer using proportionally spaced fonts for editing text.)

+12

word wrapping issue

Cosimo Lupo 12 років тому оновлено Emanuele D'Osualdo 12 років тому 1
I'm using Sublime Text 2 for writing plain text files in Markdown rather than for code, but I get strange word wrappings which don't make any sense such as those in the screenshots attached

When the last character of the line is a bracket or a period, instead of going to the new line together with the word immediately preceeding, it goes all alone to the new line. This is very annoying and has been around for some time (see also here: http://www.sublimetext.com/forum/viewtopic.php?f=3&t=5214 )

I'm using the latest build of Sublime Text 2 (2210).

I hope somebody fixes this soon or I'll have to find another editor.

Image 156          Image 155

+12

Better split window layout control

Jon Haddad 12 років тому 0

Coming from VIM, I got used to being able to do arbitrary window splits.  For instance, I'd do a vertical split, then in the right window a horizontal split, giving me 3 views into my files.  It would be amazing to have this feature in Sublime. 

+12

can't build/run python script if there is unicode character in the patch

Leszek Tarkowski 14 років тому оновлено nhwind 12 років тому 2
at least on Ubuntu 64bit 10.04.1 LTS.

in console:

Traceback (most recent call last):
  File "./sublime_plugin.py", line 230, in run_
    return self.run(**args)
  File "./exec.py", line 98, in run
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0107' in position 44: ordinal not in range(128)

How to reproduce:
create python scipt in path with unicode character. Press F7. Look at console output