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

+7

Auto-resized, non-scrolling minimap

Markus Peter 13 lat temu Ostatnio zmodyfikowane przez Robert Crooks 11 lat temu 1
It would be nice, if the minimap could optionally be non-scrolling and rather reduce the size of its contents even further if scrolling would otherwise be necessary, so one ALWAYS has a preview of the whole file structure.

+7

Maximum File Size Setting for "Find in Files"

Philipp Blaszczyk 12 lat temu 0

 It seems that there is a built in limit for the file size when using "Find in Files..." function.


I have huge .php File (~480 kb) which is not beeing processed by the search.


It would be nice to have a setting for the limit.


+7

Every color value is underlined with the respective color

Mathias Lavaert 13 lat temu 0

In CSS, every color value is underlined with the respective color.


A bit like ReSharper does, like this:



+7

trim_trailing_white_space_on_save should not remove up to the current cursor position

Guido Tapia 12 lat temu Ostatnio zmodyfikowane przez Jimit Modi 11 lat temu 3
Pressing 'Save' compulsively is pretty common for devs so having the current line you are editing being mangled by Save is pretty annoying.  So my suggestion is, when pressing save do not trim the current line up to the cursor.  For instance, pretend this is the user typing:

function name
  |

Where '|' is the cursor, now I've indented my cursor ready to do some hard core stuff and decide to press save then 'WHAM' I've lost my indent.

I currently have trim_trailing_white_space_on_save set to false because of this and would love to turn it back on.

Note: This is also an issue with ensure_newline_at_eof_on_save which I would also like to set to true if it did not move my cursor.

Thanks and Kudos on an awesome product that made me happy to purchase.
+7

Data loss when network drive is unavailable

Jo Liss 12 lat temu zaktualizowano 12 lat temu 5
Sublime Text 2.0.1 just emptied a bunch of files that I didn't have checked in yet:
* I restarted the system. ST had several open tabs.
* After the restart, the network drives that the files were on was not mounted, so ST displayed the files with empty content.
* Then the network drive (an SMB share) came up.
* I quit and re-opened ST, hoping to see my files now.
* But now they are all empty, as verified by `less`!
I'm really unhappy now. Please, don't lose my data.
+7
Naprawione

Open file from Finder in new tab. not new window

Ross Smith 13 lat temu Ostatnio zmodyfikowane przez Jon Skinner 12 lat temu 1

On OSX, if I double click a file in Finder or drop it onto the dock icon, ST2 always opens a new window. I'd like it to open as a new tab in the existing window (if there is one); the only way to do this at the moment is to drag the file onto the existing window. I've tagged this as "bug" because I understood that the "open_files_in_new_window": false setting was supposed to do this, but it doesn't seem to work.

Odpowiedź
Jon Skinner 13 lat temu

This is what open_files_in_new_window does - check you've entered it into the right location (it's a global setting, rather than a file setting).


The time a new window should be created with open_files_in_new_window set to false is when Sublime Text is on a different desktop to the the current one

+7

Convert file paths in the code into clickable links

Kai Dorschner 12 lat temu 0
I'd love to have the ability to click on file references inside an HTML or CSS.
Like in Word, OpenOffice or Thunderbird you could hit the Ctrl-Key to activate these links.
It should follow either relative or absolute paths. If a path is clicked that can't be opened in Sublime itself, the request should be forwarded to the computer's default program.
+7

Notification of changes to files outside of Sublime

Patrick McMorris 12 lat temu Ostatnio zmodyfikowane przez Keith Hall 7 lat temu 4
Is there a way to get a notification when an opened file is overwritten by another application? This can happen a lot if something is also open in VS, or a diff/merge tool, is the output of something I'm debugging, or is a running log file.  In most cases, I'd like to know when it happens as well as have the choice of reloading or ignoring even if I don't have any unsaved changes.  I may want to keep the old data intentionally, or use it to revert the overwrite, or maybe I just want notification as feedback to know that, yes, the file did get update (maybe the contents are the same).  Many other text editors do this use case very well. But they suck at the running log case where the modal message box continually pops up and then you cant even close the file.  In that case, you also want to be able to tell it to auto update without a notification for that specific file.
+7

Support for Agda (syntax, input unicode characters (\forall is for ∀, for example), integration with agda binary)

Alexandr Ruchkin 12 lat temu zaktualizowano 12 lat temu 1

Agda is now possible to edit in emacs only, but Sublime seems to be perfect replacement for it.

Minimal list of features to support it is:

* Syntax (emacs doesn't support it by itself, only by grabbing some output from agda executable)

* Unicode symbols (when typing \forall, you get ∀, \-> is for → etc.)

* Grabbing output with highlighting from Agda

I'll try to make plugin myself, but I have no experience in it.

+7

Feature request: show command palette for chord keybindings

lanzz 12 lat temu 0

For chord keybindings (e.g. ⌘K⌘U), it would be very helpful if the command palette pops up after the first key to show all possible commands bound to chords starting with that key, e.g. pressing ⌘K would open the command palette, filtered to show only these commands:

  • ⌘K⌘T Fold tag attributes
  • ⌘K⌘J Unfold all
  • ⌘K⌘L Lowercase
  • ⌘K⌘U Uppercase
  • ⌘K⌘B Toggle Side Bar

This will help immensely with rarely-used commands, allowing the user to remember only the initial key of the chord. For example, I use many Git bindings regularly, but it is practically impossible to remember the bindings I use very rarely, and when I need one of them I either have to filter the command palette by "Git:", or give up and do the task in a terminal. Still, I know all of them are bound to chords starting with ⌘G, and having a visual aid would allow me to complete the chord by shortcut, much quicker than filtering around the palette.