wix-incubator / vscode-glean

The extension provides refactoring tools for your React codebase
MIT License
1.46k stars 56 forks source link

JetBrains WebStorm integration #76

Open ShayNehmad opened 5 years ago

ShayNehmad commented 5 years ago

Any chance this will be a plugin for WebStorm anytime soon?

borislit commented 5 years ago

Hey @ShayNehmad ! Glad You like the plugin. I'm looking for someone to champion the webstrom integration. There have been plenty of demand for it. The refactoring engine it self (the one that receives the input code and outputs refactored code) is pretty much decoupled from VScode already. If you are up or the challenge, I'd love complete the decoupling into a separate package and all You'll have to do is wrap it with Webstrom's API. Basically you'll need to implement the core's integration with the IDE i.e Open File panel, save file etc. I'd love to asssit. WDYT?

ShayNehmad commented 5 years ago

Not soon, sorry. But thanks for asking. I'm putting this on my "project I really want to do" backlog and who knows 🤔

szamanr commented 2 years ago

is there any update on this? or does anyone know a good jetbrains (webstorm, pycharm) alternative?

dahei commented 2 years ago

My current version of PhpStorm 2021.3.2 has this feature built-in (so WebStorm should have it already):

CleanShot 2022-03-03 at 17 27 26@2x
devsebastian commented 2 years ago

Webstorm now officially supports this, you can select the elements you want to extract, right-click to open context menu and then select Refactor > Extract Component