Skip to content

Commit 1e9032e

Browse files
author
Vitaliy Boyko
committed
Merge branch '2.0.0-develop' of github.com:magento/magento2-phpstorm-plugin into 262-fix-command-namespace
� Conflicts: � build.gradle
2 parents 53f0d88 + 4eb16d5 commit 1e9032e

File tree

10 files changed

+152
-75
lines changed

10 files changed

+152
-75
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Run automated tests
55

66
on:
77
pull_request:
8-
branches: [ master, 1.0.1-develop, 1.0.2-develop ]
8+
branches: [ master, 1.0.2-develop, 2.0.0-develop ]
99

1010
jobs:
1111
build-linux:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This is a plugin for Magento 2 development in the PhpStorm IDE. It is available
1515
6. Check `Enable` and `OK` button.
1616

1717
## Works with
18-
* PhpStorm >= 2019.3.3
18+
* PhpStorm >= 2020.1.1
1919
* JRE >= 1.8
2020

2121
## Features

build.gradle

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
plugins {
7-
id 'org.jetbrains.intellij' version '0.4.15'
7+
id 'org.jetbrains.intellij' version '0.4.22'
88
id 'checkstyle'
99
id 'pmd'
1010
}
@@ -14,16 +14,16 @@ repositories {
1414
}
1515

1616
group 'com.magento.idea'
17-
version '1.0.2'
17+
version '2.0.0'
1818

1919
apply plugin: 'org.jetbrains.intellij'
2020
apply plugin: 'java'
2121
apply plugin: 'groovy'
2222

2323
gradle.startParameter.showStacktrace = org.gradle.api.logging.configuration.ShowStacktrace.ALWAYS_FULL
2424

25-
def phpPluginVersion = System.getProperty("phpPluginVersion", "193.6494.35")
26-
def ideaVersion = System.getProperty("ideaVersion", "2019.3.3")
25+
def phpPluginVersion = System.getProperty("phpPluginVersion", "201.7223.91")
26+
def ideaVersion = System.getProperty("ideaVersion", "2020.1.1")
2727
def javaVersion = 1.8
2828

2929
sourceCompatibility = javaVersion
@@ -33,7 +33,16 @@ intellij {
3333
version ideaVersion
3434
type 'IU'
3535
pluginName 'com.magento.idea.magento2plugin'
36-
plugins = ["com.jetbrains.php:$phpPluginVersion", 'yaml', 'java-i18n', 'properties', 'CSS', 'JavaScriptLanguage', 'com.intellij.lang.jsgraphql:2.3.0']
36+
plugins = [
37+
"com.jetbrains.php:$phpPluginVersion",
38+
'yaml',
39+
'java-i18n',
40+
'properties',
41+
'CSS',
42+
'JavaScriptLanguage',
43+
'com.intellij.lang.jsgraphql:2.3.0',
44+
'platform-images'
45+
]
3746
updateSinceUntilBuild false
3847
sameSinceUntilBuild false
3948
downloadSources !Boolean.valueOf(System.getenv('CI'))

resources/META-INF/plugin.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<idea-plugin>
88
<id>com.magento.idea.magento2plugin</id>
99
<name>Magento PhpStorm</name>
10-
<version>1.0.2</version>
10+
<version>2.0.0</version>
1111
<vendor url="https://github.com/magento/magento2-phpstorm-plugin">Magento Inc.</vendor>
1212

1313
<description><![CDATA[
@@ -24,7 +24,7 @@
2424
</change-notes>
2525

2626
<!-- please see http://confluence.jetbrains.com/display/IDEADEV/Build+Number+Ranges for description -->
27-
<idea-version since-build="193.6494.35"/>
27+
<idea-version since-build="201.7223.91"/>
2828

2929
<!-- please see http://confluence.jetbrains.com/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products
3030
on how to target different products -->
@@ -34,6 +34,7 @@
3434
<depends>com.jetbrains.php</depends>
3535
<depends>JavaScript</depends>
3636
<depends>com.intellij.modules.platform</depends>
37+
<depends>com.intellij.platform.images</depends>
3738
<depends optional="true" config-file="withJsGraphQl.xml">com.intellij.lang.jsgraphql</depends>
3839

3940
<actions>
@@ -194,6 +195,8 @@
194195
<internalFileTemplate name="Magento Module Controller Backend Class"/>
195196
<internalFileTemplate name="Magento Module Controller Frontend Class"/>
196197
<internalFileTemplate name="Magento Module Cron Groups Xml"/>
198+
199+
<postStartupActivity implementation="com.magento.idea.magento2plugin.project.startup.CheckIfMagentoPathIsValidActivity"/>
197200
</extensions>
198201

199202
<extensions defaultExtensionNs="com.jetbrains.php">

src/com/magento/idea/magento2plugin/generation/php/NewModuleForm.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public MagentoProjectGeneratorSettings getSettings() {
116116
final Settings.State state = new Settings.State();
117117
state.setPluginEnabled(true);
118118
state.setMftfSupportEnabled(true);
119-
state.setDefaultLicenseName(Settings.DEFAULT_LICENSE);
119+
state.setDefaultLicenseName(Settings.defaultLicense);
120120
state.setMagentoPathAndUpdateLastUsed(this.magentoPath.getTextField().getText().trim());
121121

122122
return new MagentoProjectGeneratorSettings(

0 commit comments

Comments
 (0)