Dine kommentarer

Update all references is not as important to me, but intro variable and extract method would be great and seem fairly straightforward to implement, since they could be done without semantic knowledge of the language.


There's a recently-developed package for some refactoring at http://saquery.com/sublime-text-refactoring-plugin/ (or https://github.com/s-a/sublime-text-refactor).

This one gets me all the time. It'd be nice if home/end also operated on the list (rather than the text entered), but pgup pgdn would be so nice!

D'oh! Turns out this is already a setting in \Packages\Vintage\Preferences.sublime-settings called vintage_use_clipboard. I don't know why it defaults to false, but setting it to true gives me what I want.

I'm experiencing the same issue (ST 2.0.1 build 2217 on 32-bit Win7). I created a keybinding for auto-doubling percent signs (%) in AutoHotkey and dos batch scripts. However, it shows up in most/all files. Here's my code:

// Auto-pair brackets
{ "keys": ["%"], "command": "insert_snippet", "args": {"contents": "%$0%"}, "context":
	[
		{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
		{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
		{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|;|\\}|$)", "match_all": true },
		{ "key": "selector", "operator": "equal", "operand": [
			{"key": "source.dosbatch"}, {"key": "source.ahk"} 
		]}
	]
},



Kundesupport af UserEcho