mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 08:47:50 +08:00
parent
cf4f0393f6
commit
2dce0189b9
@ -1,3 +1,4 @@
|
||||
## Code of Conduct
|
||||
|
||||
This project and the corresponding community is governed by the [JetBrains Open Source and Community Code of Conduct](https://confluence.jetbrains.com/display/ALL/JetBrains+Open+Source+and+Community+Code+of+Conduct). Please make sure you read it.
|
||||
This project and the corresponding community is governed by the [JetBrains Open Source and Community Code of Conduct](https://confluence.jetbrains.com/display/ALL/JetBrains+Open+Source+and+Community+Code+of+Conduct).
|
||||
Please make sure you read it.
|
||||
|
14
README.md
14
README.md
@ -6,8 +6,8 @@
|
||||
[][gh:build]
|
||||
[][jb:slack]
|
||||
|
||||
Learn how to build plugins using IntelliJ Platform SDK for the [JetBrains products][jb:products] by experimenting with
|
||||
our code samples. These samples show you how features work and help you jumpstart your plugins.
|
||||
Learn how to build plugins using IntelliJ Platform SDK for the [JetBrains products][jb:products] by experimenting with our code samples.
|
||||
These samples show you how features work and help you jumpstart your plugins.
|
||||
|
||||
There is also [IntelliJ Platform Plugin Template][gh:template] project available.
|
||||
|
||||
@ -20,15 +20,13 @@ Previous releases are made available via [tags](https://github.com/JetBrains/int
|
||||
|
||||
Code Samples depend on the [IntelliJ Platform SDK][docs] and [Gradle][docs:gradle] as a build system.
|
||||
|
||||
The main plugin definition file is stored in the `plugin.xml` file, which is created according
|
||||
to the [Plugin Configuration File documentation][docs:plugin.xml]. It describes definitions of the actions, extensions,
|
||||
or listeners provided by the plugin.
|
||||
The main plugin definition file is stored in the `plugin.xml` file, which is created according to the [Plugin Configuration File documentation][docs:plugin.xml].
|
||||
It describes definitions of the actions, extensions, or listeners provided by the plugin.
|
||||
|
||||
## Code Samples
|
||||
|
||||
In the following table, you may find all available samples provided in the separated directories as stand-alone
|
||||
projects available for running with the Gradle `:runIde` task.
|
||||
|
||||
In the following table, you may find all available samples provided in the separated directories as stand-alone projects available for running with the Gradle `:runIde` task.
|
||||
|
||||
| Code Sample | Description |
|
||||
| ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| [Action Basics](./action_basics) | Action and Action Group patterns implementation, adds entries to the Tools menu. |
|
||||
|
@ -24,4 +24,3 @@ includeBuild '../settings'
|
||||
includeBuild '../simple_language_plugin'
|
||||
includeBuild '../tool_window'
|
||||
includeBuild '../tree_structure_provider'
|
||||
|
||||
|
@ -13,7 +13,7 @@ This Plugin registers the [`PopupDialogAction`][file:PopupDialogAction] action,
|
||||
|
||||
Additional features of the plugin:
|
||||
- [Using the `<override-text>`][docs:action-override] element in an `<action>` element is demonstrated in the `plugin.xml` declaration to add the `PopupDialogAction` action directly to the `ToolsMenu`.
|
||||
- [Localization of action and group][docs:action-locale] `text` and `description` attributes using a `<resource-bundle>` is demonstrated in the declaration to add a new group to the `EditorPopupMenu`.
|
||||
- [Localization of action and group][docs:action-locale] `text` and `description` attributes using a `<resource-bundle>` is demonstrated in the declaration to add a new group to the `EditorPopupMenu`.
|
||||
|
||||
### Actions
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'comparing_references_inspection'
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'conditional_operator_intention'
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'editor'
|
||||
|
||||
|
@ -28,4 +28,3 @@ patchPluginXml {
|
||||
sinceBuild = '202'
|
||||
untilBuild = '202.*'
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'facet'
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'framework'
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'inspection'
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
# Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
kotlin.code.style=official
|
||||
kotlin.code.style=official
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'kotlin'
|
||||
|
||||
|
@ -27,4 +27,4 @@ patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '202.*'
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'live_templates'
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'maxOpenProjects'
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'module'
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
## Product Specific Code Samples
|
||||
|
||||
Please note, all samples in this folder must be imported into Gradle explicitly as they're not included in the default Gradle composite build.
|
||||
Please note, all samples in this folder must be imported into Gradle explicitly as they're not included in the default Gradle composite build.
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'pycharm'
|
||||
|
||||
|
@ -3,7 +3,8 @@
|
||||
|
||||
## Quickstart
|
||||
|
||||
Project Model Sample project provides five actions that present data extracted using `ProjectRootManager` instance in the message dialogs. Within the implemented actions, you will be able to:
|
||||
Project Model Sample project provides five actions that present data extracted using `ProjectRootManager` instance in the message dialogs.
|
||||
Within the implemented actions, you will be able to:
|
||||
- fetch libraries used in the project,
|
||||
- retrieve the information about the module details,
|
||||
- rename the used SDK,
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'project_model'
|
||||
|
||||
|
@ -27,4 +27,4 @@ patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '202.*'
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'project_view_pane'
|
||||
|
||||
|
@ -27,4 +27,4 @@ patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '202.*'
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'projectWizard'
|
||||
|
||||
|
@ -34,4 +34,3 @@ public class DemoSettingsEditor extends SettingsEditor<DemoRunConfiguration> {
|
||||
myScriptName.setComponent(new TextFieldWithBrowseButton());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,2 +1 @@
|
||||
rootProject.name = 'settings'
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
rootProject.name = 'simple_language_plugin'
|
||||
|
||||
|
@ -196,4 +196,4 @@
|
||||
</value>
|
||||
</option>
|
||||
</attributes>
|
||||
</scheme>
|
||||
</scheme>
|
||||
|
Loading…
x
Reference in New Issue
Block a user