In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you the method of SublimeText3 automatic completion of python tips, I hope you will gain something after reading this article, let's discuss it together!
1. Download address of Sublime Text3
Https://www.sublimetext.com/3
2. Install SublimeText3
3. Install SublimeCodeIntel
(1) Open SublimeText3; (2) press the shortcut key "ctrl+p", or "Preferences- > Package control" enter "Package Control: InstallPackage"; (3) enter "SublimeCodeIntel", click on the "SublimeCodeIntel" package in the list, and there will be a corresponding prompt after installation.
4. Configure python prompts
(1) find the configuration file
Preferences- > Package settings- > SublimeCodeIntel- > settings-user
(2) the contents of the modified file are as follows, in which the path of python needs to be modified according to your own needs.
{"codeintel_language_settings": {"Python": {"python": "D:\\ python\\ python.exe", "codeintel_scan_extra_dir": ["D:\ python", "D:\\ python\\ DLLs", "D:\\ python\\ Lib" "D:\\ python\\ Lib\\ site-packages", "D:\ python\\ Lib\\ idlelib"], "codeintel_scan_files_in_project": true, "codeintel_selected_catalogs": []},}}
5. Shortcut keys
(1) in general, the default shortcut keys are:
Ctrl+/: code comments
Ctrl+shift+space: code hint
(2) Custom shortcuts:
Customize the Mouse Jump comment Code
Find a configuration file
Preferences- > Package settings- > SublimeCodeIntel- > Mouse Bindings-User
Add the following
[{"button": "button1", "modifiers": ["ctrl"], "command": "goto_python_definition", "press_command": "drag_select"}] Custom keyboard shortcuts Preferences- > Package settings- > SublimeCodeIntel- > Key Bindings-User
It is defined in a format similar to that of the mouse.
The above customization methods can be found in
After reading this article in Preferences- > Package settings- > SublimeCodeIntel- > Key Bindings-Default, I believe you have a certain understanding of "SublimeText3 automatic completion of python prompts". 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.