salah-alhajj / angular-renamer

The Angular Renamer extension for Visual Studio Code is designed to simplify the process of renaming Angular components, pipes, directives, and services. This extension automatically renames all associated files and classes, ensuring consistency across your project and saving you valuable time and effort.
Other
0 stars 0 forks source link

๐Ÿš€ Angular Renamer Extension for Visual Studio Code

Angular VS Code TypeScript

Visual Studio Marketplace Version Downloads Rating

๐Ÿ“– Overview

Welcome to the Angular Renamer extension for Visual Studio Code โ€“ your ultimate companion for effortless refactoring in Angular projects! ๐ŸŽ‰

Are you tired of the tedious process of manually renaming components, services, and other Angular entities? Say goodbye to the hassle! Angular Renamer is here to revolutionize your development workflow, providing lightning-fast, error-free renaming with just a few clicks. Demo

โœจ Features That Will Make You Smile

๐Ÿ”„ Intelligent Automatic Renaming

๐Ÿง  Smart Class Name Updates

๐Ÿ” Project-Wide Import Path Correction

โšก Lightning-Fast Performance

๐Ÿ›ก๏ธ Error Prevention

๐Ÿ—๏ธ Architectural Marvel: Our Project Structure

Dive into the well-organized structure that powers Angular Renamer:

src/
โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ components_handlers.ts  // Component-specific logic
โ”‚   โ”œโ”€โ”€ handlers.ts             // Main component renaming orchestrator
โ”‚   โ”œโ”€โ”€ index.ts                // Convenient exports
โ”‚   โ””โ”€โ”€ renamers.ts             // File and folder renaming utilities
โ”œโ”€โ”€ general/
โ”‚   โ”œโ”€โ”€ checker.ts              // Entity type identification
โ”‚   โ”œโ”€โ”€ handlers.ts             // Generic renaming logic
โ”‚   โ”œโ”€โ”€ index.ts                // Unified exports
โ”‚   โ””โ”€โ”€ utilities.ts            // Shared helper functions
โ”œโ”€โ”€ settings/
โ”‚   โ”œโ”€โ”€ settings.interface.ts              // Contain Settings ibterface 
โ”‚   โ”œโ”€โ”€ index.ts                // Unified exports and handle function
โ”‚   โ””โ”€โ”€ utilities.ts   
โ””โ”€โ”€ extension.ts                // Entry point of the extension

๐Ÿ› ๏ธ The Magic Behind the Scenes

๐Ÿงฉ Components Module

๐Ÿ”ง General Module

๐Ÿš€ Blasting Off: Getting Started

๐Ÿ”ง Installation in 3... 2... 1...

  1. Launch your trusty Visual Studio Code
  2. Navigate to the Extensions view (it's the block-looking icon in the sidebar)
  3. Search for "Angular Renamer" in the marketplace
  4. Click that shiny "Install" button and watch the magic happen!

๐ŸŽฎ Usage: As Easy as 1-2-3!

  1. Spot the Angular entity you want to rename in the Explorer view
  2. Right-click and select "Rename" (or use the F2 shortcut for the keyboard ninjas)
  3. Type the new name and hit Enter โ€“ then sit back and watch Angular Renamer work its magic!

โš™๏ธ Customization: Make It Yours!

While Angular Renamer works wonders out of the box, we know you love to tinker. Here are some ways to customize your experience:

To access these settings:

  1. Open VS Code settings (File > Preferences > Settings)
  2. Search for "Angular Renamer"
  3. Tweak to your heart's content!

๐Ÿ” Troubleshooting: We've Got Your Back!

Running into a hiccup? No worries! Try these steps:

  1. Check the Output Panel: Look for the "Angular Renamer" output channel for detailed logs
  2. Verify File Permissions: Ensure VS Code has write access to your project files
  3. Restart VS Code: Sometimes, the old "turn it off and on again" works wonders!
  4. Update the Extension: Make sure you're running the latest version for all the newest fixes

Still stuck? Don't hesitate to reach out to our support team!

๐Ÿค Join the Angular Renamer Community!

๐Ÿ› Found a Bug? Have a Brilliant Idea?

We love hearing from you! Head over to our GitHub Issues page to:

๐ŸŒŸ Want to Contribute?

Awesome! We're always looking for fellow developers to make Angular Renamer even better:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Check out our Contribution Guidelines for more details.

๐Ÿ“œ License

Angular Renamer is proudly open source, licensed under the MIT License. See the LICENSE file for the full legal text.

๐Ÿ“ž Get in Touch

Questions? Suggestions? Just want to say hi? We'd love to hear from you!


Angular Renamer Logo

๐Ÿ˜œ๐Ÿคฉ May your Angular coding time be happy and crazy ๐Ÿคฉ๐Ÿ˜œ

Empowering developers to focus on what matters most โ€“ building amazing Angular applications! ๐Ÿš€

Made with โค๏ธ by developers, for developers.