Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>vscode-oatNew to Visual Studio Code? Get it now.
vscode-oat

vscode-oat

Oren Aksakal

|
1,910 installs
| (0) | Free
Auto transformation from object attribute accesses to exception free (nullable) object attribute accesses. e.g. && chain.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-oat

Auto transformation from object attribute accesses to exception free nullable object attribute accesses. e.g. && chain.

Example

vscode-oat

Extension Settings

Only && chain is available by 1.0.0 as it seems to be most optimal solution https://jsperf.com/nullableobjectpropertiesaccessor

Possible additional options:

  • Ternary operator
  • Elvis like
  • try catch

Release Notes

Major and minor release change log

1.0.0

Initial release of vscode-oat

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft