Skip to content

Latest commit

 

History

History
126 lines (88 loc) · 3.53 KB

ide.md

File metadata and controls

126 lines (88 loc) · 3.53 KB

Integrated Development Environment (IDE)

vscode https://code.visualstudio.com/docs/getstarted/tips-and-tricks

Show whitespace

Hotkeys

Stick/learn the defaults where possible

tab shift + tab

ctrl + click (goto) (TODO: key?) history crtl + - crtl + shift + -

alt + up/down (move lines)

ctrl + l (select line)

MultiCursor Editing (vscode ctrl+F2) alt + click (add cursor) ctrl + alt + up/down ctrl + shift + L or crtl + f2 (multicursor rename) esc (back to single)

cmd + p - quick open

search crtl + f crtl + shift + f

crtl + alt + f - formatter

shift + alt + drag - block drag

shift + alt + F12 (find all references - current file)

characters

Show whitespace - tabs and spaces Three types of quotes: backtick, single quote, double quote

`'" 

(watch out for unicode fudgeery of single and double quotes)

Four types of brackets

<{[( )]}>

Unicode

Live Share

The best parts of Visual Studio Code are proprietary - LiveShare

Browser Based

  • [ide-in-browser]
  • Hotkeys are masked by browser defaults
    • TODO: investigate vscode in browser hotkeys

Terminal-IDE

Custom

  • Embrace the Chaos - How to Write a Code Editor from Scratch in 4 Months
    • Building an IDE from scratch is pretty complicated
      • I’ve written a code editor from the ground up, including: a fast (~120fps) canvas-based editor component; multi-language syntax highlighting with Tree-sitter; snippets; a file browser; find-and-replace with regex and JavaScript expression support; and two completely new features: AST mode and CodePatterns.

    • This [software-engineering] approach is - 'Move really really fast and break stuff'

Dark Mode

  • Is Dark Mode Good For Your Eyes?
    • I’ve decided to stop using dark mode across all of my devices, because research suggests that going to the dark side ain’t all that.