run_configurations_tutorial.md: Add code formatting to titles

This commit is contained in:
Karol Lewandowski 2024-04-08 12:56:17 +02:00
parent 61303909c3
commit 22e0312ec2

View File

@ -1,4 +1,4 @@
<!-- Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. --> <!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
# Run Configurations Tutorial # Run Configurations Tutorial
@ -20,7 +20,7 @@ The full implementation is available in the [code samples](%gh-sdk-samples%/run_
Create an empty plugin project. Create an empty plugin project.
See the [](creating_plugin_project.md) section for details. See the [](creating_plugin_project.md) section for details.
## Implement a ConfigurationType ## Implement a `ConfigurationType`
Implement [`ConfigurationType`](%gh-ic%/platform/execution/src/com/intellij/execution/configurations/ConfigurationType.java): Implement [`ConfigurationType`](%gh-ic%/platform/execution/src/com/intellij/execution/configurations/ConfigurationType.java):
@ -28,7 +28,7 @@ Implement [`ConfigurationType`](%gh-ic%/platform/execution/src/com/intellij/exec
``` ```
{src="run_configuration/src/main/java/org/jetbrains/sdk/runConfiguration/DemoRunConfigurationType.java" include-symbol="DemoRunConfigurationType"} {src="run_configuration/src/main/java/org/jetbrains/sdk/runConfiguration/DemoRunConfigurationType.java" include-symbol="DemoRunConfigurationType"}
## Register the ConfigurationType ## Register the `ConfigurationType`
Register implemented configuration type in `com.intellij.configurationType` extension point in the [plugin.xml](%gh-sdk-samples%/run_configuration/src/main/resources/META-INF/plugin.xml): Register implemented configuration type in `com.intellij.configurationType` extension point in the [plugin.xml](%gh-sdk-samples%/run_configuration/src/main/resources/META-INF/plugin.xml):
@ -39,7 +39,7 @@ Register implemented configuration type in `com.intellij.configurationType` exte
</extensions> </extensions>
``` ```
## Implement a ConfigurationFactory ## Implement a `ConfigurationFactory`
Implement a new [`ConfigurationFactory`](%gh-ic%/platform/execution/src/com/intellij/execution/configurations/ConfigurationFactory.java) through which custom run configurations will be created. Implement a new [`ConfigurationFactory`](%gh-ic%/platform/execution/src/com/intellij/execution/configurations/ConfigurationFactory.java) through which custom run configurations will be created.
@ -53,7 +53,7 @@ Implement corresponding configuration options class extending [`RunConfiguration
``` ```
{src="run_configuration/src/main/java/org/jetbrains/sdk/runConfiguration/DemoRunConfigurationOptions.java" include-symbol="DemoRunConfigurationOptions"} {src="run_configuration/src/main/java/org/jetbrains/sdk/runConfiguration/DemoRunConfigurationOptions.java" include-symbol="DemoRunConfigurationOptions"}
## Implement a Run Configuration ## Implement a `RunConfiguration`
To make your changes visible from the UI, implement a new run configuration. To make your changes visible from the UI, implement a new run configuration.
@ -66,7 +66,7 @@ To make your changes visible from the UI, implement a new run configuration.
``` ```
{src="run_configuration/src/main/java/org/jetbrains/sdk/runConfiguration/DemoRunConfiguration.java" include-symbol="DemoRunConfiguration"} {src="run_configuration/src/main/java/org/jetbrains/sdk/runConfiguration/DemoRunConfiguration.java" include-symbol="DemoRunConfiguration"}
## Implement the Settings Editor ## Implement the `SettingsEditor`
```java ```java
``` ```