Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shopwareLabs/shopware6-phpstorm-plugin


https://github.com/shopwareLabs/shopware6-phpstorm-plugin

hacktoberfest intellij-plugin

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Shopware 6 Toolbox

![Build](https://github.com/shyim/shopware6-phpstorm-plugin/workflows/Build/badge.svg)
[![Version](https://img.shields.io/jetbrains/plugin/v/17632.svg)](https://plugins.jetbrains.com/plugin/17632)
[![Downloads](https://img.shields.io/jetbrains/plugin/d/17632.svg)](https://plugins.jetbrains.com/plugin/17632)

Shopware 6 Toolbox is a helper plugin for Shopware 6 development. It adds some live templates and scaffolding of common Shopware files.

Current features:

- Lot of live templates for developing. Use STRG + J to see all live templates of current scope
- Generators:
- Vue.js Admin component
- config.xml
- `Extend this block` in Storefront with auto file creation
- Vue module
- Scheduled task
- Changelog
- Inspection to show an error when abstract class is used incorrectly in the constructor
- Autocompletion for:
- Admin component
- Snippets in Administration and Storefront
- Storefront functions theme_config, config, seoUrl, sw_include and sw_extends
- Repositories at `this.repositoryFactory.create`
- `Module.register` labels
- Show only admin component autocompletion when the twig file is next to an index.js
- Feature flag

## Installation

- Using IDE built-in plugin system (**recommended**):

Settings/Preferences > Plugins > Marketplace > Search for "Shopware 6 Toolbox" >
Install Plugin

- Manually:

Download the [latest release](https://github.com/shyim/shopware6-phpstorm-plugin/releases/latest) and install it manually using
Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

## Showcase

### Components

#### Component Extent Autocomplete

![Component Extent Autocomplete](doc/images/component-extend.png)

#### Lookup in Twig

![Lookup in Twig](doc/images/component-autocomplete.png)

#### Properties

![Properties](doc/images/property-autocomplete.png)

### Create Plugin

![Create Plugin](doc/images/create-plugin.png)

### Config Autocomplete

#### Theme Config

![Theme Config](doc/images/theme-config.png)

#### System Config

![System Config](doc/images/system-config.png)

#### Config in Twig

![Config in Twig](doc/images/config-in-twig.png)

#### Strings

![Strings](doc/images/config-in-twig.png)

### Blocks

#### Step 1

![Blocks - Step 1](doc/images/extend-block1.png)

#### Step 2

![Blocks - Step 2](doc/images/extend-block2.png)

#### Step 3

![Blocks - Step 3](doc/images/extend-block3.png)