diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 7f4808780..f83a4466a 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,13 +1,11 @@ # Setting up development environment 1. Check out this repository -1. Download PhpStorm build specified in the [META-INF/plugin.xml](./META-INF/plugin.xml). Older builds can be found [here](https://confluence.jetbrains.com/display/PhpStorm/Previous+PhpStorm+Releases) -1. Create a new project in the InteliJ. The type of the project must be "InteliJ Platform Plugin". Specify a path to the PhpStorm from the previous step as SDK for this project -1. Instead of creating a project in a new directory, point it to an existing one checked out in the first step. When prompted, replace all configs -1. Revert any local modifications (which were done by the IDE during project creation) -1. Follow [these steps](http://www.jetbrains.org/intellij/sdk/docs/products/phpstorm/setting_up_environment.html) and additionally include dependency on the `javascript-openapi` -1. You may also need to install JDK 1.8 -1. To make sure that environment is configured correctly, `Run` the plugin. You should see a new instance of PhpStorm launched with the plugin installed. Make sure that plugin is enabled in PhpStorm settings and indexing is finished. Plugin features should be accessible at this point +1. Open a folder with the project in the IntelliJ Ultimate using the `open` action button. +1. Make sure that you on the latest develop branch (e.g 1.0.0-develop) +1. Right-click on the `build.gradle` file, choose "Import Gradle project" +1. When the Gradle sections appeared in the right bar, navigate there and right-click `magento-2-php-storm-plguin > Tasks -> Intellij -> runIde` +1. Click on "Run "magento-2-php-storm-plugin" to run the plugin. You should see a new instance of IntelliJ launched with the plugin installed. Make sure that the plugin is enabled in IntelliJ settings and indexing is finished. Plugin features should be accessible at this point. # Plugin publication diff --git a/.gitignore b/.gitignore index 97d231406..deec285f1 100644 --- a/.gitignore +++ b/.gitignore @@ -50,4 +50,3 @@ out .idea-sandbox build gradle -build diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b72fe2ed..8e3ee87d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +1.0.0 +============= +* Features: + * "Go to GraphQL schema" line marker in the scope of class/interface and method + * "Go to GraphQL resolver class" line marker in the scope of GraphQL schema type arguments + * RequireJS mapping support (reference navigation, completion) + * Plugin class methods generation + * Plugin declaration inspection in the scope of a Plugin Class + * MFTF support (reference navigation, completion) + * Fixed support of 2020.* versions of IDE's + * Create a New Magento 2 Module action + * Code Inspection: Duplicated Observer Usage in events XML + * Create a Plugin class for a class public method action + * Code Inspection: Warning regarding Cacheable false attribute in default XML + * Create a Preference for a class action + 0.3.0 ============= * Features: diff --git a/README.md b/README.md index b2aa9c53f..ab0f8d3ce 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ This is a plugin for Magento 2 development in the PhpStorm IDE. It is available 6. Check "Enable" and "OK" button. ## Works with -* PhpStorm >= 2017.2 +* PhpStorm >= 2019.3.3 * JRE >= 1.8 ## Features @@ -24,6 +24,13 @@ This is a plugin for Magento 2 development in the PhpStorm IDE. It is available * "Navigate to configuration" reference in scope of class/interface * "Go to plugin" reference in scope of class/interface and method * "Navigate to Web API configuration" reference in scope of class/interface and method +* Plugin class methods generation +* Plugin declaration inspection +* RequireJs reference navigation and completion +* MFTF reference navigation and completion +* GraphQL navigation line markers +* Code generation +* Inspections for XML configuration ## License Each Magento source file included in this distribution is licensed under OSL-3.0 license.