mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 09:47:50 +08:00
parent
cf4f0393f6
commit
2dce0189b9
@ -1,3 +1,4 @@
|
|||||||
## Code of Conduct
|
## 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.
|
||||||
|
12
README.md
12
README.md
@ -6,8 +6,8 @@
|
|||||||
[][gh:build]
|
[][gh:build]
|
||||||
[][jb:slack]
|
[][jb:slack]
|
||||||
|
|
||||||
Learn how to build plugins using IntelliJ Platform SDK for the [JetBrains products][jb:products] by experimenting with
|
Learn how to build plugins using IntelliJ Platform SDK for the [JetBrains products][jb:products] by experimenting with our code samples.
|
||||||
our code samples. These samples show you how features work and help you jumpstart your plugins.
|
These samples show you how features work and help you jumpstart your plugins.
|
||||||
|
|
||||||
There is also [IntelliJ Platform Plugin Template][gh:template] project available.
|
There is also [IntelliJ Platform Plugin Template][gh:template] project available.
|
||||||
|
|
||||||
@ -20,14 +20,12 @@ 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.
|
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
|
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].
|
||||||
to the [Plugin Configuration File documentation][docs:plugin.xml]. It describes definitions of the actions, extensions,
|
It describes definitions of the actions, extensions, or listeners provided by the plugin.
|
||||||
or listeners provided by the plugin.
|
|
||||||
|
|
||||||
## Code Samples
|
## Code Samples
|
||||||
|
|
||||||
In the following table, you may find all available samples provided in the separated directories as stand-alone
|
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.
|
||||||
projects available for running with the Gradle `:runIde` task.
|
|
||||||
|
|
||||||
| Code Sample | Description |
|
| Code Sample | Description |
|
||||||
| ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||||
|
@ -24,4 +24,3 @@ includeBuild '../settings'
|
|||||||
includeBuild '../simple_language_plugin'
|
includeBuild '../simple_language_plugin'
|
||||||
includeBuild '../tool_window'
|
includeBuild '../tool_window'
|
||||||
includeBuild '../tree_structure_provider'
|
includeBuild '../tree_structure_provider'
|
||||||
|
|
||||||
|
@ -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.
|
// 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'
|
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.
|
// 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'
|
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.
|
// 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'
|
rootProject.name = 'editor'
|
||||||
|
|
||||||
|
@ -28,4 +28,3 @@ patchPluginXml {
|
|||||||
sinceBuild = '202'
|
sinceBuild = '202'
|
||||||
untilBuild = '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.
|
// 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'
|
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.
|
// 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'
|
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.
|
// 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'
|
rootProject.name = '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.
|
// 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'
|
rootProject.name = 'kotlin'
|
||||||
|
|
||||||
|
@ -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.
|
// 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'
|
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.
|
// 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'
|
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.
|
// 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'
|
rootProject.name = 'module'
|
||||||
|
|
||||||
|
@ -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.
|
// 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'
|
rootProject.name = 'pycharm'
|
||||||
|
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
## Quickstart
|
## 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,
|
- fetch libraries used in the project,
|
||||||
- retrieve the information about the module details,
|
- retrieve the information about the module details,
|
||||||
- rename the used SDK,
|
- 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.
|
// 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'
|
rootProject.name = 'project_model'
|
||||||
|
|
||||||
|
@ -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.
|
// 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'
|
rootProject.name = 'project_view_pane'
|
||||||
|
|
||||||
|
@ -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.
|
// 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'
|
rootProject.name = 'projectWizard'
|
||||||
|
|
||||||
|
@ -34,4 +34,3 @@ public class DemoSettingsEditor extends SettingsEditor<DemoRunConfiguration> {
|
|||||||
myScriptName.setComponent(new TextFieldWithBrowseButton());
|
myScriptName.setComponent(new TextFieldWithBrowseButton());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,2 +1 @@
|
|||||||
rootProject.name = 'settings'
|
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.
|
// 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'
|
rootProject.name = 'simple_language_plugin'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user