How does one paste and indent in Visual Studio Code?

Currently, Visual Studio Code doesn’t provide this specific functionality. We could vote for this feature at Visual Studio’s UserVoice website. There’s already a ticket open for this feature: Paste and auto align code. If you’ve got an account, you can vote for this feature so it gets more attention. If it has enough attention, Visual … Read more

Sublime Text – how to figure out internal command name for key binding?

Hit Ctrl` (backtick) to open the console, then enter sublime.log_commands(True) to turn on command logging. Go through the menus and click your target, and command: insert_snippet {“name”: “Packages/XML/long-tag.sublime-snippet”} comes up. Enter the following into your Preferences -> Key Bindings – User file: { “keys”: [“ctrl+alt+shift+w”], “command”: “insert_snippet”, “args”: { “name”: “Packages/XML/long-tag.sublime-snippet” } } (changing the … Read more

No more SideBarEnhancements in Sublime Text 2?

The maintained version of SideBarEnhancements now only supports Sublime Text 3. A public beta version of ST3 is available for download, and I highly recommend upgrading if possible, unless you absolutely depend on some old ST2-only plugins, and there is no chance that they’ll be ported to ST3/Python 3.3. Many plugins now support both versions, … Read more

Sublime Text edits since last save

I know this already has an accepted answer, but it is not necessary to install FileDiffs or anything else. Just right click on the modified window and select Show Unsaved Changes. A pane will show up at the bottom, listing the differences. There isn’t an obvious way to dismiss the pane, but Ctrl+F will replace … Read more

Highlighting comments containing TODO in Sublime Text 2 [closed]

Sublime Linter should do the trick. You can add underlining for custom static text. All you need is the Sublime Package Manager: Press Ctrl/Cmd+Shift+P Search for “Package Control: Install Package” Search for “SublimeLinter” As stated by jon in the first comment: For ST3, the SublimeLinter-annotations plugin highlights TODO, FIXME etc.

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