/vscode-antd-rush

⚡️ Rush to Ant Design in VS Code

Primary LanguageTypeScriptMIT LicenseMIT

Antd Rush

Rush to Ant Design in VS Code

Download from Visual Studio Marketplace

English | 中文

Feature

  • 💬 Show documentation for Ant Design component and props
  • ⚡️ Insert method handler automatically
  • ✨ Easy to upgrade with Ant Design
  • 🌐 Support Chinese and English documentation

Caveat

  • Currently used version of the Ant Design documentation is 3.26.4
  • @types/react is required to be installed in the project

Usage

Component props table hover hint

  • Hover on component and get component documentation hint
  • Jump to Ant Design documentation page via link

Props detail hover hint

Auto insert method handler

  • Trigger ! to auto insert handler with prefix # (default handle, it's configurable)
  • Trigger # to insert handler after inquiry input
  • No add TypeScript type annotation for now
  • class component insertion template is
this.handleMethod = () => {}
  • functional component insertion template is
const handleMethod = useCallback(() => {})

Contributing

See CONTRIBUTING

Roadmap

See #1

License

MIT