---
title: "标准 - 工具栏 - MetaEditor 帮助"
description: "标准工具栏提供 主菜单 的基本命令... - 标准 - 工具栏 - MetaEditor 帮助"
image: "https://www.metatrader5.com/i/logo_metatrader5.png"
url: "https://www.metatrader5.com/zh/metaeditor/help/toolbar/toolbar_standard"
---

[MetaEditor 帮助](https://www.metatrader5.com/zh/metaeditor/help) → [工具栏](https://www.metatrader5.com/zh/metaeditor/help/toolbar) → 标准

# 标准

标准工具栏提供 [主菜单](https://www.metatrader5.com/zh/metaeditor/help/main_menu) 的基本命令:

|  | 命令 | 描述 |
| --- | --- | --- |
| ![新建](https://www.metatrader5.com/i/help/metaeditor/en/new_button.png) | 新建 | 打开 [MQL4/MQL5 向导](https://www.metatrader5.com/zh/metaeditor/help/mql5_wizard) 开发新程序。 |
| ![打开...](https://www.metatrader5.com/i/help/metaeditor/en/open_button.png) | 打开... | 打开选定的文件: 在 MetaEditor 中打开文本文件进行编辑。 若要打开其余的文件，请使用安装在操作系统中的程序。 |
| ![保存](https://www.metatrader5.com/i/help/metaeditor/en/save_button.png) | 保存 | 保存激活窗口中的修改。 |
| ![全部保存](https://www.metatrader5.com/i/help/metaeditor/en/save_all_button.png) | 全部保存 | 在所有打开的窗口中保存更改。 |
| ![打印预览](https://www.metatrader5.com/i/help/metaeditor/en/print_preview_button.png) | 打印预览 | 打印前检查页面（例如，是否打印所有数据）。 用于预览的选定打印机设置。 |
| ![打印..](https://www.metatrader5.com/i/help/metaeditor/en/print_button.png) | 打印.. | 打印当前窗口中的代码。 |
| ![工具箱](https://www.metatrader5.com/i/help/metaeditor/en/toolbox_button.png) | 工具箱 | 打开/关闭 [工具箱](https://www.metatrader5.com/zh/metaeditor/help/workspace/toolbox) 窗口。 |
| ![MQL 导航](https://www.metatrader5.com/i/help/metaeditor/en/navigator_button.png) | MQL4/MQL5 导航器 | 打开/关闭 [导航器](https://www.metatrader5.com/zh/metaeditor/help/workspace/navigator) 服务窗口。 |
| ![剪切](https://www.metatrader5.com/i/help/metaeditor/en/cut_button.png) | 剪切 | 剪切选定的源代码片段以便将其粘贴到它处。 |
| ![复制](https://www.metatrader5.com/i/help/metaeditor/en/copy_button.png) | 复制 | 将选定的源代码片段复制到剪贴板。 |
| ![粘贴](https://www.metatrader5.com/i/help/metaeditor/en/paste_button.png) | 粘贴 | 将复制或剪切的源代码片段粘贴到指定的位置。 |
| ![剪贴板](https://www.metatrader5.com/i/help/metaeditor/en/clipboard_button.png) | 剪贴板 | 打开剪贴板。 MetaEditor 最多可以保存最后 30 个复制到剪贴板的条目。 这将打开一个存储条目的列表，允许您将选定的一个粘贴到代码中。 |
| ![删除](https://www.metatrader5.com/i/help/metaeditor/en/delete_button.png) | 删除 | 删除选定的源代码片段。 |
| ![撤销](https://www.metatrader5.com/i/help/metaeditor/en/undo_button.png) | 撤销 | 撤销最后的动作。 |
| ![重做](https://www.metatrader5.com/i/help/metaeditor/en/redo_button.png) | 重做 | 重做上次撤消的动作。 |
| ![AI Assistant提示](https://www.metatrader5.com/i/help/metaeditor/en/ai_assistant_prompt_button.png) | AI Assistant提示 | 发送代码部分作为 [AI Assistant提示](https://www.metatrader5.com/zh/metaeditor/help/development/ai_assistant#prompt) ，以获得如何完成它的建议。 |
| ![查找](https://www.metatrader5.com/i/help/metaeditor/en/find_button.png) | 查找 | 打开[搜索](https://www.metatrader5.com/zh/metaeditor/help/development/source_code_find)窗口。 |
| ![查找下一个](https://www.metatrader5.com/i/help/metaeditor/en/find_next_button.png) | 查找下一个 | 查找当前搜索词条的下一个内容。 |
| ![查找前一个](https://www.metatrader5.com/i/help/metaeditor/en/find_previous_button.png) | 查找前一个 | 查找当前搜索词条的前一个内容。 |
| ![替换](https://www.metatrader5.com/i/help/metaeditor/en/replace_button.png) | 替换 | 打开窗口 [替换](https://www.metatrader5.com/zh/metaeditor/help/development/source_code_find) 发现的文本。 |
| ![多文件查找...](https://www.metatrader5.com/i/help/metaeditor/en/find_in_files_button.png) | 多文件查找... | 打开一个窗口在不同的文件中搜索。 |
| ![跳转到行](https://www.metatrader5.com/i/help/metaeditor/en/goto_line_button.png) | 跳转到行 | 打开一个窗口, 从中您可以 [跳转到指定的](https://www.metatrader5.com/zh/metaeditor/help/development/intelligent_management#goto_line) 源代码行。 |
| ![切换书签](https://www.metatrader5.com/i/help/metaeditor/en/toggle_bookmark_button.png) | 切换书签 | 在当前行上启用/禁用 [书签](https://www.metatrader5.com/zh/metaeditor/help/development/intelligent_management#bookmarks) 需要取决于其当前状态。 书签允许标记必要的代码行以便快速移动到它们。 |
| ![下一个书签](https://www.metatrader5.com/i/help/metaeditor/en/next_bookmark_button.png) | 下一个书签 | 跳转到下一个书签。 |
| ![前一个书签](https://www.metatrader5.com/i/help/metaeditor/en/previous_bookmark_button.png) | 前一个书签 | 跳转到前一个书签。 |
| ![清除所有书签](https://www.metatrader5.com/i/help/metaeditor/en/clear_all_bookmarks_button.png) | 清除所有书签 | 从当前文件中删除所有书签。 |
| ![增加行缩进](https://www.metatrader5.com/i/help/metaeditor/en/increase_indent_button.png) | 增加行缩进 | 在所选行的开头插入三个空格（制表符）。 若要在单行中插入空格，请将光标置于其开头。 若要在多行内插入空格，请将它们全选。 |
| ![减少行缩进](https://www.metatrader5.com/i/help/metaeditor/en/decrease_indent_button.png) | 减少行缩进 | 在所选行的开头删除三个空格（制表符号）。 与按 Tab+Shift 热键执行类似的操作。 |
| ![转换为大写](https://www.metatrader5.com/i/help/metaeditor/en/make_uppercase_button.png) | 转换为大写 | 将所选短语的所有字符转换为大写。 与按 Ctrl+Shift+U 热键执行类似的动作。</t1> |
| ![转换为小写](https://www.metatrader5.com/i/help/metaeditor/en/make_lowercase_button.png) | 转换为小写 | 将所选短语的所有字符转换为小写。 与按 Ctrl+U 热键执行类似的动作。 |
| ![函数标题](https://www.metatrader5.com/i/help/metaeditor/en/function_header_button.png) | 函数标题 | 插入 [注释至函数](https://www.metatrader5.com/zh/metaeditor/help/development/intelligent_management#comments)。 |
| ![注释块](https://www.metatrader5.com/i/help/metaeditor/en/block_comment_button.png) | 注释块 | 插入 [一个单行注释](https://www.metatrader5.com/zh/metaeditor/help/development/intelligent_management#comments) 符号。 |
| ![注释行](https://www.metatrader5.com/i/help/metaeditor/en/comment_lines_button.png) | 注释行 | 在每个选定行的开始处插入 "//" 注释。 |
| ![取消注释行](https://www.metatrader5.com/i/help/metaeditor/en/uncomment_lines_button.png) | 取消注释行 | 在每个选定行的开始处删除 "//" 注释。 |
| ![名称列表](https://www.metatrader5.com/i/help/metaeditor/en/list_names_button.png) | 名称列表 | 当编写程序代码时，显示可能的 [函数名称](https://www.metatrader5.com/zh/metaeditor/help/development/intelligent_management#substitute) 列表以供替换。 名称的变体由输入的第一个字符决定。 |
| ![参数信息](https://www.metatrader5.com/i/help/metaeditor/en/parameter_info_button.png) | 参数信息 | 显示当前函数的 [签名](https://www.metatrader5.com/zh/metaeditor/help/development/intelligent_management#info)。 换言之，它显示函数的参数组顺序和类型，并高亮显示当前编辑的参数。 |
| ![向后导航](https://www.metatrader5.com/i/help/metaeditor/en/navigate_back_button.png) | 向后导航 | 转到光标所在的前一行。 这只能在当前打开的文件中使用。 |
| ![向前导航](https://www.metatrader5.com/i/help/metaeditor/en/navigate_forward_button.png) | 向前导航 | 从上一行返回到下一行。这只能在当前打开的文件中使用。 |
| ![跳转到定义](https://www.metatrader5.com/i/help/metaeditor/en/go_to_definition_button.png) | 跳转到定义 | [跳转到](https://www.metatrader5.com/zh/metaeditor/help/development/intelligent_management#definition) 一条声明或所选函数的定义，或变量。 |
| ![函数列表](https://www.metatrader5.com/i/help/metaeditor/en/list_funtions_button.png) | 函数列表 | 打开当前程序代码中声明的 [所有函数列表](https://www.metatrader5.com/zh/metaeditor/help/development/intelligent_management#list)。 |
| ![编译](https://www.metatrader5.com/i/help/metaeditor/en/compile_button.png) | 编译 | [编译](https://www.metatrader5.com/zh/metaeditor/help/development/compile) 激活窗口中当前打开的程序代码。 |
| ![取消编译](https://www.metatrader5.com/i/help/metaeditor/en/cancel_compilation_button.png) | 取消编译 | 取消编译。 当程序编译时，显示此按钮替代编译按钮。 |
| ![启动](https://www.metatrader5.com/i/help/metaeditor/en/start_debug_button.png) | 开始/恢复 | 开始当前代码 [调试](https://www.metatrader5.com/zh/metaeditor/help/development/debug)。 |
| ![暂停](https://www.metatrader5.com/i/help/metaeditor/en/break_debug_button.png) | 暂停 | 暂停程序调试。 若要继续调试，请单击继续。 |
| ![停止](https://www.metatrader5.com/i/help/metaeditor/en/stop_debug_button.png) | 停止 | 停止调试。 |
| ![开始分析](https://www.metatrader5.com/i/help/metaeditor/en/start_profiling_button.png) | 开始分析 | 开始当前代码 [分析](https://www.metatrader5.com/zh/metaeditor/help/development/profiling)。 |
| ![停止分析](https://www.metatrader5.com/i/help/metaeditor/en/stop_profiling_button.png) | 停止分析 | 停止分析。 |
| ![步进](https://www.metatrader5.com/i/help/metaeditor/en/step_into_button.png) | 步进 | 单步执行程序，进入被调用的函数。 |
| ![步跃](https://www.metatrader5.com/i/help/metaeditor/en/step_over_button.png) | 步跃 | 单步执行程序，不进入被调用的函数。 |
| ![退出](https://www.metatrader5.com/i/help/metaeditor/en/step_out_button.png) | 退出 | 在高一级上单步执行程序。 |
| ![清除所有断点](https://www.metatrader5.com/i/help/metaeditor/en/clear_all_breakpoints_button.png) | 清除所有断点 | 清除当前调试程序的所有断点。 |
| ![切换断点](https://www.metatrader5.com/i/help/metaeditor/en/breakpoint_button.png) | 切换断点 | 当前行启用/禁用 [断点](https://www.metatrader5.com/zh/metaeditor/help/development/debug#breakpoint)，这要取决于其当前状态。 断点用于 [调试](https://www.metatrader5.com/zh/metaeditor/help/development/debug) 程序。 |
| ![程序端](https://www.metatrader5.com/i/help/metaeditor/en/terminal_button.png) | 程序端 | 打开交易平台 |
| ![选项...](https://www.metatrader5.com/i/help/metaeditor/en/options_button.png) | 选项... | 打开 [MetaEditor 选项](https://www.metatrader5.com/zh/metaeditor/help/beginning/settings) 窗口。 它允许您配置语法高亮显示，字体，网络操作参数，等等。 |
| ![从存储更新](https://www.metatrader5.com/i/help/metaeditor/en/mql5storage_update_button.png) | 从存储更新 | [提取](https://www.metatrader5.com/zh/metaeditor/help/mql5storage/mql5storage_working#update) 存储上的最新数据修订版。 |
| ![提交至存储](https://www.metatrader5.com/i/help/metaeditor/en/mql5storage_commit_button.png) | 提交至存储 | [发送](https://www.metatrader5.com/zh/metaeditor/help/mql5storage/mql5storage_working#commit) 当前数据的更改至存储。 |
| ![添加文件或文件夹](https://www.metatrader5.com/i/help/metaeditor/en/mql5storage_add_button.png) | 添加文件或文件夹 | [添加](https://www.metatrader5.com/zh/metaeditor/help/mql5storage/mql5storage_working#add) 本地文件夹或文件至存储。 文件夹或文件添加至本地。 执行 "提交至存储" 命令将更改插入到存储。 |
| ![删除文件或文件夹](https://www.metatrader5.com/i/help/metaeditor/en/mql5storage_delete_button.png) | 删除文件或文件夹 | [删除](https://www.metatrader5.com/zh/metaeditor/help/mql5storage/mql5storage_working#add) 存储上的文件夹或文件。 删除是在本地执行的（文件或文件夹被物理删除）。 执行 "提交至存储" 命令将更改插入到存储。 |
| ![版本的差别](https://www.metatrader5.com/i/help/metaeditor/en/mql5storage_diff_button.png) | 版本的差别 | [查看当前的更改](https://www.metatrader5.com/zh/metaeditor/help/mql5storage/mql5storage_diff) 与存储上收到的最新版本进行比较。 |
| ![恢复更改](https://www.metatrader5.com/i/help/metaeditor/en/mql5storage_revert_button.png) | 恢复更改 | 恢复文件的本地副本中所做的更改。 |
| ![显示存储日志](https://www.metatrader5.com/i/help/metaeditor/en/mql5storage_log_button.png) | 显示存储日志 | 显示存储日志。 |
| ![创建项目](https://www.metatrader5.com/i/help/metaeditor/en/mql5storage_project_button.png) | 创建项目 | [创建项目](https://www.metatrader5.com/zh/metaeditor/help/mql5storage/projects) 在存储上。 |
| ![添加权限](https://www.metatrader5.com/i/help/metaeditor/en/mql5storage_permission_button.png) | 添加权限 | 添加访问项目的权限。 |
| ![MQL5 云端保护器](https://www.metatrader5.com/i/help/metaeditor/en/mql5_cloud_protector_button.png) | MQL5 云端保护器 | 利用在线 [MQL5 云端保护器](https://www.metatrader5.com/zh/metaeditor/help/development/mql5_cloud_protector) 服务为当前程序应用附加的保护。 |
| ![样板](https://www.metatrader5.com/i/help/metaeditor/en/styler_button.png) | 样板 | 启动内置的代码 [样板](https://www.metatrader5.com/zh/metaeditor/help/development/styler)，依据建议的标准格式化程序源代码。 |
| ![新窗口](https://www.metatrader5.com/i/help/metaeditor/en/new_window_button.png) | 新窗口 | 使用相同的程序文本打开当前窗口的副本。 在原始窗口及其副本的标题中出现的数字1，2 等，指示其创建的顺序。 |
| ![层叠](https://www.metatrader5.com/i/help/metaeditor/en/cascade_button.png) | 层叠 | 将文件窗口排列为级联。 |
| ![平铺窗口](https://www.metatrader5.com/i/help/metaeditor/en/tile_windows_button.png) | 平铺窗口 | 将文件窗口按图块排列。 |
| ![水平平铺](https://www.metatrader5.com/i/help/metaeditor/en/tile_horizontally_button.png) | 水平平铺 | 水平排列文件窗口。 |
| ![垂直平铺](https://www.metatrader5.com/i/help/metaeditor/en/tile_vertically_button.png) | 垂直平铺 | 垂直排列文件窗口。 |
| ![帮助](https://www.metatrader5.com/i/help/metaeditor/en/help_button.png) | 帮助 | 打开 MetaEditor 关联帮助。 当您点击它时，一个问号出现在鼠标光标的末端。 若要查看特定 MetaEditor 元素的帮助，请左键单击它。 |
| ![关于 MetaEditor...](https://www.metatrader5.com/i/help/metaeditor/en/about_button.png) | 关于 MetaEditor... | 打开关于 MetaEditor... 窗口，其中包含有关公司，其联系人和 MetaEditor 版本的信息。 |

## In this section

- 标准
- [搜索](https://www.metatrader5.com/zh/metaeditor/help/toolbar/toolbar_search)
- [安装](https://www.metatrader5.com/zh/metaeditor/help/toolbar/toolbar_customize)

```json
{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ {"@type": "ListItem", "position": 1, "item": {"@id": "https://www.metatrader5.com/zh/metaeditor/help", "name": "MetaEditor 帮助"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "https://www.metatrader5.com/zh/metaeditor/help/toolbar", "name": "工具栏"}}, {"@type": "ListItem", "position": 3, "item": {"@id": "https://www.metatrader5.com/zh/metaeditor/help/toolbar/toolbar_standard", "name": "标准"}} ]}
{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "MetaTrader 5: 标准", "acceptedAnswer": { "@type": "Answer", "text": "标准工具栏提供 主菜单 的基本命令..." } }] }
```
