sublime text 3 error trying to parse file : unexpected character, expected a comma or closing bracket in Packages\User\Default
when I put this code in my Default (Windows).sublime-keymap. Sublime text 3 report an error just like the title said. I don’t know how to deal with that. Please help me. Thanks a lot.
![]()
1 Answer 1
-
The Overflow Blog
Related
Hot Network Questions
Subscribe to RSS
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.3.11.43304
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
Ошибку unexpected character, expected a comma or closing bracket в sublime text как исправить?
При запуске программы sublime text выбивает ошибку, как исправить ?
Error tring to parse settings : Unexpected character , expected a comma or closing bracket in Packages/ User / Preferences . sublime-setting:6:1
Похожие вопросы
- Не работает tab+! — файл в html. как исправить?
- Не могу создать разметку emmet
- Installation package controll?
- Ошибка при установке темы ayu для Sublime Text 3 — The package A File Icon is not available.
- Вопрос по базовой разметке HTML (А точнее задания)
- Установка package control
- У меня при установки emmet появляется ошибка как исправить?
- Как в subllime text 3 открыть левую панель с папками?
- Привет не устанавливается еммет как узнать причину?
- Отсутствует ссылка install package control в sublime text 3. где ее можно найти?
5 ответов
- Все вопросы
- Старые
- Голоса
Вы пропустили где-то скобку > или запятую не поставили в файле настроек sublime. Проверяйте или сюда прикрепите текстом конфиг, я посмотрю где ошибка
Выбило новую ошибку
Error trying to parse settings: Expected character in Pakages/ User / Preferences.sublime-settings:5:3
Я только учусь , подскажите как это сделать ?
Нужно зайти в User / Preferences в сублим текст и скопировать текст из этого файла, потом нужно этот текст ответом на вопрос вставить.
«Unexpected Character» error highlighting won’t go away. #139
I get these errors anytime I expand a snippet of mine (using Sublime’s native snippets):


I wasn’t sure if Emmet was the source of these errors popups, but they cease to appear when I disable Emmet and return when I re-enabled. I combed through the settings to see if I could turn these off, but couldn’t find one. I don’t really want them at all. how can I suppress these?
unexpected character sublime text 3 что это
Sublime text won’t open error to parse settings:unexpected trailing characters in packages
Sublime text is not opening. I keep getting this error:

When I click OK nothing happens, and when I click Ctrl + Shift + Esc and take away sublime this message comes up again.
I haven’t found a solution on the internet that works. I cannot find preferences or sublime-settings in the packages.


3 Answers 3
The error message you’re seeing isn’t offering to help you solve the problem, it’s telling you where the problem exists. Thus clicking OK dismisses the dialog but leaves the problem behind, so it recurs when you restart Sublime.
In order to fix the problem you need to fix the file that it’s telling you about. The Packages folder can be found by using Preferences > Browse Packages if you’re on Windows or Linux or Sublime Text > Preferences > Browse Packages if you’re on MacOS.
Note that the folder that this opens is not the folder that Sublime Text is installed into (which also happens to contain a folder named Packages ). That folder contains only sublime-package files that ship with Sublime to provide default functionality.
The location that this opens is a folder named Packages that is either stored somewhere in your home directory (which is platform specific) or, in the specific case of the Portable Version of Sublime Text, a folder inside of the portable install (but still not the Packages in the top level).
This command exists because the folder that Sublime uses is generally hidden from casual observation by your operating system, making it harder to find if you don’t know where to look.
From there you can enter the package that’s causing the problem ( User) and open the file with the issue ( Preferences.sublime-settings ) in order to fix it.
The two numbers displayed at the end of the file name ( 12:1 ) tell you the line and column where the error was found, so you can focus your attention on the correct place. The error in question will be somewhere in the vicinity of that location.
In this particular case since the problem is in your user preferences file, you can just select Preferences > Settings (as above, Preferences is under Sublime Text if you’re on MacOS) to have Sublime open the file for you; your file is on the right hand side of the split window that opens.
The error message Unexpected Trailing Characters is a hint that the problem is that there is something other than space/tab characters following the final > character in the file; whatever those are, if you remove them the problem should go away.