colin tinney

/

blogprojects

Some VS Code Extensions

April 13, 2019

Yes, this is yet another blog post about some random internet users' favourite VS Code extensions.

TL;DR:

This post will give a brief overview of each extension.

Extensions

Peacock

Marketplace Link

Q: What does it do?

A: Customize the colours of UI elements like the sidebar and status bar, per window/instance.

Q: Why?

A: Useful for quickly differentiating between different instances/workspaces that are open.

Peacock

Git Lens

Marketplace Link

Q: What does it do?

A: Adds Git functionality like live blame (hover to view the author of a particular line), easy navigation of file history, and visualization of changes.

Q: Why?

A: Built-in Git support is lacking in features and it can be more productive to use an extension rather than to switch applications or to rely solely on the Git CLI, especially for beginners.

Git Lens

TODO Tree

Marketplace Link

Q: What does it do?

A: Displays TODOs located within your project in a tree-view in the sidebar.

Q: Why?

A: For those that use TODOs as a task management system, this extension can help keep track of existing TODOs and ensure they are resolved.

TODO Tree

ESLint

Marketplace Link

Q: What does it do?

A: Integrates ESLint into VS Code and providing inline hints. It will automatically use the ESLint configuration of the project.

Q: Why?

A: Linters help maintain code quality and consistency. Integration into the editor instead of running it explicitly on the command line helps catch mistakes as they happen.

ESLint

EditorConfig

Marketplace Link

Q: What does it do?

A: Integrates the .editorconfig format into VS Code and automatically formats files (e.g. indent sizing and trailing newlines) on save.

Q: Why?

A: Consistent coding style within a project reduces cognitive load due to stylistic differences. .editorconfig helps maintain a coding style across editors and IDEs (provided they have support for it).

Markdown All In One

Marketplace Link

Q: What does it do?

A: Provides Markdown editing features such as HTML previewing, automatic table of contents generation, list editing, and auto-completion.

Q: Why?

A: It helps you create and maintain high-quality Markdown documentation.

Markdown PDF

Marketplace Link

Q: What does it do?

A: Converts Markdown files to PDFs.

Q: Why?

A: This is useful for those who prefer Markdown over Google Docs yet need to send a professional PDF to some business-people.

up ↑