mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
Refreshed deployment page to use install plugin from disk, clarified intellij platform plugin project.
This commit is contained in:
parent
12a61c2fb8
commit
c006f4ec68
@ -5,7 +5,7 @@ title: Creating a Plugin Project
|
||||
This section explains how you can create a new plugin project from scratch using the New Project wizard. Optionally, you can import an existing project or import a project from external models. You can also add a new plugin module to an existing *IntelliJ Platform* project.
|
||||
For more information, refer to the [IntelliJ IDEA Web Help](https://www.jetbrains.com/idea/help/new-project-wizard.html).
|
||||
|
||||
### To Create an IntelliJ Platform Project:
|
||||
### To Create an IntelliJ Platform Plugin Project:
|
||||
|
||||
* On the main menu, choose **File \| New \| Project**. The *New Project*
|
||||
wizard starts.
|
||||
|
@ -6,8 +6,8 @@ Before your custom plugin can be used, it must be deployed: built, installed, an
|
||||
|
||||
To deploy a plugin:
|
||||
|
||||
* Make your project by invoking **Build \| Make Project**.
|
||||
* Prepare your plugin for deployment. In the main menu, select **Build \| Prepare Plugin Module '\<module name\>' for Deployment**.
|
||||
* Make your project by invoking **Build \| Build Project** or **Build \| Build Module \<module name\>**.
|
||||
* Prepare your plugin for deployment. In the main menu, select **Build \| Prepare Plugin Module \<module name\> for Deployment**.
|
||||
|
||||

|
||||
|
||||
@ -15,13 +15,10 @@ To deploy a plugin:
|
||||
|
||||

|
||||
|
||||
* Copy the newly created archive file to the `.IntelliJIDEAx0\config\plugins` folder, and then restart your IDE so the changes may take effect. To know how to locate your *plugins* directory,
|
||||
refer to [IDE Settings, Caches, Logs, and Plugins](https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs).
|
||||
* [Install](https://www.jetbrains.com/help/idea/managing-plugins.html#installing-plugins-from-disk)
|
||||
the newly created archive/jar file from disk. The `editor_basics` code sample builds the plugin archive/jar into the `editor_basics` project folder:
|
||||
|
||||

|
||||
|
||||
* In the main menu, select **File \| Settings** to open the Settings dialog box.
|
||||
* In the Settings dialog box, under **IDE Settings**, click **Plugins**.
|
||||
* In the Plugins area, open the **Installed** tab, and then select the check-box next to your plugin name.
|
||||
* When finished, click OK to close the Settings dialog box.
|
||||
* Restart the IDE so that your changes take effect.
|
||||
* Restart your IDE so the changes will take effect.
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 60 KiB |
Binary file not shown.
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 100 KiB |
Loading…
x
Reference in New Issue
Block a user