让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.

  34. minecraft says:

    Excellent pieces. Keep writing such kind of information on your site.
    Im really impressed by your site.
    Hi there, You have performed a fantastic job. I’ll definitely digg
    it and personally suggest to my friends. I’m sure they’ll be benefited from this site.

  35. tinyurl.com says:

    Hi there, I found your site by means of Google while searching for a comparable topic, your web
    site got here up, it seems good. I have bookmarked it in my google bookmarks.

    Hi there, simply become alert to your weblog through Google, and located that it’s truly informative.
    I am going to watch out for brussels. I will be grateful should you continue this in future.
    Numerous other people can be benefited out of
    your writing. Cheers!

  36. minecraft says:

    I blog quite often and I genuinely thank you for your content.
    The article has really peaked my interest.
    I will bookmark your blog and keep checking for new details about once per week.

    I subscribed to your Feed too.

  37. minecraft says:

    Incredible quest there. What occurred after? Thanks!

  38. minecraft says:

    Its not my first time to pay a quick visit this
    site, i am browsing this site dailly and take nice facts from
    here every day.

  39. tinyurl.com says:

    It’s the best time to make some plans for the long run and it’s time to be happy.
    I have read this submit and if I could I want to suggest you few attention-grabbing issues
    or tips. Maybe you could write subsequent articles regarding this article.
    I want to learn even more issues approximately it!

  40. minecraft says:

    This is my first time pay a visit at here and i am actually
    happy to read all at one place.

  41. Hi outstanding blog! Does running a blog like this take a great deal of work?
    I’ve very little knowledge of computer programming however I was
    hoping to start my own blog soon. Anyway, should you
    have any ideas or techniques for new blog owners please share.
    I know this is off topic but I simply wanted to ask. Thanks!

  42. Thanks very nice blog!

  43. g says:

    If some one needs expert view concerning blogging then i advise him/her to go to see
    this blog, Keep up the nice work.

  44. Heya i am for the first time here. I found this board and
    I in finding It truly useful & it helped me out a lot.

    I am hoping to provide one thing back and aid others such as
    you aided me.

  45. Tremendous things here. I am very happy to see
    your article. Thanks so much and I am having a look ahead to touch you.

    Will you please drop me a e-mail?

  46. Hi there i am kavin, its my first occasion to commenting anywhere, when i read this
    post i thought i could also make comment due to this good
    paragraph.

  47. Asking questions are actually pleasant thing if you are
    not understanding anything fully, except this article
    provides nice understanding yet.

  48. Do you have a spam problem on this website; I also am a blogger, and I was
    wondering your situation; many of us have created some
    nice practices and we are looking to exchange solutions with other folks, please shoot me an e-mail if interested.

  49. Hi, after reading this remarkable article i am as well delighted to share my familiarity here with mates.

  50. This is really interesting, You’re an excessively skilled blogger.
    I’ve joined your rss feed and sit up for in search of extra
    of your wonderful post. Additionally, I’ve shared your web site in my social networks

  51. Howdy! This article couldn’t be written much better!
    Looking through this article reminds me of my previous roommate!

    He continually kept talking about this. I’ll forward this article to him.
    Fairly certain he will have a very good read. Thank you for sharing!

  52. Thanks , I have just been looking for information approximately this subject for ages
    and yours is the best I’ve found out so far. But, what in regards to the
    bottom line? Are you sure concerning the source?

  53. Hi! I’ve been following your site for a long time
    now and finally got the courage to go ahead and give you a shout out from Austin Texas!
    Just wanted to tell you keep up the excellent job!

  54. Pingback: 제주룸싸롱
  55. I delight in, cause I discovered exactly what I was looking for.
    You have ended my four day lengthy hunt! God Bless you man. Have a great
    day. Bye

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