Where is the encoding of sublime settings file?

下次还敢
Release: 2024-04-03 15:45:20
Original
691 people have browsed it

Sublime Text settings file encoding location: Windows: C:\Users{username}\AppData\Roaming\Sublime Text 3\Packages\User\Preferences.sublime-settingsmacOS: ~/Library/Application Support/Sublime Text 3/Packages/User/Preferences.sublime-settingsLinux:~/.config/sublime-text-3/Packages/

Where is the encoding of sublime settings file?

Sublime Text Settings File encoding location

Sublime Text’s setting file encoding is located at:

  • Windows:"C:\Users\{username}\AppData\Roaming\Sublime Text 3\Packages\User\Preferences.sublime-settings"
  • macOS:~/Library/Application Support/Sublime Text 3/Packages/User/Preferences.sublime-settings
  • Linux:~/.config/sublime-text-3/Packages/User/Preferences.sublime-settings

Read settings file

To read the settings file, open Sublime Text and use the following shortcut keys:

  • Windows:CtrlShiftP
  • macOS:CmdShiftP
  • Linux:CtrlShiftP

Then enter"Preferences: Open Settings - User"and pressEnter. This will open thePreferences.sublime-settingsfile.

Set Encoding

To set the file encoding, find the"encoding"setting and change it to the desired encoding. For example, to set the encoding to UTF-8, you would add the following line:

"encoding": "utf-8"
Copy after login

Save changes

After setting the encoding, savePreferences.sublime-settingsdocument. Sublime Text will reload settings with the new encoding.

The above is the detailed content of Where is the encoding of sublime settings file?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!