Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>React Hook FormNew to Visual Studio Code? Get it now.
React Hook Form

React Hook Form

Symartec LTD.

|
2 installs
| (0) | Free
See register and Controller fields beside the Zod or Valibot resolver, and catch a name that is in only one of them.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

React Hook Form

Fields and the resolver schema, side by side. The extension reads register(), <Controller>, and useController(), then compares those names with the object passed to zodResolver or valibotResolver.

What you can do

  • See every field in the React Hook Form sidebar. Click one to open it.
  • A warning appears when a field is not in the schema, and when a schema key has no field.
  • The CodeLens on a field jumps to the matching schema key.
  • address.city counts as the address key.
  • A schema const in the same file is followed. An export const schema in another file is followed when the name is unique.
  • Snippet: rhf.

It stays quiet until a package.json in the workspace depends on react-hook-form. Nothing is sent out of the editor.

Settings

Setting Default
reactHookForm.codeLens on Links a field to its schema key.
reactHookForm.diagnostics.unknownField on Warns when a field is missing from the schema.
reactHookForm.diagnostics.unusedSchemaKey on Warns when a schema key has no field. Turn this off if fields are rendered in a loop.

Commands

Open the Command Palette and type React Hook Form.

  • React Hook Form: Refresh — rescan after adding the dependency.
  • React Hook Form: Focus Fields
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft