-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
out | ||
*.jar |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="PLUGIN_MODULE" version="4"> | ||
<component name="DevKit.ModuleBuildProperties" url="file://$MODULE_DIR$/META-INF/plugin.xml" /> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" /> | ||
</content> | ||
<orderEntry type="jdk" jdkName="IntelliJ IDEA IU-231.9423.9" jdkType="IDEA JDK" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
</component> | ||
</module> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<idea-plugin> | ||
<id>com.your.company.unique.plugin.id</id> | ||
<name>Plugin display name here</name> | ||
<version>1.0</version> | ||
<vendor email="[email protected]" url="http://www.yourcompany.com">YourCompany</vendor> | ||
|
||
<description><![CDATA[ | ||
Enter short description for your plugin here.<br> | ||
<em>most HTML tags may be used</em> | ||
]]></description> | ||
|
||
<change-notes><![CDATA[ | ||
Add change notes here.<br> | ||
<em>most HTML tags may be used</em> | ||
]]> | ||
</change-notes> | ||
|
||
<!-- please see https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html for description --> | ||
<idea-version since-build="173.0"/> | ||
|
||
<!-- please see https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html | ||
on how to target different products --> | ||
<depends>com.intellij.modules.platform</depends> | ||
|
||
<extensions defaultExtensionNs="com.intellij"> | ||
<!-- Add your extensions here --> | ||
</extensions> | ||
|
||
<actions> | ||
<!-- Add your actions here --> | ||
</actions> | ||
|
||
</idea-plugin> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Theme Basics [![JetBrains IntelliJ Platform SDK Docs](https://jb.gg/badges/docs.svg)][docs] | ||
*Reference: [Creating Custom Themes in IntelliJ SDK Docs][docs:themes]* | ||
|
||
## Quickstart | ||
|
||
Custom themes are available beginning in version 2019.1. | ||
|
||
Creating a custom theme is a process of choosing a base IDE Theme (Light or Darcula) then changing aspects of the base Theme definition. | ||
Custom themes can: | ||
- substitute icons, | ||
- change the colors of icons and UI controls, | ||
- alter the borders and insets of UI controls, | ||
- provide custom editor schemes, | ||
- add background images. | ||
|
||
## Structure | ||
|
||
Theme Basics plugin depends on the [IntelliJ Platform SDK][docs] and [DevKit][docs:devkit] as a build system. | ||
|
||
The main plugin definition file is stored in the [plugin.xml][file: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. | ||
|
||
### Extension Points | ||
|
||
| Name | Implementation | Extension Point Class | | ||
|------------------------------|---------------------------------------------------------|-----------------------| | ||
| `com.intellij.themeProvider` | [theme_basics.theme.json][file:theme_basics.theme.json] | | | ||
|
||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]* | ||
|
||
|
||
[docs]: https://plugins.jetbrains.com/docs/intellij/ | ||
[docs:themes]: https://plugins.jetbrains.com/docs/intellij/themes-getting-started.html | ||
[docs:ep]: https://plugins.jetbrains.com/docs/intellij/plugin-extensions.html | ||
[docs:devkit]: https://plugins.jetbrains.com/docs/intellij/developing-themes.html | ||
[docs:plugin.xml]: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html | ||
|
||
[file:plugin.xml]: ./resources/META-INF/plugin.xml | ||
[file:theme_basics.theme.json]: ./resources/theme_basics.theme.json | ||
|
||
## Troubleshooting | ||
|
||
To run the `theme_basics` plugin make sure that module SDK is correctly set up and points to IntelliJ Platform Plugin SDK, e.g. `IntelliJ IDEA IC-<version>`. To check this, go to **File | Project Structure | Project Settings | Modules | theme_basics** and select **Dependencies** tab. | ||
|
||
If the required SDK doesn't exist, it can be added in **File | Project Structure | Platform Settings | SDKs** by clicking the plus button and selecting **Add IntelliJ Platform Plugin SDK...** item. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html --> | ||
<idea-plugin> | ||
<!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. --> | ||
<!-- 插件的唯一标识符。应该是FQN。它不能在插件版本之间更改。--> | ||
<id>Eva Theme</id> | ||
<version>0.0.1</version> | ||
|
||
<!-- Public plugin name should be written in Title Case. | ||
Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name --> | ||
<name>Eva Theme</name> | ||
<category>UI</category> | ||
|
||
<!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. --> | ||
<vendor email="[email protected]" url="https://github.com/fisheva">fisheva</vendor> | ||
<!-- until-build="223.*"--> | ||
<idea-version since-build="213"/> | ||
|
||
<!-- Description of the plugin displayed on the Plugin Page and IDE Plugin Manager. | ||
Simple HTML elements (text formatting, paragraphs, and lists) can be added inside of <![CDATA[ ]]> tag. | ||
Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-description --> | ||
<description><![CDATA[ | ||
A semantic coloring and comfortable theme. | ||
]]></description> | ||
|
||
<!-- Short summary of new features and bugfixes in the latest plugin version. | ||
Displayed on the Plugin Page and IDE Plugin Manager. Simple HTML elements can be included between <![CDATA[ ]]> tags. --> | ||
<change-notes><![CDATA[ | ||
Initial release of the theme. | ||
]]></change-notes> | ||
|
||
<!-- Product and plugin compatibility requirements. | ||
Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html --> | ||
<depends>com.intellij.modules.platform</depends> | ||
|
||
<extensions defaultExtensionNs="com.intellij"> | ||
<themeProvider id="Eva Dark" path="/themes/Eva_Dark.theme.json"/> | ||
<themeProvider id="Eva Light" path="/themes/Eva_Light.theme.json"/> | ||
</extensions> | ||
</idea-plugin> |