+12
Lokið

vim modes and keybindings

Laughedelic 14 ár síðan updated by Jon Skinner 13 ár síðan 0
Answer
Jon Skinner 13 ár síðan
Added in 2111
+12

Shift-click minimap => move to shown location

Jeff Yeo 14 ár síðan updated by Micheal Winger 13 ár síðan 2
So let me try to explain what I mean.
When I open like a 5000 line file in sublime,
the minimap can't show everything in one vision, so it only shows a portion of it. (which is fine.)
So I look at the minimap, and notice the area I want to move to, I click that area.
Now right here, because I the minimap only shows a small portion of the file at the moment,
even if this area X is, say, 1/3 way from top in the minimap, it can be actually from bottom in terms of the entire file.
So when I click the area X in the minimap,
the view moves to 1/3 way from top out of the FILE, which may be no way near the actual area X.

The way it is now has a logic of it's own too.
So may I suggest, maybe if I shift-click it instead, it could move to the place visual in the minimap? instead of acting exactly like a scroll bar?

I know this description is confusing in words. If you need clarification, just comment, or open a really really long file in sublime and mess around with the minimap. You will see what I mean.
+12

Goto anything overlay too narrow

Oktay Acikalin 14 ár síðan updated by Alex Rogers 12 ár síðan 4
It would be nice to have the goto anything overlay expandable in width. Long paths just get shortened too much. Perhaps 50% of the view width?
+12

Exclude files/folders from project with regex patterns

Erik Kallevig 12 ár síðan 0
Currently you can exclude folders by name or files by type (ie. extension types) using the "file_exclude_patterns" and "folder_exclude_patterns".  The reason I looked into this setting was to be able to exclude the minified versions of .css and .js files that sit in the same directory as the un-minified versions.  I'd love to be able to specify an exclude pattern like ["*.min.js"] instead of just being able to exclude all .js files like you can currently do.
+12

save file should occur without freezing editor

Alex Robinson 13 ár síðan Uppfært 13 ár síðan 0
Saving files opened from a remote disk (eg, ssh) can take a long time depending on the internet connection. During this time, the editor is unusable/frozen. It would be nice to be able to continue working with the other files at least while the save is working. For example, each open file could operate as a separate computing process (like each tab Google Chrome) so that what's happening with one file doesn't affect the usability of the others.
+12
Lokið

Bold and Italic font support to display keywords text

Radu Coc 13 ár síðan updated by Jon Skinner 13 ár síðan 2
Will be great to have support for BOLD and Italic fonts to display keywords text, to represent (display) more accurately some kind of files especially source-code and MarkDown. So, for example (in .md file) when I surround some text with the Italic mark (_example_) or bold mark (**example**) to display the text between the marks with Italic and Bold fonts (_example_)(**example**). The same applies to souce-code files.
When I choose as font for text Arial, Sublime is displaying all the file using the font Arial Regular. Will be great to have an option to display some portions of the text (configured from configuration file-type) also using the Arial BOLD and Arial Italic font.
Answer
Jon Skinner 13 ár síðan
Added in 2165
+12

[Suggestion] Convert indentation to spaces or tabs on save

Torsten Pohl 13 ár síðan Uppfært 13 ár síðan 0
I would appreciate a setting like "convert_indentation_on_save" with the arguments "to_spaces", "to_tabs", "".
+12

Support Delphi files(.dpk, .dpr, .pas, .dfm) and *.rc, *.ini *.mc

JingYu Han 12 ár síðan í Plugin announcements Uppfært 12 ár síðan 1

I use delphi, will be great to have support Delphi files(.dpk, .dpr, .pas, .dfm) and  *.rc, *.ini *.mc files

+12

Vintage - better command mode cursor

Christopher Bottaro 13 ár síðan 0
The underline cursor is hard to see.  Would be much easier to see if it was a block like in vim.
+12

Add "Open with Sublime Text" context menu item to folders

Mark Johnston 13 ár síðan Uppfært 13 ár síðan 0
"Open with Sublime Text 2" works great on individual files, but I often prefer to open a whole folder in the sidebar.  It would be nice if the context menu item was available on folders, to do exactly what the "Open Folder" menu item does in Sublime Text 2 itself.
+12

A live browser preview just like Cssedit

Leandro Flaherty 13 ár síðan updated by Arsen T. Holsteinson 12 ár síðan 6
A live preview just like cssedit does would be fantastic (override stylesheets, live updates, splitpanel, element inspector) 
+12

make search highlighting stick around after find window closes

David Baumgold 13 ár síðan updated by Giampaolo Rodola 11 ár síðan 2
When you search for a piece of text, the matches in the file are highlighted as you type. That's cool! The problem is, once I press Escape to get out of the search dialog, the highlighting vanishes. I'll often want to use Cmd+G to jump to the next instance of what I wanted, but without search highlighting, I'm effectively jumping blind, and I don't know where my caret will land until it gets there. Combine that with the fact that I can't use a block cursor, and I keep on getting lost in my editor.

Ideally, there should be a preference to leave search highlighting on after completing a search, and a command to dismiss it when I'm ready. For reference, check out ":hlsearch" and ":nohlsearch" in vim. (I'm coming to ST2 from Vim, and I always use it in Vintage mode.)
+12

ftp synchronisation

Alexander Schramm 13 ár síðan 0
auto ftp synchronisation would be very nice
+12

Incomplete C++ syntax highlighting

John Moutrihas 12 ár síðan updated by Nicholas Braden 12 ár síðan 2
The syntax highlighting for C++ look incomplete. For instance very common keywords are not highlighted at all and are treated as common identifiers. More specifically keywords like while, for, if, return, namespace, switch, case look the same as identifiers while other keywords such as using, type modifiers (cost, static) and data types (float, int) and literals (true, false, NULL) are properly highlighted.

This makes code structure hard to read and easy to miss :) Is this a conscious choice, an omission or a bug?

I'm running on ubuntu 64bit on version 2.0, build 2210, but also in previous builds.
+12

Save Asynchronously

Scott Bowers 13 ár síðan 0

When saving files, sublime will freeze until the operation succeeds.  For local file systems, this is not normally noticeable. For remote file systems, this can cause frustration with the interface being totally unusable while you save a file for 2-10 seconds.


I suggest making sublime save a temporary copy of the file in memory, and then save that file to the file system asynchronously from the user interface.  This way, a person can save a file and continue to edit the same file, or switch to a new file, etc.

+12

Sublime won't respond to applescript set bounds of window

Chase de Languillette 13 ár síðan updated by Robby 12 ár síðan 1
I have some ghetto applescripts that resize my windows, that work wonderfully with just about every program, except sublime isn't responding to them.  this is the general script -- it's pretty simple.

set cw to 2560 -- cinema width

set ch to 1440 -- cinema height

set lw to 1440 -- laptop width

set lh to 900 -- laptop height

set mb to 21 -- menu bar

set activeApp to (path to frontmost application as Unicode text)


tell application activeApp

activate

set bounds of window 1 to {cw * 2 / 3, mb, cw, ch}

end tell


It's just annoying to resize windows manually.  It's worth noting that I can still resize the program dynamically with a window sizing program like Divvy, but I like the simplicity and price (free) of applescript.  Thanks!

+12

Gutter in distraction-free should be next to text, not all the way to left of screen

chocolate camera 13 ár síðan updated by Jacob Magnusson 11 ár síðan 1
The gutter's position should change according to the Word Wrap Column's size, falling right to the left where the text starts..

When enabling the gutter and line numbers in distraction-free mode, the gutter appears all the way to the left of the screen, whereas the text area's width, way shorter than the screen's, is centered. As a result, line numbers are disconnected from the text they refer to. Numbers should be next to the text, not far away.

Considering the point is focusing ones' attention, having line numbers so far away from the line they refer to does not help the purpose.
+12

close less used tabs automatically

Flytwokites Z 13 ár síðan updated by Leo Gallucci 11 ár síðan 1
close less used tabs automatically when reach max opened tabs limit to keep a small set of  open tabs.

note: eclipse has this feature.