Regex to replace values that include part of match in replacement in sublime?

The replacement expression is: \$\1\u\2 \1, \2 are the captures (or $1, $2) \u up-cases (see the Replacement String Syntax section). See the Regular Expressions chapter (in the TextMate docs) for more information. There’s already a package that does this, and more: Brief blog about CaseConversion CaseConversion package

Compile CoffeeScript on Save?

Coffeescript has a ‘watch’ feature. You could set up, as a semi-permanent process: coffee –wc -o media/js/ src/coffee/*.coffee And for every file with an extension “.coffee”, the corresponding compiled “.js” file will be put into the target directory every time you save. That said, I use a makefile and a fabfile, because my HTML is … Read more

Editing remote files over SSH, using TextMate?

OK – here is the one that works on Mountain Lion. Go to http://osxfuse.github.com/ Install FUSE for OS X Install SSHFS for OS X Then the following commands on your terminal: mkdir /Volumes/SSHFS /usr/local/bin/sshfs username@host:/path/to/dir /Volumes/SSHFS Done. I would also recommend using the ReMate plugin as pointed out by another user to prevent TextMate from … Read more

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