+3

Move cursor to beginning and end of line on Mac

Justin Stevens 12 years ago updated 12 years ago 2

This is the default for Windows and Linux, but not on Mac. Please add the following to the default key bindings of Mac:

{ "keys": ["home"], "command": "move_to", "args": {"to": "bol", "extend": false} },

{ "keys": ["end"], "command": "move_to", "args": {"to": "eol", "extend": false} }

+3

Handle quotes inside triple quotes in Scala

Nicolas Rémond 12 years ago 0
Hi,
Currently, SublimeText2 gets ugly when we have quotes inside triple quotes statement as you can see in this screenshot : 
Image 160
+3

List of recent projects on Win 7 taskbar context menu

Michal Gebauer 13 years ago updated by Dorian Patterson 13 years ago 1
Display list of recent projects in menu raised by right click on taskbark icon.
+3

Windows: --project command line switch should open only the project, no other windows

12 years ago 0

I'd like to run

path\to\sublime_text.exe --project Y.sublime-project

from a batch file, but the behavior is weird:

  • If I had another project X open in the previous session, Sublime will open X and Y in separate windows
  • If I had all projects close in the previous session, Sublime will open only Y
  • If I had project Y open in the previous session, Sublime will open Y and an empty window

Can this please be streamlined, or maybe there should be more command line parameters to affect what is opened from the previous session, e.g. `--no-previous-session`.

+3

Reload sidebar to include newly added files

ajolio 12 years ago 0
Using another application to mount an external drive. Open folder in ST; do work. If another library or file is added to the remote folder, there is no way to get it to show in the sidebar short of closing and re-opening ST. 
Would be nice to have a reload button or somesuch in the sidebar that would check the folder for new files and add them in for editing. 
+3

Use Goto Anything based on VCS

Jelle de Jong 11 years ago 0

For example:

You're working in a GIT repository, without a "*.sublime-project" file.

CTRL+P (Cmd+P; Goto Anything) should work based on this GIT repository. You're project-root is the ".git" folder and in ".gitignore" are files to be ignored.


Now it's not necessary to create a "*.sublime-project" for your project. 

+3

Change "close_windows_when_empty" so that it includes dragging the final tab out of a window

Barak Gall 12 years ago updated by willem dhaeseleer 11 years ago 1

At the moment setting "close_windows_when_empty" results in the following behaviour that I found unexpected, and request be changed.


Scenario:

Set "close_windows_when_empty" to true.

Open 2 files in a sublime window. Drag one tab to a new window.

Drag that one tab from the next window back to the original window


Expected behaviour:

The window now has no tabs or open folders, it should close.


Behaviour:

It doesn't close.

+3

Home & End Keys not working again in OSX. (build 2165)

mcgooch 13 years ago updated by Sean Fao 12 years ago 2
Did this break? I have not fiddled which any settings or key mappings.  It should be the default.  Have there been any changes in the key mappings stuff?  I originally downloaded a different build and it upgrades to this one.  I thought it used to work but not sure.
+3

Idea: Syntax highlighting files (tmTheme files) uses CSS syntax

Mike Meyer 13 years ago 0
It would be awesome if you could style custom syntax highlighting properties using the familiar syntax of CSS. Espresso (http://espressoapp.com) does, and it's incredibly easy to quickly create new themes or modify old ones.

It would be pretty simple to create a script that reads the XML tmTheme files and converts them to CSS.
+3
Completed

Implement commands for navigating the overlay result lists

Stian Grytøyr 14 years ago updated by Jon Skinner 14 years ago 0
Make it possible to map a keybinding to previous/next result in the overlay (Goto Anything etc.) results, like the up/down arrows currently do. Alternatively, make whatever is bound to "move by lines" move the "result selector" when the overlay is visible. Any one of these solutions will let those of us with the Emacs keybindings hard-wired into our brains avoid the arrow keys altogether.
+3

Add a new sub-entry 'Save a copy' to the 'File' item of the main menu

g912 12 years ago 0

Hi,

It would be nice if a new sub-entry of the 'File' menu main entry is created: it's allow to save the current file with another file name without exiting the current file (very useful when creating a lot a files from the same base with a time stamp for example).

Thanks

Regards
g912

Title: Add a new sub-entry 'Save a copy' to the 'File' item of the main menu


+3

View.is_visible() method

Oktay Acikalin 14 years ago updated 14 years ago 2
I've a bunch of plugins which react on the on_load event. But this is not necessary if the view is not visible (yet!). If it gets visible, the on_activated event is being triggered. If one have multiple panes it would be much more efficient to only process visible views for e.g. text highlighting. This way especially big files would not hog the cpu when not visible and thus not needed yet.
+3

Enable Ruby scripting/plugins

Stian Håklev 13 years ago updated 13 years ago 0
I know a lot of the internals are built on Python, but if you opened an API for scripting with Ruby, I think it would attract a larger number of plugin contributors etc. 
+3

Horizontal Triple Pane Layout

Oktay Acikalin 14 years ago updated 14 years ago 1
Due to the fact that I prefer horizontal text panes more than vertical ones, I've used the "Horizontal Double Pane Layout" for quite some time. But today I needed more so I tried to create one and it worked out fine. Sadly for some unknown reason I cannot use super+alt+shift+3 on OSX so I used super+alt+3.

Here's the keymap code:
{
    "keys": ["super+alt+3"],
    "caption": "Horizontal Triple Pane Layout",
    "command": "set_layout",
    "args":
    {
        "cols": [0.0, 1.0],
        "rows": [0.0, 0.33, 0.66, 1.0],
        "cells": [[0, 0, 1, 1], [0, 1, 1, 2], [0, 2, 1, 3]]
    }
}
+3

Make keyboard shortcuts display correctly for international keyboard layouts

Alexander Gödde 11 years ago 0

I'm German, and using Sublime Text with a German keyboard (no surprise there).


This means that  a lot of the keyboard shortcuts are simply displayed wrong,   e.g toggle comment  is shown as "control + /" whereas on the German keyboard I actually need to use "control + #"


Now I can use "sublime.log_input(True)" in the console to find through trial and 

error what keys to use, but this shouldn't be necessary, and is, additionally, not very helpful regarding less often used key combinations.


Do I really have to poke around & then keep something as old school as a printed overview of the key mappings on my keyboard around?

+3

sublime-completions problems with word buffer

Pier Bover 12 years ago 0

I have a long sublime-completions file (about 2000 lines). The completions work fine, but words from the current file simply get ignored.


At first I thought the problem was about having characters like ( , : etc in the trigger, but it turns out it's a combination of characters + long file. Everything works great with a shorter file, but for a long file it only works if the trigger only has short words with nothing but letters.


I need to put those characters in the trigger so I can see which method I'll be "triggering". It is not possible AFAIK to put a description in a completions file, the way you can in a snippet.

+3

Ctrl+alt+P should show all projects, INCLUDE currently opened projects

Tom Lam 13 years ago 0
When there are many instance of Sublime Text 2 opened, the currently opened projects doesn't show up in the project switching list.

I guess the ctrl+alt+P (project switching) should work the same as the ctrl+P (file switching) tool. In the file switching tool, no matter the file is currently opened or not, it shows up in the list. And I can do both "open file" and "switch focus" using the same hotkey ctrl+P

I know I can use alt+tab (on windows) to switch between opened windows. but using the same hotkey (ctrl+alt+P) for both open project and switch project focus can be very convenient.
+3

Build system should honor env as documented.

Jason Denton 12 years ago updated by 12 years ago 1

Build system should recognize the env command as documented. Adding an env command to the build system results in a silent fail currently. If you open the console, you will see the following error : 


Traceback (most recent call last):

  File "./sublime_plugin.py", line 337, in run_

TypeError: run() got an unexpected keyword argument 'env'

+3

feature request - when you highlight a <div> it highlights its closing </div>.

web_bill 13 years ago updated 13 years ago 0
I don't know what to call this feature, but NotePad++ has it in windows. For instance, when you highlight a <div>, Sublime Text would  highlight its closing </div>.  
I am on Mac OSX.
+3

"replace all" closes the replace-bar

Martin Kauber 13 years ago updated by Kaur Kuut 12 years ago 1
You just pressed CTRL+H to make a replace and pressed "replace all", the bar closes after execution. Now, to replace anything else, you have to press ctrl+h again. It's tiresome, maybe an extra button to toggle this auto-close would help. I make a lot of replace searches and right now I'm back using 1.4 version.