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

+7

Every color value is underlined with the respective color

Mathias Lavaert 13 aastat tagasi 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 13 aastat tagasi uuendaja Jimit Modi 12 aastat tagasi 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 aastat tagasi uuendatud 12 aastat tagasi 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
Fixed

Open file from Finder in new tab. not new window

Ross Smith 13 aastat tagasi uuendaja Jon Skinner 12 aastat tagasi 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.

Vasta
Jon Skinner 13 aastat tagasi

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 aastat tagasi 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 13 aastat tagasi uuendaja Keith Hall 8 aastat tagasi 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 aastat tagasi uuendatud 12 aastat tagasi 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 aastat tagasi 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.

+7

jsbeautifier and packer integration

Osman Görmüş 13 aastat tagasi uuendaja khaven 9 aastat tagasi 3
It would be great to integrate a JavaScript beautifier to format minified or badly formatted JavaScript files to increase readability.

And also a JavaScript packing tool or minifier 

There are of course online tools for both purposes. But I think it would increase productivity if these features for of SublimeText.

Here are a few tools I use. (I am not affiliated with any of these tools/software):


+7

Color preview / Color viewer

Florian Quiles 12 aastat tagasi uuendaja Jacob Moen 12 aastat tagasi 10

I am an apprentice web master/designer, and when i'm coding or editing my or someone else's CSS code, it would be really easier to me to directly see what color has been chosen.

So when i hover this kind of code " color : #0099cc " (or rgb, or rgba or shortened hexadecimal color (#09c)...), an information bubble/square appears with the color in it (as Google Chrome et Firefox "inspect element", in css code).


I don't think it's a really big deal, but it would really facilitate someone's life.


Thank you for your consideration :)