gpt4 book ai didi

sublimetext2 - 如何关闭 Sublime Text 2 中某些文件的删除空格?

转载 作者:行者123 更新时间:2023-12-04 14:46:32 25 4
gpt4 key购买 nike

我有一个选择 trim_trailing_white_space_on_save打开。对于某些文件,我应该防止删除尾随空格,因为它们很重要。

如何删除某些文件的这种行为,例如*.dat?

最佳答案

您是否已经尝试为该特定扩展创建一个配置文件并放置 trim_trailing_white_space_on_save = false ?

Settings Files

Settings files are consulted in this order:

  1. Packages/Default/Preferences.sublime-settings
  2. Packages/Default/Preferences (< platform >).sublime-settings
  3. Packages/User/Preferences.sublime-settings
  4. < Project Settings >
  5. Packages/< syntax >/< syntax >.sublime-settings
  6. Packages/User/.sublime-settings
  7. < Buffer Specific Settings >

In general, you should place your settings in Packages/User/Preferences.sublime-settings.

If you want to specify settings for a certain file type, for example, Python, you should place them in Packages/User/Python.sublime-settings.



http://www.sublimetext.com/docs/2/settings.html

关于sublimetext2 - 如何关闭 Sublime Text 2 中某些文件的删除空格?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16983328/

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