+2

Expand side bar on hover

Vince Zhao il y a 11 ans mis à jour par Jon il y a 8 ans 2

When trying to open a file from side bar, it's a good idea to expand that which allows me to view file full name, and shrink after I move my mouse away from that which gives me more space for editing.

+2
Pas un bug

Crash right at startup on openSUSE 12.1 since build 2165

Duncan Mac-Vicar Prett il y a 13 ans mis à jour par Jon Skinner il y a 12 ans 4
Sublime text would not start but crash. I am stuck in version 2139 as the "last working one" (released).

Backtrace posted at http://www.sublimetext.com/forum/viewtopic.php?f=3&t=4557&p=20648&hilit=crash#p20648

Cleaning up the config worked for 2165, but does not for 2172 (except for 32bit, where it starts with a clean config). Still in all cases it crashes when closing the application as well. All startup backtraces have the same first lines:

======= Backtrace: =========
/lib64/libc.so.6(+0x74c06)[0x7f5822dc1c06]
./sublime_text(_ZN12memory_arena5clearEv+0x20)[0x51bf70]
./sublime_text[0x759444]
./sublime_text(_ZN13SyntaxManager6reloadEv+0x7e1)[0x75a051]
./sublime_text(_ZN13SyntaxManager4initEP15settings_loaderP11menu_loader+0x25)[0x75baf5]
./sublime_text(_Z12skyline_initP9catalogueP14px_file_systemP15settings_loaderP11menu_loader+0xfd)[0x6a906d]


Solution
Jon Skinner il y a 13 ans
This is a bug in glibc: http://sourceware.org/bugzilla/show_bug.cgi?id=1349
+2

cutting empty line does not overwrite clipboard

George Anderson il y a 11 ans 0

Steps:

* put cursor on non-empty line

* cut

* move to empty line

* cut (this is usually for cleanup/code formatting)


What happens:

* the line on the clipboard that was cut first (i.e. the non-empty line) is no longer available to paste


What I'd like:

* when I paste, I'd like to get back the most recent non-empty line I cut (or copied for that matter), regardless of how many empty lines were cut in the meantime.


Justification:

There's no need for an empty line on the clipboard since it's trivial to create them as needed.


Thanks.

+2

Sub-pixel glyph positioning/anti-aliasing breaks box drawing characters

Oleg Oshmyan il y a 13 ans 0

Enter multiple BOX DRAWINGS LIGHT HORIZONTAL (U+2500) characters in a row:

───────────────

They should visually form a single continuous horizontal line, but instead there are sub-pixel breaks between some of them.

+2

select across underscore or dash or special characters

Ryan Moore il y a 12 ans mis à jour par Joel Thornton il y a 12 ans 1
I love being able to highlight a CSS Class name or piece of code and see it highlighted through the file to show / highlight every instance of that name / value. I'm new to sublime but used to Programmers Notepad where this is default.

trouble is in sublime if I select a value that has dashes or underscores it doesn't recognize it as one unit and then highlight the same values everywhere through the file.

for instance
sm-font

if i select just "sm" then that is highlighted through the document
if i select "sm-font" it does not

same with 
sm_font
XMP:sm_font

I figure (and am used to in other apps) that as long as there are no spaces, it highlights the full chunk of code/name/value
+2

Allow to paste a path into Open Folder dialog

Anton Averin il y a 11 ans 0

I really like sublime, but opening folders just kills me - I have to navigate through a dialog into a folder each time, and there is no way to paste an absolute path to the folder I want to open.

Could we have an better Open Folder dialog, or at least an API console call that will allow to do that?

+2

Bug in Perl syntax detection

komodo il y a 12 ans 0
The line:
 $title .= " File" if ( $title !~ / File/i );
causes all text in the source file after the tilde(~) to be considered a string.  I found this because I was searching for a subroutine that was after this line using Find in Files, and it was not coming up as a result. 
Below is the surrounding code, the offending code was on line 38316.

  #TTS 10991
  # leave the entered title, if one exists
  # fix blank/optional fields
  # if using the entered title, then don't tack on the number
  if(!defined $title || $title eq '') {
$title = $file_type;
$title .= " File" if ( $title !~ / File/i );
#TT 11054 fix: add the count, if not provided
#this should still fix 10991, where add file titles were being dropped
#AND should fix 11054 where dupliacte #counts were being added
if ($title !~ /#\d/) {
$title_cnt = &upload_file_get_title_count($file_type_cde,$ms_id,$ms_rev_no,$j_id);
$title .= " #$title_cnt";
} 
+2

API Idea: on_completion_selected

ebi il y a 13 ans mis à jour il y a 13 ans 0
It would be nice to have a companion event to the existing on_query_completions which is triggered when the user selects a completion from the list. 
This would enable plugin developers to add features like automatically adding an include or import statement to the buffer when the user selects a certain completion. 
I guess such behaviour could be implemented using on_modified events, but it would be quiet error prone and complicated.
+2

C pragmas syntax highlight bug

Péter Horváth il y a 12 ans mis à jour par aahlborg il y a 11 ans 1

If there is a string after the pragma with a comment between the quotation marks, all of the code after the closing quotation mark are highlighted as strings. with /* ... */ between the quotation marks


Code:

#pragma MESSAGES_COMMENT " /* Text 1234*/ "
int main()
{
  printf("Hello World");
  return 0;
}


Pictures

with /* ... */ between the quotation marks:

Image 182
without /* ... */ between the quotation marks:
Image 183
+2

Use same shortcut for Expand Selection to Tag as Expand Selection to Brackets

Leo Gallucci il y a 12 ans 0

How can i write a keymap to re-use CTRL+SHIFT+M resolving ambiguity depending on the scope?


Instead of having these 2 shortcuts:

CTRL+SHIFT+M for Expand Selection to Brackets

CTRL+SHIFT+A for Expand Selection to Tag


I just want to have 1 shortcut that do one thing or the other depending on whether the scope is text.html.basic or any other

+2

Close Project should close window if other windows are open

Shauna Gordon il y a 11 ans 0

I often have more than one project open at a time, each in their own window. When I close a project, the window stays open. This is great if it's the only window, but if there are other windows, it would be nice if the window would close. Since I know not everyone may want this, ideally it could be a configurable option.

+2

Remember what's folded

Griffin Smith il y a 12 ans 0

Code folding is great, but whenever I do a git operation or anything external to the editor that changes the contents of the file, all the stuff that I've gone through and folded unfolds again. It would be really cool if ST2 saved what methods/classes/etc. were folded in the workspace. 

+2
Terminé

Divisable window panes

Rhys Burnie il y a 13 ans mis à jour par Jon Skinner il y a 13 ans 0
One of the most enjoyable things about Eclipse and the family of Eclipse base IDEs is the ability to drag windows to cause them to split. There is also no limit to the amount you can split.

I know you can drag tabs out of sublime into a new window but this isn't really as useful as having the split panes in Eclipse.

It would be great if you take a look at that functionality if you havent already seen it.

Full screen + split panes for multiple files would ROCK!
Solution
Jon Skinner il y a 13 ans
You can use the View/Layout menu to get split panes
+2

Non english characters in Vintage Command Mode

stratoukos il y a 13 ans 0

When using an input source without Latin characters (e.g. Greek) Vintage command mode is unusable, since the commands are mapped to Latin characters. Vim has the same problem, but you can solve it by mapping every single Latin character to the Greek equivalent in the .vimrc (map a α; map b β; ...).


Since you can't do the same thing on Vintage mode, it should execute the appropriate command regardless of the input language, in the same vein that "cmd+φ" and "cmd+π" trigger the same action as "cmd+f" and "cmd+p".


Thanks.

+2

Line ending options in wrong menu

Roman Ataman il y a 12 ans 0
Line ending settings should't be filed under View. Edit or File would be the first place a user is looking for that.
+2

keep track of recently modified/saved files

David H. il y a 11 ans 0
It would be awesome if there's a way to keep track of list of modified files in a project.
There should be a way to clear the list as well.  So basically, this is very similar to the "Open Recent" menu, which keeps track of recently closed files but rather for modified/saved files.

Here's a use case for it.

I'm a single developer working on various website projects and I don't want to use any version control tool (only because either i don't want to pay for it or it's too resource intensive to run it on my laptop that I'm using to do development work).
After publishing the project in Production server, I'm constantly working on incremental enhancements to the website.  The changes for one enhancement may include css files, js file, view files, controller files, and config files that are all over different directories in my project.
I don't want to upload all files again or rely on ftp auto-sync feature but rather upload only the changed/saved files manually myself.

If this feature is available in sublime text then I would simply review the list of files that have been modified/saved and upload them to the server and clear the list before starting the next enhancement change. (I guess this list should include new files as well, so maybe the file name should be added whenever Save function is used)

What do you think? :)
+2

Add a window width option for use when toggling sidebar

Cameron Eagans il y a 12 ans mis à jour par Ross A. Reyman il y a 11 ans 2

It would be very handy if there was a simple boolean option that would cause the editor to resize itself when the sidebar is toggled.


For instance, say that the editor window does not have the sidebar visible and it's currently 800px wide. Let's also assume that the sidebar was previously set to 200px.


When the new feature that I'm proposing is enabled and the sidebar hotkey is pressed, the editor window would get the width of the sidebar and resize itself to be that much wider on the side where the sidebar appears. So the total window width would be 1000px. When the sidebar is closed, the window would decrease back down to 800px.


This behavior is roughly similar to how the old Textmate 1.x file drawer functioned - the drawer could open without affecting the placement of the rest of the window. This would be very very handy for people that don't use their editor in fullscreen mode.

+2

Bug with snippets (multiple mirrored replaced)

Roman Komarov il y a 12 ans 0

Here is a simple test-case you can try in ST’s console:

view.run_command("insert_snippet", {"contents" : "snippet: ${1/.+/1/}$1${1/.+/2/} ${1/.+/1/}$1${1/.+/2/} ${1/.+/1/}$1${1/.+/2/}"})

When you have a snippet with more than one mirrored replacements going before the mirrored tabstops, the order of the inserted snippets is broken.

So, in example above you can see that all three space-separated parts are equal, however if you’d run this snippet and write something like `foo`, then you’d get

snippet: 1foo2 foo12 foo12

and that’s wrong, it should be:

snippet: 1foo2 1foo2 1foo2

That bug is really a stopper for what I want to do :(

+2

Resolve keymap shortcut conflict

Pawel Kasperek il y a 12 ans 0

In ST2 is more default shortcuts that helpfull working with this tool. But Sometimes there i'm installed many great plugins that are encountered shortcut conflicts with default keymap shortcuts.  This problem was posted in ST2 forum: http://www.sublimetext.com/forum/viewtopic.php?f=4&t=5569&p=32246&hilit=keymap#p32246. So, maybe keymap manager is good resolution but I thing that better is situation when ST2 encounter shortcut conflicts (there is in Visual Studio or Jetbrains IDE tools as RubyMine) . So, another resolution is added bool option when an user would be decided that any plugin can't encounter default shortcut (users keymaping wolud be ignored).


Pawel

+2

Copy files from Sources Folder to another location

Eddi Hughes il y a 12 ans 0
Perhaps a suggestion,

Like in Netbeans, make it so that a user can "Copy files from Sources Folder to another location" - this allows users to keep a local repo in a separate folder, say Dropbox and run their WAPM/MAMP/LAMP server for local rapid development before pushing commits.

I like to keep my repo clean and in Dropbox to sync between my two computers. I can work on my desktop/laptop at any moment throughout the week. It would be nice to have a "Copy files from Sources Folder to another location" so that rapid development on local WAPM/MAMP/LAMP is fast and keeps the repo in a seperate location (not on the local server)