Sublime 3 – Set Key map for function Goto Definition

For anyone else who wants to set Eclipse style goto definition, you need to create .sublime-mousemap file in Sublime User folder. Windows – create Default (Windows).sublime-mousemap in %appdata%\Sublime Text 3\Packages\User Linux – create Default (Linux).sublime-mousemap in ~/.config/sublime-text-3/Packages/User Mac – create Default (OSX).sublime-mousemap in ~/Library/Application Support/Sublime Text 3/Packages/User Now open that file and put the following … Read more

Keyboard shortcut to comment lines in Sublime Text 3

It seems a bug: http://www.sublimetext.com/forum/viewtopic.php?f=3&t=11157&start=0 As a workaround, go to Preferences->Key Bindings – User and add these keybindings (if you’re using Linux): { “keys”: [“ctrl+7”], “command”: “toggle_comment”, “args”: { “block”: false } }, { “keys”: [“ctrl+shift+7”], “command”: “toggle_comment”, “args”: { “block”: true } } Update: This also works on Windows 8 (see @Sosi’s comment)

How to select all instances of a variable and edit variable name in Sublime

Put the cursor in the variable. Note: the key is to start with an empty selection. Don’t highlight; just put your cursor there. Press ⌘D as needed. Not on a Mac? Use CtrlD. Didn’t work? Try again, making sure to start with nothing selected. More commands: Find All: Ctrl⌘G selects all occurences at once. Not … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)