Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wix-incubator/vscode-extractor
Extract to Method VSCode Extension
https://github.com/wix-incubator/vscode-extractor
developer-tools devtools refactoring vscode vscode-extension
Last synced: 3 months ago
JSON representation
Extract to Method VSCode Extension
- Host: GitHub
- URL: https://github.com/wix-incubator/vscode-extractor
- Owner: wix-incubator
- License: mit
- Created: 2017-08-11T19:35:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T13:21:02.000Z (almost 2 years ago)
- Last Synced: 2024-10-24T06:30:07.773Z (4 months ago)
- Topics: developer-tools, devtools, refactoring, vscode, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 72.3 KB
- Stars: 12
- Watchers: 215
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Extractor VSCode Plugin
Adds support for "extract to method" to VSCode.
## NOTE: You should probably use the internal extract to function feature of VSCode
![Example Image](https://file-zvwanozdyl.now.sh/extract.gif)
## NOTE: This extension is in a WIP state
## Features
- Extract to Class Method
- Extract to Global Function
- Extract to Inline Function
- Detects which extraction strategy is relevant to the selected code
- Detects external parameters *and their types*## How to Use
Select some text and press `cmd+.`
## Known Issues
- Doesnt support extracting commands with the `await` keyword
## Unknown Issues
- Quite a bit (probably)### 0.3.0
Fix Typescript issue by upgrading to babel-template 7
### 0.2.0
Load Typescript/Flow by file type
### 0.1.0
Initial Release