Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure SublimeREPL shortcuts for Sublime Text3

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to configure SublimeREPL shortcuts in Sublime Text3. I hope you will get something after reading this article. Let's discuss it together.

Because python is run with sublime, ctrl+b cannot enter data if there is an input () function, so download and install sublimeREPL for debugging.

But sublimeREPL doesn't have custom shortcuts, so you have to set them yourself.

Many methods on the Internet have no effect, and finally find the right way after tossing around all night.

First find the configuration file for sublimerepl.

Step: Preferences-- > Browse Packages-- > SublimeREPL folder-> config folder-> Python folder-> Default.sublime-commands (open in text format)

[{"caption": "SublimeREPL: Python", "command": "run_existing_window_command", "args": {"id": "repl_python", "file": "config/Python/Main.sublime-menu"}}, {"caption": "SublimeREPL: Python-PDB current file" "command": "run_existing_window_command", "args": {"id": "repl_python_pdb", "file": "config/Python/Main.sublime-menu"}, {"caption": "SublimeREPL: Python-RUN current file", "command": "run_existing_window_command" "args": {"id": "repl_python_run", "file": "config/Python/Main.sublime-menu"}, {"command": "python_virtualenv_repl", "caption": "SublimeREPL: Python-virtualenv"}, {"caption": "SublimeREPL: Python-IPython" "command": "run_existing_window_command", "args": {"id": "repl_python_ipython", "file": "config/Python/Main.sublime-menu"}}]

This is the configuration file for repl. Find the command you need and copy it.

Paste to Preferences-- > Key Bindings User

The code is as follows

[{"keys": ["f5"], / / this is my own shortcut "command": "run_existing_window_command", "args": {"id": "repl_python_run" "file": "config/Python/Main.sublime-menu"}}]

Just save it at last.

As shown in the picture

Tips on every time sublime opens an update

Preferences- > seting user-"{" font_size ": 13," update_check ": false,} after reading this article, I believe you have some understanding of" how to configure SublimeREPL shortcuts in Sublime Text3 ". If you want to know more about it, welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report