+7

Auto-resized, non-scrolling minimap

Markus Peter il y a 13 ans mis à jour par Robert Crooks il y a 11 ans 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 il y a 12 ans 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 il y a 13 ans 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 il y a 13 ans mis à jour par Jimit Modi il y a 12 ans 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 il y a 12 ans mis à jour il y a 12 ans 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
Corrigé

Open file from Finder in new tab. not new window

Ross Smith il y a 13 ans mis à jour par Jon Skinner il y a 12 ans 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.

Solution
Jon Skinner il y a 13 ans

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 il y a 12 ans 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 il y a 13 ans mis à jour par Keith Hall il y a 8 ans 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 il y a 12 ans mis à jour il y a 12 ans 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 il y a 12 ans 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üş il y a 13 ans mis à jour par khaven il y a 9 ans 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 il y a 12 ans mis à jour par Jacob Moen il y a 12 ans 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 :)


+7

German Mac OS X Show Console Hide Console Shortcut doesn't work

Kai O. il y a 12 ans 0
The shortcut ^ ` for showing and hiding the console doesn't work. When I use the menubar for the showing / hiding the console it works.
+7

Localization of Sublime Text 2

Franco Tampieri il y a 13 ans mis à jour par Andrés Rendón H. il y a 13 ans 1
As I have told in the Forum here
Implement a string translation system so, with .po files to permit the translation of menù and so on...
+7

Make the build system menu easier to use

-2724 il y a 13 ans mis à jour par Felix Lange il y a 13 ans 1
If you have one build system to run the unit test, and one to compile something, then one to create the doc, you have 2 possibilities:
- click menu > submenu, change the build system. Click menu again and run. 3 times.
- create a script that does the 3 of them, run it, and forget about the hability to run aby of them separatly.

Ideally, you should have a drop down to quickly build systems in one click. Create new ones from old ones. See old ones and edit them. And assigne some number to them so you can call them with a shortcut.
+7

single click behavior on file in "Side Bar"

Parrish il y a 13 ans mis à jour par 秦韬 il y a 5 mois 10
When sigle-clicking on a file in the "Side Bar" the file opens for preview?  Unfortunately, the visual queues for this action are confusing... a file is viewed in the editor without a tab, yet the first edit to the file creates a new tab for the file.  It would be nice to have some other visual queue to accomplish this... i.e. a window that hovers over the edit window, with an edit button on it; gray out all tabs when previewing a file, with a click on a tab closing the preview and selecting the tab; or simply have a setting to allow a single click to do nothing.
+7

opening current directory on command line should use project file

Phillip Koebbe il y a 13 ans mis à jour il y a 13 ans 0
I tend to navigate to a project directory on the command line and then open the folder with 'subl .'. It would be nice if ST2 checked for a project file and opened the project if there is one, without having to use the --project switch.
+7

API: post_window_command does not work.

JD Isaacks il y a 11 ans 0

There is a new API event called `post_window_command` that is supposed to be executed after a window command. (listed here: https://www.sublimetext.com/docs/3/api_reference.html)


It does not work. I made an example class below (I also included a method called *on_post_window_command* since that seems to fit the naming scheme of the other events and thought the name in the docs might have been a typo).


When I run a window command, on the console I get **on <command_name>** showing that the on_window_command event is working but the post window command event never runs.


```python

class MaxPaneEvents(sublime_plugin.EventListener):

    def on_post_window_command(self, window, command_name, args):

        print("on_post " + command_name)

    def post_window_command(self, window, command_name, args):

        print("post " + command_name)

    def on_window_command(self, window, command_name, args):

        print("on " + command_name)

```



+7

Stared/marked lines

Max Bourinov il y a 13 ans mis à jour il y a 13 ans 2
I would love to be able to star/makr some lines in files I edit. I need it in long files. When I have to scroll though the file it becomes very hard to find some important places. With stars/marks it will be very easy.

Something similar to this would be great:

Image 100

Also, some hotkeys for navigation between stars/marks would be great.

Stars/makrs should exists until I close the file.
+7

Multi-line search/replace textfields

Robert Stuttaford il y a 13 ans mis à jour par Andrey Fedorov il y a 7 ans 8
Just a toggle to switch between using a single line textfield and say 3-4 lines per textfield for all the find, find/replace, find/replace in files variants.

So often I have to futz around with regexen when all i really want to do is match some multiline text and replace with same. I can't think this would be difficult to do, and the utility would be really high. And it's the only thing I feel ST2 loses vs Textmate :-)