HACKER Q&A
📣 close2

What are your favorite tips/tricks about IDEs that aren't well known?


I'm preparing a presentation to help my coworkers make better use of the tools we all use and would be interested in what other devs recommend.

My presentation is focused on windows, IntelliJ,... (What we use at work) but any tip is welcome.

I currently have:

IntelliJ

   Shortcuts: Shift-F6, Ctrl-Ctrl-arrow, Ctrl-Shift-C/V, Ctrl-E, Ctrl-Shift-arrow, Ctrl-Shift-F

   Functionality: Shift-Breakpoint (for output only), Compare with clipboard, Structural search, Live templates

   Plugins: AceJump, Archive Browser, Jump to line, Key Promoter X, Rainbow Brackets Lite, SpotBugs, Unicorn Progress Bar
git: subtree

Make pdfs "editable": qpdf --qdf --object-streams=disable orig.pdf expanded.pdf

Notepad++: XML Plugin

Chrome: uBlacklist

We use Atlassian products (Confluence, Jira, Bitbucket, Bamboo) and I am still looking for settings, tricks which would make them more useful.

I would like to show some cool bash one-liners (which obviously must work in Windows).


  👤 cpburns2009 Accepted Answer ✓
I recently discovered SQL Resolution Scopes in PyCharm (applicable to all Jetbrains professional edition IDEs). This adds type introspection to your temporary tables (though you do define them twice). Create an SQL file that defines your temporary tables. Create a "DDL Data Source" under the "Database" tab. Add the SQL file using "+ > DDL Files" to the data source. Under "Settings > Languages & Frameworks > SQL Resolution Scopes", add the DDL data source to your project mapping, specific directories or scripts.

👤 floitsch
In vscode: ctrl-d selects the word at the cursor, or the next occurrence of the current selection. Use it all the time.

In bash: alt-. copies the last argument of the previous command (history).