mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
[site] custom lang support prereqs
This commit is contained in:
parent
e6738ea8a1
commit
888690f2e8
@ -41,5 +41,6 @@
|
|||||||
* [Miscellaneous Swing Components](misc_swing_components.html)
|
* [Miscellaneous Swing Components](misc_swing_components.html)
|
||||||
* [Custom Language Support](custom_language_support.html)
|
* [Custom Language Support](custom_language_support.html)
|
||||||
* [Custom Language Support Tutorial](cls_tutorial.html)
|
* [Custom Language Support Tutorial](cls_tutorial.html)
|
||||||
|
* [Prerequisites](cls_prerequisites.html)
|
||||||
|
|
||||||
|
|
||||||
|
52
cls_prerequisites.md
Normal file
52
cls_prerequisites.md
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
---
|
||||||
|
title: Prerequisites
|
||||||
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
INITIAL_SOURCE https://confluence.jetbrains.com/display/IntelliJIDEA/Prerequisites
|
||||||
|
-->
|
||||||
|
|
||||||
|
# {{ page.title }}
|
||||||
|
|
||||||
|
### 1. Download and install IntelliJ IDEA
|
||||||
|
|
||||||
|
Download and install either IntelliJ IDEA Ultimate or IntelliJ IDEA Community Edition.
|
||||||
|
|
||||||
|
### 2. Check out Community Edition source files
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone git://git.jetbrains.org/idea/community.git idea
|
||||||
|
```
|
||||||
|
|
||||||
|
### 3. Install required plugins
|
||||||
|
|
||||||
|
Make sure that the bundled Plugin DevKit plugin is enabled.
|
||||||
|
Install and enable
|
||||||
|
[Grammar-Kit](http://plugins.intellij.net/plugin?pluginId=6606)
|
||||||
|
and
|
||||||
|
[PsiViewer](http://plugins.intellij.net/plugin/?null&pluginId=227)
|
||||||
|
plugins.
|
||||||
|
|
||||||
|
### 4. Configure SDK and source files
|
||||||
|
|
||||||
|
Configure a common JDK and an IntelliJ IDEA Plugin SDK.
|
||||||
|
For IntelliJ IDEA Plugin SDK you should specify the directory with installed IntelliJ IDEA.
|
||||||
|
By default it offers the directory of the currently running IntelliJ IDEA.
|
||||||
|
|
||||||
|
To attach the Community Edition source files to the SDK, open the Sourcepath tab in the SDK configuration dialog, press the Add button and select the directory with the Community Edition source checkout.
|
||||||
|
IntelliJ IDEA will scan the directory for roots and offer the list of roots to add, with everything checked by default.
|
||||||
|
Accept the list of roots by pressing OK.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### 5. Create a project
|
||||||
|
|
||||||
|
Create an IntelliJ IDEA Plugin project and specify IntelliJ IDEA Plugin SDK.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
[Top](cls_tutorial.html)
|
||||||
|
[Next](TODO)
|
||||||
|
|
BIN
img/cls_tutorial/new_project.png
Normal file
BIN
img/cls_tutorial/new_project.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 99 KiB |
BIN
img/cls_tutorial/plugins.png
Normal file
BIN
img/cls_tutorial/plugins.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 122 KiB |
BIN
img/cls_tutorial/project_sdk.png
Normal file
BIN
img/cls_tutorial/project_sdk.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
Loading…
x
Reference in New Issue
Block a user