Programming Pro

VS Code Extensions Carousel

5 slides · 540 × 540 · Facebook / Instagram ready

import { useState, useEffect } from 'react';const Editor = ({ file, theme }) => { const [code, setCode] = useState(''); const [errors, setErrors] = useState([]); useEffect(() => { lintCode(code).then(setErrors); }, [code]); return
...
;}; function formatCode(src, opts) { const parser = opts.parser || 'babel'; return prettier.format(src, { parser, ...opts });} const gitBlame = async (file, line) => { const res = await git.log({ file, line }); return res.latest;}; export default Editor;
01 / 05
// 3 extensions picked ·

VS Code Extensions that make coding easier 👇

Boost your dev workflow · Zero config needed

Error Lens Prettier GitLens
Programming Pro
02 / 05
01 vscode ext
Error Lens
Shows errors & warnings directly inline
as you write — zero context switching.
easier debugging cleaner workflow
app.js
1const fetchUser = async (id) => {
2 const res = await fetch('/api/user', id) ⊘ Expected 1 arg, got 2
3 const data = await res.json() ⚠ 'data' is declared but never read
4 return res.user ⊘ Property 'user' does not exist
5}
6
7const userId = 42
8fetchUser(userId).then(console.log)
Programming Pro
03 / 05
02 vscode ext
Prettier
Automatically formats messy code on save.
One tool, consistent style across your project.
saves time clean code instantly
✕ Before
messy.js
1const x={a:1,b:2}
2function foo(a,b,c){
3 if(a==1){return b+c}
4else{return a }}
5const arr=[1,2,3]
6arr.map(x=>x*2)
✓ After
formatted.js
1const x = { a: 1, b: 2 };
2
3function foo(a, b, c) {
4 if (a === 1) {
5 return b + c;
6 } return a;
Programming Pro
04 / 05
03 vscode ext
GitLens
Supercharges Git inside VS Code — see who
changed what, and exactly when.
commit history better version control
auth.ts
alex2 days ago
import { jwt } from 'jsonwebtoken'
maya3 hrs ago
export async function login(email: string) {
maya3 hrs ago
const user = await findUser(email)
alex1 day ago
const token = jwt.sign(user.id, SECRET)
alex1 day ago
return { token, user }
sam5 days ago
}
⎇ Recent Commits
a3f9c2 feat: add JWT refresh token logic 3h ago
8d12e7 fix: resolve token expiry edge case 1d ago
f77b04 refactor: extract auth middleware 5d ago
Programming Pro
05 / 05
small tools,
huge difference.
Save this for later 🔖
Error Lens Prettier GitLens
Programming Pro
Slide 1 of 5