search
HomeDevelopment ToolssublimeProblems encountered when installing svn plug-in in Sublime Text3

今天我打算用一下sublime text3这个编辑器,据说它比较轻量级,同时很多快捷键用起来比较方便,所以我打算用用看,它和webstorm相比哪个更好用一些。

Problems encountered when installing svn plug-in in Sublime Text3

由于公司里项目管理是使用的svn,因此我打算在sublime text3上装一个svn插件,方便日后编程项目提交。

然而,这一切远没有我料想的简单,在安装svn插件的过程中,我遇到了一些棘手的问题。在网上搜了很多方法,大多只是讲解了最简单的问题和解决,对我的问题没有什么本质的帮助。在我耗费了一上午解决这个问题的过程中,我还算有所收获,至少了解了sublime text安装插件的大体流程是怎样的,最后努力没有白费,我终于成功的解决了。下面我就讲述一下我遇到的问题和解决方法:

一、如何安装sublime Text3 的svn插件:

1.在安装svn插件之前,需要先安装package control:

打开网站:https://packagecontrol.io/

点击 “Install now” 按钮

复制sublime Text3的对应代码

Problems encountered when installing svn plug-in in Sublime Text3

打开sublime text3,按快捷键:ctrl + ~ 打开控制台

将代码粘贴进去,按回车。会显示出一串数字表示package control安装成功。

2.安装svn插件

这时我们安好了package control,但是还没有安装svn插件,此时在 首选项——插件设置里面是看不到TortoiseSVN这一项的。

这时,我们点击快捷键:ctrl+shift+p打开package control,点击:Package Control:Install Package

会出现一个输入框(可以输入插件名称)和插件列表

我们在输入框内点击svn,windows系统选择:TortoiseSVN;Linux系统选择:SVN

然后会跳出一个文件,里边最重要的就是下边几句,说的是你要是默认安装的TortoiseSVN,则不需要更改直接可以使用,要是自定义的路径,则需要手动配置sublime text的svn插件路径,具体的配置文件在Preferences->Package Settings->TortoiseSVN->Settings - User

如我的路径是D:SVNbinTortoiseProc.exe

则在刚才打开的配置文件里边输入一下内容

{
// Auto close update dialog when no errors, conflicts and merges
"autoCloseUpdateDialog": false,
"tortoiseproc_path": "D:\\SVN\\bin\\TortoiseProc.exe"
}

注意,目录层之间用\分割而不是分割

这样就可以了。

二、sublime text 3 package Install 无法安装插件,总是跳出:

there are no packages available for installation

解决:我在找了无数个解决办法后,在知乎题目:

sublime text 3 package Install 无法安装插件 总出现如下问题怎么解决?

这篇文章里的一个叫做韩知辰的评论里找到了解决办法:

他是这么说的:

下载 Package Control.sublime-package

https://packagecontrol.io/Pac...

打开sublime3 -> 首选项 -> 浏览插件 (程序自动打开插件目录)删除 Package Control 目录,把刚下载的插件Package Control.sublime-package 复制过来关闭SUBLIME3 重新打开世界美好了、

作者:韩知辰

链接:https://www.zhihu.com/questio...

来源:知乎

著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

搞了一上午,完美解决,我爱这个人!

The above is the detailed content of Problems encountered when installing svn plug-in in Sublime Text3. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:segmentfault. If there is any infringement, please contact admin@php.cn delete
Sublime Text vs. VS Code: Features and FunctionalitySublime Text vs. VS Code: Features and FunctionalityMay 11, 2025 am 12:20 AM

SublimeText is suitable for developers who pursue speed and simplicity, while VSCode is suitable for users who need strong scalability and integration capabilities. 1.SublimeText is known for its lightweight and fast response, with GotoAnything and multi-select powerful. 2. VSCode is known for its scalability and IDE functions, with built-in Git and debugging tools, and IntelliSense improves development efficiency.

Sublime Text: The Power of Plugins and PackagesSublime Text: The Power of Plugins and PackagesMay 10, 2025 am 12:17 AM

SublimeText's plug-ins and packages can be installed and managed through PackageControl to improve programming efficiency. 1. Install plug-ins such as BracketHighlighter to simplify code reading by highlighting bracket matching. 2. Use SublimeLinter to configure pylint to implement real-time code checking. 3. Use SideBarEnhancements to customize the sidebar function to optimize file management.

Is Sublime Text Free? Understanding the LicensingIs Sublime Text Free? Understanding the LicensingMay 09, 2025 am 12:10 AM

SublimeTextisfreeduringanunlimitedtrial,buta$99licenseisrecommendedforregularuse.1)Thetrialallowsfullfeatureaccesswithouttimelimits.2)Alicenseoffersperpetualuse,futureupdates,andremovespurchasereminders,enhancingproductivityandsupportingdevelopers.

Sublime Text: Enhancing Your Coding WorkflowSublime Text: Enhancing Your Coding WorkflowMay 08, 2025 am 12:19 AM

SublimeText can greatly improve work efficiency. 1) Multiple selection and multicursor functions allow editing of multiple positions at the same time, 2) Command panel provides fast function access, 3) Macros and fragments can automate common operations, 4) Optimized configuration and shortcut key use can improve performance and efficiency.

Sublime Text: Free to Try, Not Necessarily Free to OwnSublime Text: Free to Try, Not Necessarily Free to OwnMay 07, 2025 am 12:02 AM

SublimeText offers a free trial, but ultimately requires a paid purchase for a permanent authorization. 1) During the free trial period, users can experience its functions, but they will receive a purchase prompt. 2) After purchase, users can use it permanently, no subscription fee, and access more plug-ins and themes.

Sublime Text: Comparing Paid and Unpaid FeaturesSublime Text: Comparing Paid and Unpaid FeaturesMay 06, 2025 am 12:07 AM

ThemaindifferencesbetweenthepaidandunpaidversionsofSublimeTextaretheremovalofstatusbarremindersandoccasionalpop-uppromptsinthepaidversion.1)Unregisteredversion:fullyfunctionalwithallcorefeatureslikesyntaxhighlighting,codecompletion,andcommandpalette,

Sublime Text: The Cost of a Powerful EditorSublime Text: The Cost of a Powerful EditorMay 05, 2025 am 12:04 AM

SublimeText is worth buying. 1) Its simple interface and powerful functions, such as multi-line editing and GotoAnything, improve development efficiency. 2) Rich plug-in ecosystem, such as Anaconda, enhances the development experience. 3) Although the price is $70, its performance and fluency are great value for professional developers.

Sublime Text: Code Completion, Syntax Highlighting, and MoreSublime Text: Code Completion, Syntax Highlighting, and MoreMay 04, 2025 am 12:04 AM

SublimeText is loved by developers for its powerful code completion and syntax highlighting capabilities. 1) Code completion can automatically prompt function names, variable names, etc. to improve programming efficiency. 2) Syntax highlighting distinguishes code elements through different colors to improve readability and error detection speed.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use