Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 

Repository files navigation

πŸš€ VS Code Ultimate Performance Settings

A carefully optimized settings.json configuration for maximum VS Code speed and responsiveness, especially for:

  • Next.js Projects
  • React Applications
  • TypeScript Projects
  • MERN Stack Development
  • Low-End & Mid-End PCs
  • Large Codebases

✨ Features

πŸ”₯ Editor Performance

  • Smooth scrolling
  • Smooth cursor animation
  • Disabled CodeLens
  • Disabled auto formatting on save
  • Reduced rendering overhead

πŸš€ TypeScript Optimization

  • Increased TS Server Memory (4096MB)
  • Disabled heavy diagnostics
  • Disabled package.json auto imports

🚫 File Watcher Optimization

Excludes:

  • node_modules
  • .git
  • .next
  • dist
  • build

This dramatically reduces CPU, RAM, and disk usage.

⚑ Search Optimization

Large folders are excluded from:

  • Search
  • File watching
  • Explorer indexing

Result:

  • Faster file search
  • Faster project loading
  • Less background processing

🚫 Background Services Disabled

  • Git Auto Fetch
  • Git Smart Commit
  • NPM Auto Detection
  • Extension Auto Updates
  • Telemetry
  • VS Code Experiments

πŸ–₯ Terminal Optimization

  • Disabled Shell Integration
  • Disabled GPU Acceleration
  • Smooth Scrolling Enabled
  • Cursor Blinking Enabled

πŸ“¦ Installation

  1. Open VS Code.
  2. Press:
       Ctrl + Shift + P
    
  3. Search:
    Preferences: Open User Settings (JSON)
    
  4. Paste the configuration.
  5. Save the file.
  6. Restart VS Code.

πŸ“‚ Configuration

{
// ========================
//   PERFORMANCE SETTINGS
// ========================

    "editor.renderWhitespace": "none",
    "editor.smoothScrolling": true,
    "editor.cursorBlinking": "smooth",
    "editor.wordWrap": "off",
    "editor.formatOnSave": false,
    "editor.codeLens": false,
    "workbench.editor.enablePreview": false,
    "workbench.statusBar.visible": true,

// ========================
//  TYPESCRIPT SPEED BOOST
// ========================

    "js/ts.tsserver.maxMemory": 4096,
    "js/ts.tsserver.experimental.enableProjectDiagnostics": false,
    "js/ts.preferences.includePackageJsonAutoImports": "off",

// =========================================
//  FILE WATCH / NODE_MODULES OPTIMIZATION
// =========================================

    "files.watcherExclude": {
        "**/node_modules/**": true,
        "**/.git/**": true,
        "**/dist/**": true,
        "**/.next/**": true,
        "**/build/**": true
    },

    "search.exclude": {
        "**/node_modules": true,
        "**/.next": true,
        "**/dist": true,
        "**/build": true
    },

    "files.exclude": {
        "**/node_modules": true,
        "**/.git": true
    },

// ===================
//  AUTO FEATURES OFF
// ===================

    "npm.autoDetect": "off",
    "npm.enableRunFromFolder": false,
    "git.enabled": false,
    "git.autofetch": false,
    "git.enableSmartCommit": false,
    "git.confirmSync": false,
    "extensions.autoUpdate": false,
    "extensions.autoCheckUpdates": false,

// ===================
//  EXTRA PERFORMANCE
// ===================

    "telemetry.telemetryLevel": "off",
    "update.mode": "none",
    "workbench.enableExperiments": false,
    "js/ts.updateImportsOnFileMove.enabled": "never",
    
// ===================
//  TERMINAL SETTINGS
// ===================

    "terminal.integrated.defaultProfile.windows": "PowerShell",
    "terminal.integrated.shellIntegration.enabled": false,
    "terminal.integrated.gpuAcceleration": "off",
    "terminal.integrated.smoothScrolling": true,
    "terminal.integrated.cursorBlinking": true,
}

🎯 Recommended For

  • Next.js Developers
  • React Developers
  • MERN Stack Developers
  • TypeScript Projects
  • Low-End PCs
  • HDD Users
  • Large Monorepos

πŸ“ˆ Expected Improvements

Area Improvement
Startup Time Faster
File Search Faster
Folder Open Speed Faster
RAM Usage Lower
CPU Usage Lower
Disk Usage Lower
TypeScript Responsiveness Faster
Large Project Handling Better

⚠️ Trade-Offs

These settings prioritize performance over convenience.

Disabled Features:

  • Auto Git Features
  • Extension Auto Updates
  • Telemetry
  • CodeLens
  • Some TypeScript Background Features

πŸ“Œ Note

This setup prioritizes performance over features. Some advanced VS Code features are intentionally disabled.

🀝 Contribution

Feel free to improve this setup and open a PR. πŸš€

⭐ If this helps you

Made by Sejin Ahmed.

Give it a ⭐ on GitHub and share it with other developers!

About

Ultimate VS Code performance settings for Next.js, React, TypeScript, and MERN stack development.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors