Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
<div align="center">

<img src="https://raw.githubusercontent.com/CodingWithCalvin/VS-ProjectRenamifier/main/resources/logo.png" alt="Project Renamifier Logo" width="256"/>

# 🔄 Project Renamifier

[![License](https://img.shields.io/github/license/CodingWithCalvin/VS-ProjectRenamifier?style=for-the-badge)](https://github.com/CodingWithCalvin/VS-ProjectRenamifier/blob/main/LICENSE)
[![Build](https://img.shields.io/github/actions/workflow/status/CodingWithCalvin/VS-ProjectRenamifier/build.yml?style=for-the-badge)](https://github.com/CodingWithCalvin/VS-ProjectRenamifier/actions/workflows/build.yml)

[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/CodingWithCalvin.VS-ProjectRenamifier?style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=CodingWithCalvin.VS-ProjectRenamifier)
[![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/CodingWithCalvin.VS-ProjectRenamifier?style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=CodingWithCalvin.VS-ProjectRenamifier)
[![Visual Studio Marketplace](https://img.shields.io/badge/VS%20Marketplace-Install-blue?style=for-the-badge&logo=visualstudio)](https://marketplace.visualstudio.com/items?itemName=CodingWithCalvin.VS-ProjectRenamifier)
[![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/r/CodingWithCalvin.VS-ProjectRenamifier?style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=CodingWithCalvin.VS-ProjectRenamifier)

> 🚀 **Rename projects the way it should have always worked!**
🚀 **Rename projects the way it should have always worked!**

Tired of the tedious, error-prone process of renaming a project in Visual Studio? Say goodbye to manual find-and-replace across dozens of files! **Project Renamifier** handles everything automatically — one click, one dialog, done! ✨

</div>

## ✨ Features

When you rename a project, this extension handles **all** of the following automatically:
Expand All @@ -26,11 +35,17 @@ When you rename a project, this extension handles **all** of the following autom

The extension shows a progress dialog with step-by-step status as it performs the rename operation, and includes error handling with rollback support if something goes wrong. 🛡️

## 📸 Screenshots

![Rename Dialog](https://raw.githubusercontent.com/CodingWithCalvin/VS-ProjectRenamifier/main/resources/rename-dialog.png)

![Progress Dialog](https://raw.githubusercontent.com/CodingWithCalvin/VS-ProjectRenamifier/main/resources/progress-dialog.png)

## 📥 Installation

### Visual Studio Marketplace (Recommended)

Install directly from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=CodingWithCalvin.VS-ProjectRenamifier) — just one click! 🎯
[![Install from VS Marketplace](https://img.shields.io/badge/Install%20from-VS%20Marketplace-purple?style=for-the-badge&logo=visualstudio)](https://marketplace.visualstudio.com/items?itemName=CodingWithCalvin.VS-ProjectRenamifier)

### Manual Installation

Expand All @@ -40,7 +55,7 @@ Install directly from the [Visual Studio Marketplace](https://marketplace.visual
## 🎮 Usage

1. 🖱️ Right-click on a project in Solution Explorer
2. 📋 Select **Rename Project (Renamify)**
2. 📋 Select **Renamify Project**
3. ✏️ Enter the new project name in the dialog
4. 🚀 Click **Rename** and watch the magic happen!

Expand All @@ -51,6 +66,10 @@ Install directly from the [Visual Studio Marketplace](https://marketplace.visual
| 🟢 Visual Studio 2022 (17.x) | x64 (amd64), ARM64 |
| 🟢 Visual Studio 2026 (18.x) | x64 (amd64), ARM64 |

## 📄 License

This project is licensed under the [MIT License](LICENSE).

## 🤝 Contributing

Contributions are welcome! Issues, PRs, feature requests — bring it on! 💪
Expand Down
Binary file removed resources/folder-icon.png
Binary file not shown.
Binary file added resources/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions resources/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions resources/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/progress-dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/rename-dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup>
<Content Include="..\..\resources\folder-icon.png" Link="Resources\folder-icon.png">
<Content Include="..\..\resources\icon.png" Link="Resources\icon.png">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="..\..\resources\logo.png" Link="Resources\logo.png">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ private RenamifyProjectCommand(Package package)
}

var menuCommandId = new CommandID(
PackageGuids.CommandSetGuid,
PackageIds.RenamifyProjectCommandId
VSCommandTableVsct.CommandSetGuid.Guid,
VSCommandTableVsct.CommandSetGuid.RenamifyProjectCommandId
);
var menuItem = new MenuCommand(Execute, menuCommandId);
commandService.AddCommand(menuItem);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
global using Microsoft.VisualStudio.Shell;
global using Microsoft.VisualStudio.Shell;
global using System;
global using Task = System.Threading.Tasks.Task;
using System.Runtime.InteropServices;
Expand All @@ -8,9 +8,9 @@
namespace CodingWithCalvin.ProjectRenamifier
{
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
[InstalledProductRegistration(Vsix.Name, Vsix.Description, Vsix.Version)]
[InstalledProductRegistration(VsixInfo.DisplayName, VsixInfo.Description, VsixInfo.Version)]
[ProvideMenuResource("Menus.ctmenu", 1)]
[Guid(PackageGuids.ProjectRenamifierString)]
[Guid(VSCommandTableVsct.ProjectRenamifierString)]
public sealed class ProjectRenamifierPackage : AsyncPackage
{
protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress<ServiceProgressData> progress)
Expand Down Expand Up @@ -49,4 +49,4 @@ protected override void Dispose(bool disposing)
base.Dispose(disposing);
}
}
}
}
32 changes: 0 additions & 32 deletions src/CodingWithCalvin.ProjectRenamifier/VSCommandTable.cs

This file was deleted.

8 changes: 4 additions & 4 deletions src/CodingWithCalvin.ProjectRenamifier/VSCommandTable.vsct
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable" xmlns:xs="http://www.w3.org/2001/XMLSchema">

<Extern href="stdidcmd.h"/>
Expand All @@ -7,15 +7,15 @@
<Commands package="ProjectRenamifier">
<Buttons>
<Button guid="CommandSetGuid" id="RenamifyProjectCommandId" type="Button">
<Icon guid="IconGuid" id="FolderIcon" />
<Icon guid="IconGuid" id="LightningBoltIcon" />
<Strings>
<ButtonText>Renamify Project</ButtonText>
</Strings>
</Button>
</Buttons>

<Bitmaps>
<Bitmap guid="IconGuid" usedList="FolderIcon" href="../../resources/folder-icon.png" />
<Bitmap guid="IconGuid" usedList="LightningBoltIcon" href="../../resources/icon.png" />
</Bitmaps>
</Commands>

Expand All @@ -33,7 +33,7 @@
</GuidSymbol>

<GuidSymbol name="IconGuid" value="{6a050d5f-fb67-4d45-b6fc-f6f2612aa8ad}">
<IDSymbol name="FolderIcon" value="1" />
<IDSymbol name="LightningBoltIcon" value="1" />
</GuidSymbol>
</Symbols>
</CommandTable>
18 changes: 0 additions & 18 deletions src/CodingWithCalvin.ProjectRenamifier/source.extension.cs

This file was deleted.