The following is the tutorial column of sublime to introduce to you the common usage of sublime text3 [Shortcut Key Summary], I hope it will be helpful to friends who need it Helps!
sublime text3 Commonly used shortcut keys
I mainly use C/C in my daily development, and occasionally write development Sublime is often used in PHP code development. I would like to share the shortcut keys that I often use and take notes. I hope it can be helpful to others.
Control Panel
Shortcut keys | Function |
---|---|
Ctrl Shift P | Open the command panel |
Ctrl ` | Open the console |
Find and replace
Shortcut key | Function |
---|---|
Ctrl P File name | Search for files in the project |
Ctrl P @ | Search for functions in the current file |
Ctrl P | #Search for text in the current file |
Ctrl R | Search for symbols in the current file, same as Ctrl P @ |
Ctrl Shift R | Search for symbols in the project |
Ctrl F | Search for text in the current file |
Ctrl Shift F | Search the text of the file in the project and replace |
Ctrl H | Replace |
Jump
Shortcut key | Function |
---|---|
F12 | Jump to the definition |
Alt - | Jump to the previous step (can span files) |
Alt Shift - | Jump to the next step (can span files) |
Ctrl G | Jump to the next line |
Ctrl P : | Jump to which line, equivalent to Ctrl G |
Ctrl M | Jump to the corresponding line Brackets |
Ctrl U | soft undo, undo cursor position |
label
Shortcut keys | Function |
---|---|
Set label | |
Jump to the next tab | |
Jump to the previous tab | |
Clear all tags |
Shortcut keys | Function |
---|---|
Ctrl / | Comment the current line |
Ctrl Shift / | Insert comment at the current position |
Ctrl X | Cut the current line, equivalent to vim's dd (no need to select) |
Ctrl C | Copy the current line, equivalent to vim's yy (no need to select) |
Ctrl Shift up and down | Move the entire line up and down |
Ctrl Shift left and right | Select word by word in the line |
Ctrl Shift V | Paste and format |
Ctrl Shift D | Copy and paste where the cursor is Line |
Ctrl Shift K | Delete the line where the cursor is located. If there are multiple cursors, delete all the lines where the cursor is located |
Ctrl D | Select a word, repeat to increase the selection of the next same word |
Alt F3 | Select all the same words |
Ctrl L | Select the row, repeat to increase in order to select the next row |
Ctrl Enter | Insert after the current row New line |
Ctrl Shift Enter | Insert a new line before the current line |
Ctrl Shift M | Select the content of the current brackets (excluding brackets), and repeat the selection of the brackets themselves |
Window operation
Quick Key | Function |
---|---|
Alt Shift number | Split screen display, 2: left and right split, 3: left and right split, 5: Quad screen, 8: Top and bottom split, 9: Top and bottom 3 splits |
Ctrl Shift T | Reopen the closed TAB |
Ctrl W | Close the currently open file |
Ctrl Shift W | Close all open files |
Ctrl K B | Switch sidebar |
Alt number | Switch to the Nth open file |
Ctrl N | New window |
The above is the detailed content of Common usages of sublime text3 [Summary of shortcut keys]. For more information, please follow other related articles on the PHP Chinese website!

Sublime Text 替换功能允许用户搜索和替换文本。该功能可通过 "查找" 菜单中的 "替换" 选项启用。使用此功能的步骤包括:输入要搜索的文本、输入替换文本、选择是否启用正则表达式、选择替换所有或选择性替换。高级选项包括匹配大小写、匹配整个单词和使用选区。

Sublime Text 中可通过以下三种方法显示运行结果:使用控制台窗口:打开控制台窗口并使用 print 语句打印结果。使用快速面板:打开快速面板,选择终端选项卡并运行代码。使用第三方插件:安装 SublimeREPL 或 Console 2 等插件,运行代码后结果将在专属窗口中显示。

是,Sublime Text可以通过以下步骤执行代码:为特定编程语言安装插件配置构建系统创建构建文件使用键盘快捷键(Mac:Command + B;Windows/Linux:Control + B)执行代码

在 Sublime Text 中编写 Python 代码,请按照以下步骤操作:安装 Sublime Text。创建新项目并保存文件为 .py。通过快捷键 Ctrl + B (Windows) / Cmd + B (Mac) 运行 Python 代码。此外,还可以通过安装 Python 插件、设置 Python 解释器、启用自动缩进和语法高亮等方式增强 Python 代码编写体验。

可以通过以下步骤修改 phpStudy 配置文件:找到配置文件(Windows:C:\Windows\phpStudy\php\php.ini;Mac:/Applications/phpStudy/php/php.ini)使用文本编辑器打开并查找要修改的设置编辑设置的值,如修改时区:date.timezone = Asia/Shanghai保存更改并重启 Apache 服务

在 Sublime 中运行代码的方法包括:使用快捷键 (Ctrl + B)通过菜单 (工具 > 构建 > 运行)使用命令面板 (Ctrl + Shift + P > 输入“运行”)使用构建系统 (工具 > 构建系统 > 选择一个构建系统)设置默认构建系统 (首选项 > 设置 - 用户 > 添加“build_system”键值)

Flask和SublimeText集成:Pythonweb应用程序开发技巧(第六部分)SublimeText和Flask都是Pythonweb应用程序开发中的重要工具。然而,如何将二者集成起来,使得开发过程更加高效呢?本文将介绍一些SublimeText的插件和配置技巧,帮助你更方便地开发Flask应用程序。一、安装SublimeText插件F

在 Sublime Text 中使用浏览器打开文件,只需:1. 打开文件;2. 将光标置于文件内,按下 Ctrl + Alt + B(Windows)或 Command + Option + B(Mac)快捷键即可。


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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version
Visual web development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Atom editor mac version download
The most popular open source editor

SublimeText3 Linux new version
SublimeText3 Linux latest version
