gpt4 book ai didi

macos - 如何使用 Dropbox 同步我的 Sublime Text 3 设置?

转载 作者:行者123 更新时间:2023-12-02 06:08:14 24 4
gpt4 key购买 nike

我想使用 Dropbox 在多台计算机上同步 Sublime Text 3 的设置。

我应该如何设置?

最佳答案

我已经在多个位置之间同步我的 Sublime 设置一段时间了,所有位置都运行 OS X。我遇到了一些小问题。最后,我决定研究一下,这让我找到了我认为如何使用 Dropbox 在多台计算机之间同步 Sublime 设置的权威描述:

Sublime Package Control > 文档 > 同步
<强> https://sublime.wbond.net/docs/syncing

以下是基本摘要:

To properly sync your installed packages across different machines, you actually do not want to sync the whole Packages/ and Installed Packages/ folders. The reason for this is that some packages have different versions for different operating systems. By syncing the actual package contents across operating systems, you will possibly run into broken packages.

The proper solution is to:

  1. Install Package Control on all machines
  2. Then to sync only the Packages/User/ folder.

This folder contains the Package Control.sublime-settings file, which includes a list of all installed packages. If this file is copied to another machine, the next time Sublime Text is started, Package Control will install the correct version of any missing packages.

要同步文件夹,通常将 Packages/User/ 移至 Dropbox 并从 Sublime Text 3/Packages/ 创建指向它的符号链接(symbolic link)。通过上面的链接提供了各种操作系统的详细说明。

关于macos - 如何使用 Dropbox 同步我的 Sublime Text 3 设置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18190211/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com