-
Notifications
You must be signed in to change notification settings - Fork 0
/
file4.tsv
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 13.
58 lines (58 loc) · 5.01 KB
/
file4.tsv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
You can build apps with Flutter using any text editor combined with our
command-line tools. However, we recommend using one of our editor plugins for an
even better experience. These plugins provide you with code completion, syntax
highlighting, widget editing assists, run & debug support, and more. 你可以使用任意文本编辑器,结合我们的命令行工具来开发 Flutter 应用。
然而,我们推荐使用我们的编辑器插件以获取更好的开发体验。这些插件提供了代码补全、
代码高亮、widget 辅助编辑的功能,以及为项目的运行和调试提供支持等。
Follow the steps below to add an editor plugin for Android Studio, IntelliJ, or
VS Code. If you want to use a different editor, that's OK, skip ahead to the
[next step: Test drive](/docs/get-started/test-drive). 参考以下步骤为 Android Studio、IntelliJ 或者 VS Code 添加编辑器插件。
如果你想使用其他的编辑器,请直接打开 [下一节: 开发体验初探](/docs/get-started/test-drive),
来查看使用其他文本编辑器配合命令行工具来创建和运行 Flutter 应用。
{% comment %} Nav tabs {% endcomment -%}
<ul class="nav nav-tabs" id="editor-setup" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="androidstudio-tab" href="#androidstudio" role="tab" aria-controls="androidstudio" aria-selected="true">Android Studio / IntelliJ</a>
</li>
<li class="nav-item">
<a class="nav-link" id="vscode-tab" href="#vscode" role="tab" aria-controls="vscode" aria-selected="false">Visual Studio Code</a>
</li>
</ul> {% comment %} Tab panes {% endcomment -%}
<div class="tab-content">
<div class="tab-pane active" id="androidstudio" role="tabpanel" aria-labelledby="androidstudio-tab" markdown="1"> Install Android Studio
安装 Android Studio Android Studio offers a complete, integrated IDE experience for Flutter.
Android Studio 为 Flutter 提供了一个完整的集成开发环境。 [Android Studio]({{site.android-dev}}/studio), version 3.0 or later
[Android Studio](https://developer.android.google.cn/studio),3.0 或之后的版本 Alternatively, you can also use IntelliJ:
同时, 你也可以使用 IntelliJ: [IntelliJ IDEA Community](https://www.jetbrains.com/idea/download/), version 2017.1 or later
[IntelliJ IDEA Community](https://www.jetbrains.com/idea/download/), 2017.1 或之后的版本 [IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/download/), version 2017.1 or later
[IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/download/), 2017.1 或之后的版本 Install the Flutter and Dart plugins
安装 Flutter 和 Dart 插件 To install these:
安装过程如下: Start Android Studio.
打开 Android Studio。 Open plugin preferences (**Preferences > Plugins** on macOS,
**File > Settings > Plugins** on Windows & Linux).
打开插件设置(macOS 系统打开 **Preferences > Plugins**,
Windows 和 Linux 系统打开 **File > Settings > Plugins**)。 Select **Browse repositories**, select the Flutter plugin and click
**Install**.
选择 **Browse repositories**,然后选择 Flutter 插件并点击 **安装**。 Click **Yes** when prompted to install the Dart plugin.
当弹出安装 Dart 插件提示时,点击 **Yes**。 Click **Restart** when prompted.
当弹出重新启动提示时,点击 **Restart**。 </div>
<div class="tab-pane" id="vscode" role="tabpanel" aria-labelledby="vscode-tab" markdown="1">
Install VS Code 安装 VS Code
VS Code is a light-weight editor with Flutter app execution and debug support. VS Code 是一个可以运行和调试 Flutter 的轻量级编辑器。
[VS Code](https://code.visualstudio.com/), latest stable version [VS Code](https://code.visualstudio.com/),最新稳定版本
Install the Flutter and Dart plugins 安装 Flutter 和 Dart 插件
Start VS Code. 打开 VS Code。
Invoke **View > Command Palette...**. 打开 **查看 > 命令面板…**。
Type "install", and select **Extensions: Install Extensions**. 输入 "install",然后选择 **扩展: 安装扩展**。
Type "flutter" in the extensions search field, select **Flutter** in the list,
and click **Install**. This also installs the required Dart plugin. 在扩展搜索输入框中输入 "flutter",然后在列表中选择 **Flutter** 并单击 **安装**。
此过程中会自动安装必需的 Dart 插件。
Click **Reload to Activate** to reload VS Code. 点击 **重新加载** 以重新启动 VS Code。
Validate your setup with the Flutter Doctor 通过 Flutter Doctor 命令验证是否安装成功
Invoke **View > Command Palette...**. 打开 **查看 > 命令面板…**。
Type "doctor", and select the **Flutter: Run Flutter Doctor**. 输入 "doctor",选择 **Flutter: Run Flutter Doctor**。
Review the output in the **OUTPUT** pane for any issues. 打开 **输出** 面板查看是否有错误。
</div> </div>{% comment %} End: Tab panes. {% endcomment -%}
Next step 下一节
Take Flutter for a test drive: create a first project, run it, and experience
"hot reload". 开发体验初探:创建第一个项目,运行并体验“热重载”。