Sublime Forum

Cannot type in Windows ST and errors in my settings

#1

I am a new user of Sublime-Text 3.2.2 in Windows 10, v1909, and unable to edit or type in the app. I can copy and paste using the context menu. All keyboard characters the exception of the comma are blocked.

Also This are my settings in Preferences.sublime-settings, and they are all highlighted in red.
I have no plugins, and and I have no choice but return using my favorite Windows editor.

{
“auto_indent:” false,
“font_size:” 13,
“line_numbers:” false,
“margin:” 0,
“match_brackets_angle:” true,
“shift_tab_unindent:” true,
“show_definitions:” true,
“show_encoding:” true,
“trim_trailing_white_space_on_save:” true,
“word_wrap:” false
}

P.S: There are no problems with the Logitech standard keyboard or the mouse in other apps.

0 Likes

#2

Not quite sure whether it is directly related but your postes settings file contains 2 major syntax errors.

  1. Wrong quotes. You need to use ordinary ASCII quotes for the settings keys instead of unicode ones.
  2. The key-value separator (:) must not be placed within the quotes.

Settings are ordinary JSON files.

{
"auto_indent": false,
"font_size": 13,
"line_numbers": false,
"margin": 0,
"match_brackets_angle": true,
"shift_tab_unindent": true,
"show_definitions": true,
"show_encoding": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": false
}

Otherwise you can open ST’s console via the icon on the lower left corner of the window and run sublime.log_input(True) to see whether ST sees your key press events.

0 Likes

#3

Thanks for pointing out the errors. Realized my mistake and corrected it just before reading the post. :slight_smile: I am very impressed with the software. Currently in Windows, I am using TextPad, but I am was looking for a software which is usable in both Linux and Windows.

0 Likes