Does the Sublime Text 2 editor support real time HTML & CSS preview? [closed]

There’s a package for this: Browser Refresh by Giovanni Collazo. It supports OS X and Windows 7, and all major browsers. You can install it via Package Control (or manually) and trigger it with super+shift+r in Sublime Text 2. I haven’t tested it personally since I use CodeKit for this functionality, but it seems popular. … Read more

Issues with Git – rebase / squash

The problem is that when sublimetext2 is started, it doesn’t block and immediately returns. Git then thinks that you’re done editing the file and performs the rebase. That’s why you see the Successfully rebased and updated refs/heads/staging message, before you even edited the file. Use the subl command instead, which is designed for such use. … Read more

Sublime Text 2 – Open CMD prompt at current or project directory (Windows)

Click the menu preference > Browser Packages in Sublime Text 2. Create a folder Cmd in the directory opened in step 1. Create a python file named cmd.py with the following code in the Cmd folder created in step 2. import os, sublime_plugin class CmdCommand(sublime_plugin.TextCommand): def run(self, edit): file_name=self.view.file_name() path=file_name.split(“\\”) current_driver=path[0] path.pop() current_directory=”\\”.join(path) command= “cd … Read more

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