search
HomeDevelopment ToolssublimeTeach you to use sublime 3 to read android source

The following tutorial column from sublime will introduce to you how to use sublime 3 to read android source. I hope it will be helpful to friends in need!

Teach you to use sublime 3 to read android source

Recently the android I downloaded source4.4.2 and planned to learn it. I used to use vim in the Linux environment, with the ctag plug-in for jump viewing, but on windows, there are no good tools, and I am not used to using si to view,

A long time ago, I learned that sublime is a very good text editor. You can customize any code style. It is smooth to use and the plug-in installation is also very convenient. Convenient, use it to build android today Source reader, convenient for reading and jumping.

In order to facilitate your download, I have found the sublime address here: http://www.sublimetext.com/

After entering, download and install,

I use Sublime Text 3,

We use the package control component here, which can directly install various plug-ins online, which is very convenient

Steps:

1. Press Ctrl ` to bring up the console (Note: This shortcut key will conflict if the QQ input method is installed. Input method property settings-input method management-cancel the hotkey to switch to QQ Pinyin)

2. Paste the following code into the bottom command line and press Enter:

import## urllib.request,os; pf ='Package Control.sublime-package'; ipp =sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' pf.replace(' ',' ' )).read())

3. Restart Sublime Text 3.

4. If you see the package control item in Perferences->package settings, the installation is successful.

By the way, post the code of Sublime Text2

importurllib2,os; pf='Package Control.sublime-package'; ipp =sublime.installed_packages_path ()

Attached to the picture above:

# #After successful installation, use ctrl shift p to open the plug-in search box:


#Search for ctags and install the ctags plug-in,

Then download the ctags executable file: Give the address: http://ctags.sourceforge.net/


After downloading, put it in the specified directory. I put it in the c:\ctags58 directory,


Then configure the ctags environment in Sumlime Text 3:

Open ctags default configuration as shown:



#Copy the contents to


##Then modify the command line:


as the picture shows:


Note the slash, it is /

##At this point ctags has been configured . Start generating the tags environment for ctags

In the directory, right-click the pop-up menu:

As shown in the picture:


##After creating tags, you can use ctrl shift left mouse button to jump to the code.


The above is the detailed content of Teach you to use sublime 3 to read android source. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:csdn. If there is any infringement, please contact admin@php.cn delete
Sublime Text: Coding Features and FunctionalitySublime Text: Coding Features and FunctionalityApr 19, 2025 am 12:06 AM

SublimeText is suitable for programming because it is powerful and flexible. 1) Multiple selection and editing functions allow multiple locations to be modified at the same time to improve reconstruction efficiency. 2) The command panel and shortcut keys provide quick access and custom operations to improve development efficiency. 3) Support regular expressions, macros and plug-ins, suitable for advanced usage and performance optimization.

Sublime Text vs. VS Code: Pricing and LicensingSublime Text vs. VS Code: Pricing and LicensingApr 18, 2025 am 12:02 AM

SublimeText is available for purchase for one time, priced at $70, and is permanently used with a PC; VSCode is free to use, and there is no license fee, but extensions and themes may be charged. When choosing, use requirements and budgets should be considered.

How to run sublimeHow to run sublimeApr 16, 2025 am 09:39 AM

To run Sublime Text, you need to download, install the application, purchase a license (optional), and then launch the application. Create or open a file to start encoding.

How to Chinese sublimeHow to Chinese sublimeApr 16, 2025 am 09:36 AM

Sublime Text can be Chineseized through the following steps: 1. Download the Chinese package; 2. Install the Chinese package; 3. Restart Sublime Text; 4. Set the default language (optional); 5. Verify the Chinese version.

How to delete sublime plug-inHow to delete sublime plug-inApr 16, 2025 am 09:33 AM

There are two ways to delete plugins in Sublime Text: Delete through the Plug-in Manager: Select the plug-in you want to delete and right-click and select "Delete". Manually Delete: Navigate to the user data directory, locate the plugin folder and drag it to the Recycle Bin or Trash.

How to write code with gbk in sublimeHow to write code with gbk in sublimeApr 16, 2025 am 09:30 AM

To write code using GBK encoding in Sublime Text, you need to: 1. Set the project encoding to GBK; 2. Create a new file; 3. Select GBK encoding when saving as; 4. Enter the code using GBK encoding.

How to change sublime to ChineseHow to change sublime to ChineseApr 16, 2025 am 09:27 AM

sublime can be translated into Chinese as: 1. Sublime, sacred; 2. Extreme, extraordinary; 3. Indescribable, awesome; 4. Sublime thought.

How to get the registration code for sublimeHow to get the registration code for sublimeApr 16, 2025 am 09:24 AM

The steps to purchase a Sublime Text registration code are as follows: Visit the website and select "Buy". Select the license type and enter information. Pay and receive emails containing registration codes. Open Sublime Text, go to the License menu and paste the registration code. Click Register to activate your registration code and advanced features.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Atom editor mac version download

Atom editor mac version download

The most popular open source editor