Problems with Sublime text3

Download address of sublime text3: https://www.sublimetext.com/

  1. Solve the input problem that cannot use interactive input on sublime text
  2. Solved by installing the sublimeREPL plugin, the plugin is installed and the keybinding shortcut is running
  3. Install the SublimeREPL plugin

    Press ctrl+shift+p to open an input box, enter Install Package,

Enter, enter SublimeREPL, select it in the selection list below and press Enter.

 

    Note that the sublimeREPL option appears at the bottom of the tools bar at this time, if you do not restart the program.

    Select python->python run current file in the sublimeREPL option in turn, you can enter

    It may be cumbersome to perform interactive operations every time, you can set a shortcut key for python run current file:

    Open preferences->Key Binding User and save the following code

 [ {
  "keys": ["f5"],
  "caption": "SublimeREPL: Python - RUN current file",
  "command": "run_existing_window_command",
  "args": {"id": "repl_python_run","file": "config/Python/Main.sublime-menu" }
  } ]

当然也可以设置其他的快捷键

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324651332&siteId=291194637