In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 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 use ChainOfCommand package to achieve Sublime Text single shortcut key execution of multiple commands, I believe that most people do not know much, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Use ChainOfCommand package to implement Sublime Text single shortcut key to execute multiple commands.
SublimeREPL is a good package for constructing Python IDE on Sublime Text.
After configuring the appropriate environment, use the online tutorials to use F5 as an one-click compilation shortcut:
[{"keys": ["f5"], "caption": "SublimeREPL: Python-RUN current file", "command": "run_existing_window_command", "args": {"id": "repl_python_run", "file": "config/Python/Main.sublime-menu"}}]
The drawback of this approach is that every time you modify the code, you must save it by Ctrl+S before pressing F5 to compile the latest version of the file.
And the Chain Of Command package solves this problem perfectly.
After installing the package through Package Control, modify the User Setting as follows to achieve the function of pressing F5 to save and then compile.
{"keys": ["f5"], "caption": "SublimeREPL: save & Python-RUN current file", "command": "chain", "args": {"commands": ["save"], ["run_existing_window_command", {"id": "repl_python_run" "file": "config/Python/Main.sublime-menu"}]}} these are all the contents of the article "how to use the ChainOfCommand package to implement Sublime Text single shortcut to execute multiple commands" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.