Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into #1-CI/CD_Integration
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnyprod committed Jul 8, 2022
2 parents dacc989 + f08aa34 commit 7189c92
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 25 deletions.
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# SprykerKit - intellij plugin for spryker file generation integrated into your ide

https://docs.nxs360.com/nexus/developer/phpstorm/spryker-kit-beta/

## ToDo list
- [x] Create a new plugin to generated spryker files context based (Namespace: Pyz)
- [x] Adjust docs
Expand All @@ -24,15 +22,6 @@ https://docs.nxs360.com/nexus/developer/phpstorm/spryker-kit-beta/
[![Version](https://img.shields.io/jetbrains/plugin/v/PLUGIN_ID.svg)](https://plugins.jetbrains.com/plugin/PLUGIN_ID)
[![Downloads](https://img.shields.io/jetbrains/plugin/d/PLUGIN_ID.svg)](https://plugins.jetbrains.com/plugin/PLUGIN_ID)

## Template ToDo list
- [x] Create a new [IntelliJ Platform Plugin Template][template] project.
- [ ] Verify the [pluginGroup](/gradle.properties), [plugin ID](/src/main/resources/META-INF/plugin.xml) and [sources package](/src/main/kotlin).
- [ ] Review the [Legal Agreements](https://plugins.jetbrains.com/docs/marketplace/legal-agreements.html).
- [ ] [Publish a plugin manually](https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/publishing_plugin.html) for the first time.
- [ ] Set the Plugin ID in the above README badges.
- [ ] Set the [Deployment Token](https://plugins.jetbrains.com/docs/marketplace/plugin-upload.html).
- [ ] Click the <kbd>Watch</kbd> button on the top of the [IntelliJ Platform Plugin Template][template] to be notified about releases containing new features and fixes.

<!-- Plugin description -->
Supports the development of [Spryker](https://www.spryker.com) applications with Intellij IDEA.

Expand All @@ -51,14 +40,5 @@ Features:

<kbd>Preferences</kbd> > <kbd>Plugins</kbd> > <kbd>Marketplace</kbd> > <kbd>Search for "intellij_spryker_plugin"</kbd> >
<kbd>Install Plugin</kbd>

- Manually:

Download the [latest release](https://github.com/patrickjaja/intellij_spryker_plugin/releases/latest) and install it manually using
<kbd>Preferences</kbd> > <kbd>Plugins</kbd> > <kbd>⚙️</kbd> > <kbd>Install plugin from disk...</kbd>


---
Plugin based on the [IntelliJ Platform Plugin Template][template].

[template]: https://github.com/JetBrains/intellij-platform-plugin-template
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
// Kotlin support
id("org.jetbrains.kotlin.jvm") version "1.6.10"
// Gradle IntelliJ Plugin
id("org.jetbrains.intellij") version "1.4.0"
id("org.jetbrains.intellij") version "1.5.2"
// Gradle Changelog Plugin
id("org.jetbrains.changelog") version "1.3.1"
// Gradle Qodana Plugin
Expand Down Expand Up @@ -50,6 +50,7 @@ intellij {
version.set(properties("platformVersion"))
type.set(properties("platformType"))

//localPath.set("/home/patrickjaja/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/213.6777.58")
// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file.
plugins.set(properties("platformPlugins").split(',').map(String::trim).filter(String::isNotEmpty))
}
Expand Down
1 change: 1 addition & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-cayman
37 changes: 37 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## Welcome to GitHub Pages

You can use the [editor on GitHub](https://github.com/nexusunited/spryker-kit-intellij-plugin/edit/main/docs/index.md) to maintain and preview the content for your website in Markdown files.

Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site, from the content in your Markdown files.

### Markdown

Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for

```markdown
Syntax highlighted code block

# Header 1
## Header 2
### Header 3

- Bulleted
- List

1. Numbered
2. List

**Bold** and _Italic_ and `Code` text

[Link](url) and ![Image](src)
```

For more details see [Basic writing and formatting syntax](https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).

### Jekyll Themes

Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/nexusunited/spryker-kit-intellij-plugin/settings/pages). The name of this theme is saved in the Jekyll `_config.yml` configuration file.

### Support or Contact

Having trouble with Pages? Check out our [documentation](https://docs.github.com/categories/github-pages-basics/) or [contact support](https://support.github.com/contact) and we’ll help you sort it out.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public CreateSprykerModuleAction()
}

@Override
protected void invokeDialog(@NotNull Project project, @NotNull PsiDirectory directory, @NotNull Consumer<PsiElement[]> elementsConsumer) {
protected void invokeDialog(@NotNull Project project, @NotNull PsiDirectory directory, @NotNull Consumer<? super PsiElement[]> elementsConsumer) {
this.project = project;
MyInputValidator validator = new MyInputValidator(project, directory);
String moduleName = Messages.showInputDialog(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
import javax.swing.*;

public class ValanticIcons {

public static final Icon Sdk_default_icon = IconLoader.findIcon("/3360-16x16.png");

public static final Icon Sdk_default_icon = IconLoader.findIcon("/3360-16x16.png", ValanticIcons.class.getClassLoader());
public static final Icon folderIcon = AllIcons.Actions.NewFolder;
public static final Icon moduleIcon = AllIcons.Actions.ModuleDirectory;
public static final Icon fileIcon = AllIcons.Actions.AddFile;
Expand Down

0 comments on commit 7189c92

Please sign in to comment.