在Subclipse中获取当前版本号?

编程入门 行业动态 更新时间:2024-10-09 20:27:40
本文介绍了在Subclipse中获取当前版本号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

虽然通常我使用SVN的Subversive插件(Eclipse),我已经决定尝试Subclipse,这似乎更受欢迎,更好的记录。

我认为Subversive是理所当然的修改号。使用Subversive,这在菜单旁边显示得非常清楚:

MyProject 43 [code.google。 ..]

Subversive有点不同,修订版号无处可见:

MyProject [foo / trunk]

如何在Subclipse中显示修订号?这是我来的依赖...

解决方案

刚刚下载并安装了最新的Subclipse 1.6.2在我的伽利略eclipse3 .5RC4。

在 Windows>首选项>团队> SVN>标签装饰: / p>

TabText

添加 {revision} 到项目格式行:

{dirty_flag} {name} {revision} [{url_short}]

这将使项目正确显示为:

MyProject 43 [https://code.google ...]

另请参阅这个帮助页面,虽然最新的1.6.2插件更改了其偏好设置:

While normally I use the Subversive plugin (Eclipse) for SVN, I've decided to try Subclipse, which seems to be more popular and better documented.

Something I've taken for granted from Subversive is the current revision number shown. With Subversive, this is shown very clearly next to the menu:

MyProject 43 [code.google...]

Subversive is a bit different and the revision number is nowhere to be seen:

MyProject [foo/trunk]

How can I get the revision number to be shown in Subclipse? It's something I've come to rely on..

解决方案

Just downloaded and installed the latest Subclipse 1.6.2 in my Galileo eclipse3.5RC4.

In "Windows > Preferences > Team > SVN > Label decorations":

Tab "Text"

Add {revision} to the "Project Format" line:

{dirty_flag}{name} {revision} [{url_short}]

That would get the project to be displayed exactly as:

MyProject 43 [code.google...]

See also this help page, although the latest 1.6.2 plugin has changed a bit its preferences display:

更多推荐

在Subclipse中获取当前版本号?

本文发布于:2023-11-12 02:18:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580223.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:版本号   Subclipse

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!