提交 3f39e3ab 编写于 作者: M Mao

translate vscode_ide

change spring_origin to origin, spring_translation to translation
上级 0bffbaff
# Working a Getting Started guide with IntelliJ IDEA
This guide walks you through using IntelliJ IDEA to build one of the Getting Started guides.
## What you’ll build
You’ll pick a Spring guide and import it into IntelliJ IDEA. Then you can read the guide, work on the code, and run the project.
## What you’ll need
- About 15 minutes
- [IntelliJ IDEA](https://www.jetbrains.com/idea/download/)
- [JDK 6](http://www.oracle.com/technetwork/java/javase/downloads/index.html) or later
## Installing IntelliJ IDEA
If you don’t have IntelliJ IDEA (Ultimate Edition) installed yet, visit the link up above. From there, you can download a copy for your platform. To install it simply unpack the downloaded archive.
When you’re done, go ahead and launch IntelliJ IDEA.
## Importing a Getting Started guide
To import an existing project you need some code, so clone or copy one of the Getting Started guides, e.g. the [REST Service](https://spring.io/guides/gs/rest-service/) guide:
```
$ git clone https://github.com/spring-guides/gs-rest-service.gitCOPY
```
With IntelliJ IDEA up and running, click **Import Project** on the **Welcome Screen**, or **File | Open** on the main menu:
![spring_guide_welcome_import](./vscode_ide/spring_guide_welcome_import.png)
In the pop-up dialog make sure to select either [Maven](https://spring.io/guides/gs/maven)'s **pom.xml** or [Gradle](https://spring.io/guides/gs/gradle)'s **build.gradle** file under the **complete** folder:
![spring_guide_select_gradle_file](./vscode_ide/spring_guide_select_gradle_file.png)
IntelliJ IDEA will create a project with all the code from the guide ready to run.
## Creating a Project from Scratch
In case you’d like to start with an empty project and copy-and-paste your way through the guide, create a new **Maven** or **Gradle** project in the **Project Wizard**:
![spring_guide_new_project](./vscode_ide/spring_guide_new_project.png)
## See Also
The following guide may also be helpful:
- [Working a Getting Started guide with STS](https://spring.io/guides/gs/sts/)
原文链接: https://spring.io/guides/gs/intellij-idea/
\ No newline at end of file
# 使用 IntelliJ IDEA 编写入门指南
本指南将引导您使用 IntelliJ IDEA 构建入门指南之一。
## 您将构建什么
您将选择一个 Spring 指南并将其导入 IntelliJ IDEA。然后,您可以阅读指南、编写代码并运行项目。
## 你需要什么
- 约15分钟
- [IntelliJ IDEA](https://www.jetbrains.com/idea/download/)
- [JDK 6](http://www.oracle.com/technetwork/java/javase/downloads/index.html)或更高版本
## 安装 IntelliJ IDEA
如果您尚未安装 IntelliJ IDEA(终极版),请访问上面的链接。从那里,您可以下载适用于您平台的副本。要安装它,只需解压缩下载的存档。
完成后,继续启动 IntelliJ IDEA。
## 导入入门指南
要导入现有项目,您需要一些代码,因此请克隆或复制入门指南之一,例如[REST 服务](https://spring.io/guides/gs/rest-service/)指南:
```
$ git clone https://github.com/spring-guides/gs-rest-service.git复制
```
在 IntelliJ IDEA 启动并运行后,单击**欢迎屏幕**上的**Import Project****File |** 在主菜单上**打开:**
![spring_guide_welcome_import](./vscode_ide/spring_guide_welcome_import.png)
在弹出对话框中,确保选择**完整**文件夹下的[Maven](https://spring.io/guides/gs/maven)**pom.xml**[Gradle](https://spring.io/guides/gs/gradle)**build.gradle**文件:
![spring_guide_select_gradle_file](./vscode_ide/spring_guide_select_gradle_file.png)
IntelliJ IDEA 将创建一个项目,其中包含准备运行的指南中的所有代码。
## 从头开始创建项目
如果您想从一个空项目开始并通过指南复制粘贴,请在**项目向导中创建一个新的****Maven****Gradle**项目:
![spring_guide_new_project](./vscode_ide/spring_guide_new_project.png)
## 也可以看看
以下指南也可能会有所帮助:
- [使用 STS 编写入门指南](https://spring.io/guides/gs/sts/)https://spring.io/guides/gs/sts/)
原文链接: https://spring.io/guides/gs/intellij-idea/
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册