下面由sublime入门教程栏目给大家介绍SublimeText3自动补全python提示的方法,希望对需要的朋友有所帮助!
1、Sublime Text3下载地址
https://www.sublimetext.com/3
2、安装SublimeText3
3、安装SublimeCodeIntel
(1)打开SublimeText3;(2)按快捷键“ctrl+p”,或者“Preferences->Package control”输入“Package Control: InstallPackage”;(3)输入“SublimeCodeIntel”,点击列表中的“SublimeCodeIntel”包,安装完后会有相应的提示。
4、配置python提示
(1)找配置文件
Preferences->Package settings->SublimeCodeIntel->settings-user
(2)修改文件内容如下,其中python的路径需要根据自己的需要修改
{ "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、快捷键
(1)一般情况下,默认快捷键有:
ctrl+/:代码注释
ctrl+shift+space:代码提示
(2)自定应快捷键:
自定义“鼠标”跳转注释代码
找配置文件
Preferences->Package settings->SublimeCodeIntel->Mouse Bindings-User
添加以下内容
[{ "button": "button1", "modifiers": ["ctrl"], "command": "goto_python_definition", "press_command": "drag_select" } ]
自定义“键盘”快捷方式 Preferences->Package settings->SublimeCodeIntel->Key Bindings-User
定义方式类似于鼠标的格式。
上述自定义方法可以参见
Preferences->Package settings->SublimeCodeIntel->Key Bindings-Default中的内容
The above is the detailed content of SublimeText3 autocomplete python prompts. For more information, please follow other related articles on the PHP Chinese website!

SublimeText is popular among developers for its fast, powerful and rich plug-in ecosystem. 1. Multi-line editing and multi-cursor functions allow multiple text modifications at the same time. 2. Command panel and shortcut keys improve operation efficiency. 3. Use PackageControl management plug-in to meet various development needs. SublimeText is ideal for developers to improve programming efficiency.

SublimeText is priced at $99 (starting from personal and commercial licenses), with a one-time purchase model that supports Windows, macOS and Linux: 1. A free trial version is available, and it is permanently used after purchase and is updated; 2. It can be downloaded from the official website or third-party store, but it is recommended to purchase from the official website to ensure flexibility.

You can get SublimeText by trialing for free, purchasing a license, or applying for an education license. 1) Free trial: No time limit, but you will prompt to purchase when saving the file. 2) Purchase a license: Pay $99 in one lump sum, get lifelong updates and support. 3) Education license: Students and educators can enjoy discounts and must verify their identity.

SublimeText is a powerful text editor suitable for a variety of programming languages and file formats. 1. Multiple selection and editing functions allow multiple locations to be modified at the same time to improve editing efficiency. 2. The command panel is accessed through shortcut keys and performs various operations, such as formatting code and managing plug-ins.

SublimeText is available for free, but every once in a while, a purchase prompt pops up. 1) It supports multiple programming languages, has a simple interface and a powerful plug-in ecosystem. 2) Users can optimize the user experience by closing unnecessary plug-ins, regularly updating and using shortcut keys.

SublimeText is suitable for beginners and experts. 1. Shortcut keys and command panels improve efficiency. 2. Package manager extension function. 3. Customize the details of the configuration file. 4. Multiple selection and editing functions are used to refactor code. 5. Search and replace function positioning and modify code. 6. Project management and version control integration facilitate project management.

The performance benefits of SublimeText are fast startup, multi-threading, and a rich plug-in ecosystem, but at the expense of high license fees, complex plug-in configurations, and potentially increased memory footprint.

SublimeText is suitable for users who pursue simplicity and highly customized, while VSCode is more suitable for users who need one-stop service and better user experience. The SublimeText interface is simple and complex, suitable for advanced users; the VSCode interface is modern and easy to use, suitable for beginners and team collaboration.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Dreamweaver Mac version
Visual web development tools

Atom editor mac version download
The most popular open source editor
