Resharper 和 TortoiseSVN

发布于 2024-07-04 06:07:22 字数 363 浏览 7 评论 0原文

当文件处于源代码控制并且 TortoiseSVN 是客户端时,有什么好的方法可以处理 Resharper 的类重命名重构。 我现在正在尝试 VisualSVN,但最近不需要重命名任何内容。 我不想只是为了尝试一下而更改我们的存储库。

也不确定仅此功能是否值得 VisualSVN 的成本。

更新: 我已经卸载了 VisualSVN 的试用版并尝试了 AhknSVN。 到目前为止我似乎提供了相同的功能。

我知道这听起来微不足道,但指标似乎缺乏一些功能,似乎它们不会滴落。 (如果项目中的文件不同,我认为项目指示器也会指示这一点。)我倾向于尽可能地滚动我的项目,因此很难判断哪些文件已更改,除非项目扩展。

Is there any good way to deal with the class renaming refactor from Resharper when the file is under source control and TortoiseSVN is the client. I have am trying VisualSVN right now but I haven't had the need to rename anything recently. I don't want to change our repository just to try this out.

Also not sure if this feature alone is worth the cost of VisualSVN.

Update: I have uninstalled the trial of VisualSVN and tried AhknSVN. I seems to provided the same functionality so far.

I know this my sound trivial but the indicators seem to be lacking some functionality, it seems like they don't trickle up. (If a file in the project is different I would think the project indicator would indicate this as well.) I tend to keep my projects rolled as much as possible, so it is hard to tell what files have changed unless the project is expanded.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

听,心雨的声音 2024-07-11 06:07:22

是时候对你的存储库进行分支了。 这是版本控制的好处,您可以创建新分支而无需汇总旧分支。

Time to branch your repository. That's the nice part about version control, you can create new branches without totaling the old ones.

半仙 2024-07-11 06:07:22

我发现 VisualSVN 非常物有所值。 使用 Tortoise 有很多方法可以做到这一点,但 VisualSVN 的集成非常好。 我之前曾尝试过像 Ankh 这样的 VS 集成工具,但没有留下深刻的印象。 V-SVN 确实提高了 IDE 与存储库的交互级别。

TortoiseSVN 中修复移动的快速技巧听起来也不错,我需要尝试一下。

另一个好处是:自从我有了 Visual SVN 以来,我还没有“忘记”将文件添加到存储库中。

I find VisualSVN to be well worth the money. There are ways to do it with Tortoise, but the integration of VisualSVN is very nice. I had tried over VS-integration tools before like Ankh and was not impressed. V-SVN has really upped the level of interaction with the repository from the IDE.

The quick trick in TortoiseSVN to fix the move sounds pretty nice as well, I need to try that out.

Another bonus: I've yet to "forgot" to add a file to the repository since I got Visual SVN.

山川志 2024-07-11 06:07:22

TortoiseSVN 1.5 在签入窗口上有一个巧妙的隐藏功能:

选择丢失的文件和新文件并右键单击。 选项之一是“修复移动”。

我倾向于重构,然后用它来修复名称已更改的任何文件。

TortoiseSVN 1.5 has a neat hidden feature on the check in window:

Select a missing file and a new file and right-click. One of the options will be "fix move".

I tend to refactor away, and then use this to fix any files where the name has changed.

七度光 2024-07-11 06:07:22

您确实应该检查 AnkhSVN 的 Free as in Beer 选项。 他们在 v2.x 中做了一些重大改进,当我在 Visual Studio 中进行 ReSharper 重构忍者动作时,我不再感到受到惩罚。

You should really check the Free as in Beer option of AnkhSVN. They made some major improvements in v2.x and I don't feel penalized anymore when doing ReSharper refactoring-ninja moves inside Visual Studio.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文