Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Add Null ChecksNew to Visual Studio Code? Get it now.
Add Null Checks

Add Null Checks

Shivansh Shrivastava

|
5 installs
| (0) | Free
Automatically checks for missing optional chaining in TypeScript files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

addnullchecks

This is the README for extension "addnullchecks". Install it and see yellow wiggly lines under your null checks!

Features

  • Scans .ts and .tsx files automatically.
  • Shows wiggly lines (diagnostics) for potential null reference errors.
  • Supports PropertyAccessExpression, ElementAccessExpression, and CallExpression.

Usage

Just install the extension. It will run automatically in all TypeScript and TSX files you open.

Requirements

  • VS Code 1.99.0 or later

Extension Settings

This extension doesn't require any configuration.

Known Issues

  • Doesn't autofix or insert optional chaining (read-only diagnostics for now).
  • May produce false positives in some advanced TypeScript patterns.

Release Notes

0.0.1

  • Initial release of Add Null Checks
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft