In macOS, undo is Cmd ⌘ + Z and redo is ⌘ + Shift ⇧ + Z. GitHub Theme - make your VS Code look more like GitHub! Key BindingsĬoming from Windows, my brain is wired that Ctrl + Z is undo and Ctrl + Y is redo.TODO Highlight - highlights those TODO comments in your code.Error Lens - to tweak how errors and warnings are shown.Git Graph - another option for visualizing Git branches in VS Code.GitLens - among other things, allows the ability to Git Blame view inline like you can in GitHub.Draw.io Integration - for creating charts/architecture diagrams directly in VS Code.YAML - for YAML syntax highlighting in the editor.on unrecognized words and “add to user settings” Code Spell Checker - to help me from misspelling, and as a bonus if you’re using VS Code settings sync, you can keep a custom dictionary synced across VS Code instances / Codespaces by using the “quick fix” on aka Cmd ⌘ +.GitHub Markdown Preview - a non-official GitHub extension to make the markdown preview look more like how GitHub renders markdown.Markdown All in One - I love this because I can highlight a piece of text and paste in a link and it will automatically format the markdown for me, similar to this feature in GitHub.GitHub Copilot Chat - also Copilot! □ □.GitHub Actions - native GitHub Actions YAML syntax and Actions workflow visualization in the IDE. I’ll just highlight some of my favorite extensions that I use in VS Code: Pro-tip: Turn on VS Code settings sync! Extensions Now the terminal in VS Code looks nice also! Add/modify these lines to your VS Code settings.json file by opening the command palette ( Cmd ⌘/ Ctrl + Shift ⇧ + P) and typing > Preferences: Open Settings (JSON): To allow VS Code’s terminal to look similar to the iTerm terminal, there are a few additional things we need. You can now back up your ~/.zshrc file and ~/.p10k.zsh files in a dotfiles repository similar to mine by creating symlinks (documentation on how to do this is in my repo also). If you’re using the powerlevel10k theme, make sure to set up the font in VS Code’s terminal as well! That should be all you need to make your terminal look exactly like mine □. Make iTerm2 the default terminal: Make iTerm default terminal ( Control ^ + Shift ⇧ + Command ⌘ + \).You will be prompted to configure powerlevel10k - but my configuration for ~/.p10k.zsh is here.Install powerlevel10k zsh theme - basically clone the repo and modify the ~/.zshrc file to update the ZSH_THEME.Install plugins like zsh-autosuggestions, zsh-syntax-highlighting (basically you clone the repo and then add the plugin to the list of plugins in your ~/.zshrc file.Install oh-my-zsh (run the curl command).I believe the only other special things that I have in the profile (other than colors) is the ability to use Option ⌥ + ← or → arrow keys to to go left / right to the end of strings, Option ⌥ + Shift ⇧ + ← or → arrow keys to highlight entire strings, and Option ⌥ + Delete to delete entire strings.In iTerm, go to: Preferences > Profile, you can use the + to import the iterm2-profile.json profile.Download my iTerm profile as a json file and import into iTerm.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |