Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>toMosNew to Visual Studio Code? Get it now.
toMos

toMos

youjiti-w

|
24 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

跳转到effects或者reducers的定义处

此功能适用于所有基于dva构建的js/ts前端项目

-------

方式一:光标放置在一个dispatch的type字符串 type: 'marketGoodsModal/list' 上 如果光标在斜杠前部分按住Command键,点击跳转到namespace定义处, 如果光标在斜杠后部分按住Command键,点击跳转到effects或者reducers的定义处

方式二:光标选中一个dispatch的type字符串 type: 'marketGoodsModal/list' 这一行 右键唤出菜单点击“跳转到models文件”选项

方式三:光标选中一个dispatch的type字符串 type: 'marketGoodsModal/list' 这一行 ctrl+m

-------

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