mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 01:37:51 +08:00
Update setting_up_environment.md
This commit is contained in:
parent
2b4b3fab43
commit
b036c02b51
@ -4,44 +4,40 @@ title: Setting Up Development Environment
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
In order to set up the plugin development environment, you should follow these steps:
|
To set up your plugin development environment:
|
||||||
|
|
||||||
* Check out the sources of IntelliJ IDEA Community Edition as described in
|
* Check out the source code of IntelliJ IDEA Community Edition as described in
|
||||||
[Check Out And Build Community Edition](checkout_and_build_community.html)
|
[Check Out And Build Community Edition](checkout_and_build_community.html).
|
||||||
|
|
||||||
* Create a new *IntelliJ IDEA SDK*
|
* Create a new *IntelliJ IDEA SDK*:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Set *IDEA jdk* created in
|
* Set *IDEA jdk* created in
|
||||||
[Check Out And Build Community Edition](checkout_and_build_community.html)
|
[Check Out And Build Community Edition](checkout_and_build_community.html)
|
||||||
as a default Java SDK
|
as the default Java SDK:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Specify your installation of *IntelliJ IDEA Community Edition* as the home path
|
* Specify your installation folder of *IntelliJ IDEA Community Edition* as the home path.
|
||||||
|
|
||||||
**Note:**
|
**Note:**
|
||||||
You can use IDEA Ultimate as well, but debugging the core code will only work with the *Community Edition*
|
You may use IntelliJ IDEA Ultimate as an alternative, but the debugging of core code will only work with the *Community Edition*.
|
||||||
|
|
||||||
* In the Sourcepath tab of the SDK settings, press ```Add``` button
|
* In the Sourcepath tab of the SDK settings, click the ```Add``` button:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Specify the directory into which you have checked out the sources of the *Community Edition*
|
* Specify the directory into which you have checked out the sources of the *Community Edition*:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Go to **File \| New \| Module**
|
* Select **File \| New \| Module** and choose the *IntelliJ Platform Plugin* module type
|
||||||
|
|
||||||
* Choose *IntelliJ Platform Plugin* module type
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Set desired plugin name
|
* Enter your desired plugin name.
|
||||||
|
|
||||||
* Go to **File \| Project Structure**
|
* Go to **File \| Project Structure** and select the newly created *IntelliJ Platform SDK* as the default SDK for the plugin module:
|
||||||
|
|
||||||
* Select the newly created *IntelliJ Platform SDK* as a default SDK for the plugin module
|
|
||||||
|
|
||||||

|

|
||||||
|
Loading…
x
Reference in New Issue
Block a user