In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you how to use sublime to create a Python development and editing environment, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
01 preface
You may have used sublime text. Some people may have been advanced users of sublime since version 1. The focus of this article is to set up an ultimate python development setup environment in sublime text 3 for those who may not take full advantage of the potential of sublime.
02 introduction
Sublime Text is a text editor. Has a beautiful user interface and powerful features, such as code thumbnails, Python plug-ins, code snippets and so on. You can also customize key bindings, menus and toolbars. The main features of Sublime Text include: spell checking, bookmarking, complete Python API, Goto functions, instant project switching, multi-choice, multi-window and so on. Sublime Text is a cross-platform editor that supports operating systems such as Windows, Linux, Mac OS X and so on.
One thing that appreciates VSCode and Sublime are JSON settings, default settings, and user settings. However, recent versions of VSCode are making it more like Intellij ide. Look, the JSON setting is great. We can write our comments in the settings, why we want a specific setting and why we disabled it in the first place.
03 Settin
Packet control (Package control)
This point cannot be overemphasized. Install the package control first:
Https://packagecontrol.io/installation
This is the best way to perform package management. After the installation is complete, you simply install / uninstall your package seamlessly from the sublime package repository.
Improvement of sidebar
Install sidebar enhancements to allow excessive manipulation of files and folders in the sidebar:
Https://packagecontrol.io/packages/SideBarEnhancements
Anaconda
Turn sublime into a fully functional Python IDE, including auto-completion, linting, autopep8 formatting, search references, and so on.
{/ * No Autoformatting * / "auto_formatting": false, "autoformat_ignore": ["E309", "E501"], "pep8_ignore": ["E309", "E501"], / * No Linting (this is done by sublinter-flake8) * / "anaconda_linting": false, "anaconda_linter_underlines": false "anaconda_linter_mark_style": "none", "display_signatures": true, / * Use anaconda for code completion Suppress sublime completions * / "disable_anaconda_completion": false, "suppress_word_completions": true, "suppress_explicit_completions": true, / * Others * / "complete_parameters": false}
In the above settings, sublime completion is suppressed, and anaconda can play a role.
Go to definition
Install go to definitoin to quickly drill down to the code definition:
Https://packagecontrol.io/packages/Go%20To%20Definition
Python Breakpoints
Quickly switch breakpoints, go to breakpoints, select custom debuggers, pdb, pudb, etc.:
Terminal
Open the terminal for the current file path or workspace with a simple shortcut.
Https://packagecontrol.io/packages/Terminal
The above content is how to use sublime to create a Python development and editing environment, have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are 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.