Sublime Forum

Ctrl+s doesn't work

#1

Hey everyone
Help me out on this one
After using sublime for almost 6 months I faced a problem
Ctrl+s does’t work

Neither works saving the code by using file > save buttons at upper left corner

I checked ctrl+s button in show console section, but everything seems correct
Heeelp

0 Likes

#2

Go to the built in console & execute sublime.log_commands(True) & sublime.log_input(True), press ctrl + s and report back what the console outputs.

0 Likes

#3

sublime.log_commands(True)

sublime.log_input(True)
key evt: ctrl+s
command: save {“async”: true}
This is the output

0 Likes

#4

That appears to be the correct command. So need to know some more information, then

  1. What build of ST are you running (Help -> About from the main menu).
  2. Does saving a file work in safe mode ? https://www.sublimetext.com/docs/safe_mode.html
  3. What operating system ?
0 Likes

#5
  1. Build 4121
  2. Soo
    Before writing here I tried to delete and download the app again
    And now when I write new code it doesn’t work at all
    C:\Users\Legion\Desktop>javac MenuAdmin.java
    MenuAdmin.java:64: error: variable n is already defined in method main(String[])
    int n = in.nextInt();
    ^
    1 error

C:\Users\Legion\Desktop>java MenuAdmin
Error: Could not find or load main class MenuAdmin
It sees mistakes but doesn’t start the code
3. 64-bit operating system

0 Likes

#6

Thank you for your help
Everything finally works

0 Likes