mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 02:07:50 +08:00
run_configurations.md: cleanup
This commit is contained in:
parent
2aeb658121
commit
d3dde13b3f
@ -14,10 +14,9 @@ section of
|
|||||||
|
|
||||||
Create an empty plugin project.
|
Create an empty plugin project.
|
||||||
See
|
See
|
||||||
[Creating a Plugin Project](/basics/getting_started/creating_plugin_project.md)
|
[Creating a Plugin Project](/basics/getting_started/creating_plugin_project.md).
|
||||||
to know how to do it.
|
|
||||||
|
|
||||||
## 1. Register a New Configuration Type
|
## 1. Register a new ConfigurationType
|
||||||
|
|
||||||
Add new *configurationType* extension to the
|
Add new *configurationType* extension to the
|
||||||
[plugin.xml](https://github.com/JetBrains/intellij-sdk-docs/blob/master/code_samples/run_configuration/resources/META-INF/plugin.xml)
|
[plugin.xml](https://github.com/JetBrains/intellij-sdk-docs/blob/master/code_samples/run_configuration/resources/META-INF/plugin.xml)
|
||||||
@ -64,7 +63,7 @@ public class DemoRunConfigurationType implements ConfigurationType {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## 3. Implement a Configuration Factory
|
## 3. Implement a ConfigurationFactory
|
||||||
|
|
||||||
Implement a new
|
Implement a new
|
||||||
[ConfigurationFactory](upsource:///platform/lang-api/src/com/intellij/execution/configurations/ConfigurationFactory.java)
|
[ConfigurationFactory](upsource:///platform/lang-api/src/com/intellij/execution/configurations/ConfigurationFactory.java)
|
||||||
@ -171,8 +170,7 @@ public class DemoSettingsEditor extends SettingsEditor<DemoRunConfiguration> {
|
|||||||
## 7. Compile and Run the Plugin
|
## 7. Compile and Run the Plugin
|
||||||
|
|
||||||
Refer to
|
Refer to
|
||||||
[Running and Debugging a Plugin](/basics/getting_started/running_and_debugging_a_plugin.md)
|
[Running and Debugging a Plugin](/basics/getting_started/running_and_debugging_a_plugin.md).
|
||||||
section to know how this could be done.
|
|
||||||
|
|
||||||
After going through the steps described above you can create a custom Run Configuration
|
After going through the steps described above you can create a custom Run Configuration
|
||||||
from your plugin.
|
from your plugin.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user