Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>react-definitionNew to Visual Studio Code? Get it now.
react-definition

react-definition

chris yeh

|
4,440 installs
| (0) | Free
Very lightweight language support for react definitions. When using @ and dynamic path resolving to import a module, it's helpful if you want to go to the definition of it.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

react-definition README

Very lightweight language support for react definitions.

Features

When using @ and dynamic path resolving to import a module, it's helpful if you want to go to the definition of it.

Tip: Go to definition.

Requirements

Nothing

Extension Settings

Include if your extension adds any VS Code settings through the contributes.configuration extension point.

For example:

This extension contributes the following settings:

  • There must exists config/default.js and params named alias like these:
alias: {
  '@root': __ROOT,
  '@client': __CLIENT,
  '@server': path.join(__ROOT, 'server'),
  '@subpage': path.join(__CLIENT, 'subpage'),
  '@app': path.join(__dirname, '../client'), // backward compatible
  '@lib': path.join(__dirname, '../lib'),
  '@turbo': path.join(__ROOT, 'turbo'),
  '@component': path.join(__CLIENT, 'component'),
  '@styles': path.join(__CLIENT, 'styles'),
  '@utils': path.join(__CLIENT, 'utils'),
  '@thrift': path.join(__ROOT, 'server', 'thrift', 'dist'),
  '@thriftService': path.join(__ROOT, 'server', 'thriftService'),
},

Release Notes

0.0.1

Initial release of ...


For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy!

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