Next.js Auto 'use client' DirectiveNext.js Auto 'use client' Directive is a Visual Studio Code extension that automatically adds the "use client" directive to the beginning of your JavaScript and TypeScript files when it detects the usage of certain client-side hooks. Features
Requirements
InstallationYou can install Next.js Auto 'use client' Directive via the Visual Studio Code Marketplace or by downloading the VSIX file directly and installing it manually. UsageOnce installed, Next.js Auto 'use client' Directive will automatically detect client-side hooks usage in your JavaScript and TypeScript files. When it detects such usage, it will prompt you to add the "use client" directive. You can also trigger this manually using the command palette or keyboard shortcut. Commands
Keyboard Shortcuts
ContributingContributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request on the GitHub repository. LicenseThis extension is licensed under the MIT License. |