Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>refactor-sguNew to Visual Studio Code? Get it now.
refactor-sgu

refactor-sgu

Gallalou

|
10 installs
| (0) | Free
An extension to use inline function and create subclass
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Refactor-sgu

This is an extension to use inline functions and methods and create subclass when refactoring

Refactor-SGU Extension

This extension allows developers to perform inline functions and methods, similar to IntelliJ editor, and also supports subclass creation during refactoring.

Features

  • Inline functions and methods (only on the same file right now)
  • Create subclasses during refactoring

Installation

  1. Click on the Extensions icon (usually on the left-hand side of your editor).
  2. Search for "Refactor-sgu".
  3. Find the extension in the list and click the install button.

Usage

  1. Open a JavaScript or TypeScript file.
  2. Select the code you want to refactor.
  3. Clic ALT + Shift + P and type 'inline Function' or 'Create Subclass' to choose the refactor method you want to use.

Contributing

  1. Clone Git repository.
  2. Create a new branch:
     git checkout -b my-feature-branch
    
  3. Make your changes and commit them:
     git commit -m "Description of changes"
    
  4. Push to the branch:
     git push origin my-feature-branch
    
  5. Create a pull request.

License

This project is licensed under the MIT License.

Acknowledgements

  • Thanks to the Visual Studio Code team for their excellent documentation and samples.
  • Special thanks to the contributors of this project.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft