Skip to content

Instantly share code, notes, and snippets.

View ingro's full-sized avatar
😪

Emanuele Ingrosso ingro

😪
View GitHub Profile
@ingro
ingro / functions.js
Last active August 29, 2015 14:26
ES5 vs ES6 - For a complete list see here: https://github.com/lukehoban/es6features
// Short syntax
// ES6
var game = {
start() {
console.log('START!');
}
}

Note: Some of these shortcuts have been remapped for my own convenience (Preferences->Keymap). These are Mac shortcuts, just use the Windows/Linux equivalent of the Cmd/Option/Ctrl/Del keys.

####Search, Go to, Navigation ####

Cmd + P - Search file

Cmd + Shift + O - Search everywhere

(I swapped the above two recently because I use Cmd + P to search for files most of the time).

Configure

xdebug.ini

xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.remote_connect_back=1