虽然通常我使用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中获取当前版本号?
发布评论