Unexpected character sublime text 3 что это
Перейти к содержимому

Unexpected character sublime text 3 что это

  • автор:

"Unexpected trailing character" in sublime when trying to edit preferences

I can’t work out why I would be getting that message?

2 Answers 2

Your settings files in Sublime (all of them) need to be valid JSON. Yours should be as follows:

Note that everything is enclosed in one (and only one) outer dictionary, denoted by curly braces <> . There should also be a comma , at the end of every key: value pair, except for the last line. If there is only one line, don’t use a comma.

Just out of interest, what is the «tabs_small» setting for? It’s not one of Sublime’s default settings.

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

«Unexpected Character» error highlighting won’t go away. #139

«Unexpected Character» error highlighting won’t go away. #139

Comments

I get these errors anytime I expand a snippet of mine (using Sublime’s native snippets):

Snipaste_2020-10-27_13-13-34

Snipaste_2020-10-27_13-11-05

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, 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 в сублим текст и скопировать текст из этого файла, потом нужно этот текст ответом на вопрос вставить.

SyntaxError: unexpected character after line continuation character. Что я делаю не так?

Взялась за изучение python пару дней назад. Приобрела учебник «Изучаем Python» Э. Мэтиз. На Винду установила Python 3.9.1 и Geany, как и написано в учебнике. Создала папку «meandpython», в ней еще одну папку «python_work». В Geany создала файл hello_world.py и сохранила его в папке. В Geany он нормально открывался в терминальном окне. Далее в учебнике описано, как запустить созданный файл в Python 3.9.1. Нужно ввести следующие команды:
D:\> cd meandpython\python_work
D:\meandpython\python_work> dir
hello_world.py
D:\meandpython\python_work> python hello_world.py
Hello Python world !

С этим у меня возникла куча проблем. Как написать вторую строку? При нажатии Enter возникает ошибка из заголовка. Долго гуглила, что с этим делать. Предложили написать каждую строку через точку с запятой. Та же ошибка. Сочетания Ctrl+Enter и Ctrl+J вообще никакой реакции не вызывают.
Помогите, пожалуйста:'(

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *