设置 Atom config.cson 位置

发布于 2025-01-16 06:34:25 字数 127 浏览 4 评论 0原文

是否可以设置 Atom config.cson 位置,而不是使用默认的 ~/.atom/config.cson

或者至少能够在 config.cson 中使用项目相对路径?

Is it possible to set Atom config.cson location, instead of using the default ~/.atom/config.cson?

Or at least to be able to use project-relative paths in the config.cson?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

朦胧时间 2025-01-23 06:34:25

您最好的选择可能是使用 ATOM_HOME 环境变量。 .atom 文件夹是相对于该变量中定义的文件夹创建的。虽然这在您的日常工作流程中可能不太实用,但您可以通过编写脚本来自动化它。

进一步阅读:控制自定义的存储位置以简化您的工作流程

Your best bet is probably on the ATOM_HOME environment variable. The .atom folder is created relative to the folder defined in this variable. While this might not be too practical in your daily workflow, you can maybe automate it by writing a script.

Further reading: Controlling Where Customization is Stored to Simplify Your Workflow

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文