让Editplus和SVN集成

很多人用Editplus, 但是修改了文件后,需要切换到文件目录,点击鼠标右键使用TortoiseSVN的提交菜单项来提交,需要增加很多鼠标点击和确认的操作,对于频繁修改的文件来说,非常麻烦,今天研究了一番,找到个好的解决办法:

先下载 http://www.sliksvn.com/pub/Slik-Subversion-1.5.2-win32.msi 安装上,这是一个在windows上提供标准svn命令行的工具,使用默认安装到C盘的相应目录下即可。

然后把我下面的文件内容复制后保存为tool.ini,存放在editplus的安装目录下。

启动editplus,打开一个svn里面的文件,修改一下,然后按 CTRL+1 即可方便的提交, 按 CTRL + 2 即可更新当前文件,是不是非常方便? 呵呵,绝对的原创内容!
tool.ini文件内容:

[Tools\0]
Count=2
Text=Group 1
[Tools\0\0]
Text=SVN commit
Command=C:\Program Files\SlikSvn\bin\svn.exe
Argument=commit -m "" $(FilePath) --non-interactive
InitDir=$(FileDir)
RedirOut=1
Stdin=0
Plugin=0
Save=1
Pattern=0
Pattern Regex=
Close=0
Help=0
[Tools\1]
Count=0
Text=Group 2
[Tools\2]
Count=0
Text=Group 3
[Tools\3]
Count=0
Text=Group 4
[Tools\4]
Count=0
Text=Group 5
[Tools\5]
Count=0
Text=Group 6
[Tools\6]
Count=0
Text=Group 7
[Tools\7]
Count=0
Text=Group 8
[Tools\8]
Count=0
Text=Group 9
[Tools\9]
Count=0
Text=Group 10
[Tools\0\1]
Text=SVN update
Command=C:\Program Files\SlikSvn\bin\svn.exe
Argument=update $(FilePath)
InitDir=$(FileDir)
RedirOut=1
Stdin=0
Plugin=0
Save=1
Pattern=0
Pattern Regex=
Close=0
Help=0
Category: 其他技术  Tags: ,
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
17 Responses
  1. heng says:

    o(∩_∩)o… 学到了

  2. kevin says:

    最近比较忙,好几天没来了,看到有更新了几篇,先提前祝Michael及所有的博友中秋快乐。

  3. cross stitch says:

    好久没来,谢谢,学习.

  4. Michael says:

    谢谢三位朋友的捧场,欢迎常来,保持联络 🙂

  5. xiaosa says:

    – – 我试了,貌似不行? 不知啥原因……
    btw:我同时也装了TortoiseSVN

    ———- SVN-Commit ———-

    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application’s support team for more information.

    输出完毕 (耗时 9 秒)

  6. xiaosa says:

    呵..找到原因了。看来还需要小小改进…

    在 $(FilePath) 加上引号… “$(FilePath)” ,否则
    当遇到提交地址中有空格时命令行就会断开,就挂了…

  7. Pingback: 吃饭去
  8. 短信群发 says:

    试试看哦

  9. tankuan says:

    完成后,重新启动,编辑完成后,按ctrl+1,没有什么反应,不知为什么,编辑的是SVN中的文件啊。谢谢!!

  10. 爱蝌蚪 says:

    不错,难道见到editplus和SVN结合的文章,收藏之

  11. 关键是SVN命令的使用

  12. 安卓伴侣 says:

    editplus的自定义命令非常强大,别说集成SVN,集成MS SQLServer也不是问题

  13. ifans says:

    非常好,感谢分享。原来editplus也可以这样用的唆……

  14. 很不错,thanks for sharing!

  15. 新号外 says:

    支持原创。。。。。

  16. 怿祺 says:

    那这样 editplus 是不是就可以取代Myeclipse了?

  17. minecraft says:

    Great article. I am going through a few of these issues
    as well..

  18. minecraft says:

    Thanks for the good writeup. It in truth was once a enjoyment account it.
    Glance complicated to far brought agreeable from you! However, how can we
    communicate?

  19. minecraft says:

    Hi mates, its great paragraph about tutoringand entirely defined,
    keep it up all the time.

  20. minecraft says:

    Heya i’m for the first time here. I found this board and I find It really useful & it helped me out a lot.
    I hope to give something back and aid others like you helped me.

  21. Thanks designed for sharing such a nice idea, article is fastidious, thats
    why i have read it completely

  22. I appreciate, result in I found just what I used to be taking a look for.
    You’ve ended my 4 day long hunt! God Bless you man. Have a nice day.

    Bye

  23. I savor, cause I discovered exactly what I used to be taking a look for.
    You have ended my 4 day long hunt! God Bless you man. Have a
    great day. Bye

  24. Hey there! I could have sworn I’ve been to
    this blog before but after browsing through some of the post I realized it’s
    new to me. Nonetheless, I’m definitely delighted
    I found it and I’ll be book-marking and checking
    back frequently!

  25. 企业宣传片制作公司_公司宣传片拍摄_产品宣传片拍摄_企业宣传片策划_影视制作报价企业宣传片制作lanshipin.com影视视频制作公司QQ1826818268
    公司宣传片拍摄lanshipin.com企业宣传片拍摄公司QQ1826818268 [url=http://www.lanshipin.com/]公司宣传片拍摄lanshipin.com企业宣传片拍摄公司QQ1826818268[/url]

  26. Hi there, just became alert to your blog through Google,
    and found that it’s really informative. I am going to watch
    out for brussels. I’ll appreciate if you continue this in future.
    Lots of people will be benefited from your writing. Cheers!

  27. Hi there very nice web site!! Man .. Beautiful
    .. Amazing .. I will bookmark your site and take the feeds additionally?
    I am happy to seek out a lot of useful info right here in the publish,
    we need work out extra strategies in this regard, thanks for
    sharing. . . . . .

  28. I really like what you guys are up too. This type of clever work and coverage!
    Keep up the terrific works guys I’ve incorporated you guys to our blogroll.

  29. Descargar facebook http://twitter.com/descargar_hq descargar facebook
    Hi I am so delighted I found your weblog, I
    really found you by mistake, while I was researching on Bing for something else,
    Anyhow I am here now and would just like to say thank you for a fantastic
    post and a all round entertaining blog (I
    also love the theme/design), I don’t have time to go through it
    all at the moment but I have bookmarked it and
    also included your RSS feeds, so when I have time I will be back to read
    much more, Please do keep up the fantastic work.

    Descargar facebook http://twitter.com/descargar_hq descargar facebook

  30. Sling TV says:

    It’s in point of fact a great and useful piece of information. I am glad
    that you simply shared this helpful info with us. Please keep us up to date like this.
    Thank you for sharing.

  31. Interesting blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple adjustements would
    really make my blog jump out. Please let me know where you got your design. With thanks

  32. Do you have a spam issue on this blog; I also am
    a blogger, and I was wanting to know your situation; many of us have developed some nice procedures and we are looking to exchange techniques with other folks, why not shoot me an email if
    interested.

  33. Admiring the commitment you put into your blog and in depth information you provide.
    It’s nice to come across a blog every once in a while
    that isn’t the same outdated rehashed material. Fantastic read!
    I’ve bookmarked your site and I’m including your RSS feeds to my Google account.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image