Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Toggle Use ClientNew to Visual Studio Code? Get it now.
Toggle Use Client

Toggle Use Client

Hatem Bayoudh

|
5 installs
| (5) | Free
An extension to toggle use client at the beginning of your file.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🚀 Toggle Use Client

A simple VS Code extension to toggle "use client" at the top of your file. Comes with Add and Remove commands too — cuz why not 😏


📦 Commands

  • Use Client: Toggle
  • Use Client: Add
  • Use Client: Remove

⚡ TL;DR

Hit Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows/Linux and type use client.

Or better yet, set your keybinds and you're good to go. 💪


🎯 Example Keybinding Setup (Because You're Totally Not a Pro Yet)

// keybindings.json
[
  {
    "key": "alt+c",
    "command": "toggleuseclient.toggle",
    "when": "editorTextFocus"
  }
]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft