coc-react-refactor

0.5.0 • Public • Published

coc-react-refactor

React refactor extension for coc.nvim, forked from vscode-react-refactor.

This extension is sponsored by @James Zhang for developing, thank you.

coc-react-refactor

Install

:CocInstall coc-react-refactor

Usage

xmap <leader>a  <Plug>(coc-codeaction-selected)
nmap <leader>a  <Plug>(coc-codeaction-selected)

Configuration

  • react-refactor.produceClass: Create a class-based component, will create a function component when disabled, only works for Extract to file, default true

License

MIT


This extension is created by create-coc-extension

Readme

Keywords

Package Sidebar

Install

npm i coc-react-refactor

Weekly Downloads

21

Version

0.5.0

License

MIT

Unpacked Size

3.66 MB

Total Files

4

Last publish

Collaborators

  • fannheyward