Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed .gitignore, change.log, contributing.md #72

Merged
merged 1 commit into from
Apr 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ out
.idea-sandbox
build
gradle
build
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down