Skip to content

Commit

Permalink
review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Danil42Russia committed Sep 16, 2024
1 parent 962af96 commit 8f69b5c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
6 changes: 2 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ dependencies {

// Configure IntelliJ Platform Gradle Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html
intellijPlatform {
pluginVerification {
freeArgs = listOf("-mute", "TemplateWordInPluginName")
}

pluginConfiguration {
version = providers.gradleProperty("pluginVersion")

Expand All @@ -77,6 +73,8 @@ intellijPlatform {
}

pluginVerification {
freeArgs = listOf("-mute", "TemplateWordInPluginName")

ides {
recommended()
}
Expand Down
18 changes: 9 additions & 9 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@

<postStartupActivity implementation="com.vk.kphpstorm.configuration.KphpStormStartupActivity"/>
</extensions>

<extensions defaultExtensionNs="com.jetbrains.php">
<typeProvider4 implementation="com.vk.kphpstorm.typeProviders.TupleShapeTypeProvider"/>
<!-- <typeProvider4 implementation="com.vk.kphpstorm.typeProviders.TemplateObjectAccessTypeProvider"/>-->
<typeProvider4 implementation="com.vk.kphpstorm.typeProviders.FunctionsTypeProvider"/>
<typeProvider4 implementation="com.vk.kphpstorm.typeProviders.ForeachTypeProvider"/>
<typeProvider4 implementation="com.vk.kphpstorm.typeProviders.JsonEncoderTypeProvider"/>
</extensions>

<extensions defaultExtensionNs="com.intellij">
<php.docTagParserExtension tagName="return" implementationClass="com.vk.kphpstorm.exphptype.psi.PhpDocReturnTagParserEx" order="first" />
<php.docTagParserExtension tagName="return" implementationClass="com.vk.kphpstorm.exphptype.psi.PhpDocReturnTagParserEx" order="first" />
Expand Down Expand Up @@ -140,15 +149,6 @@
<php.docTagParserExtension tagName="kphp-json" implementationClass="com.vk.kphpstorm.kphptags.parser.KphpDocTagJsonParser"/>
</extensions>


<extensions defaultExtensionNs="com.jetbrains.php">
<typeProvider4 implementation="com.vk.kphpstorm.typeProviders.TupleShapeTypeProvider"/>
<!-- <typeProvider4 implementation="com.vk.kphpstorm.typeProviders.TemplateObjectAccessTypeProvider"/>-->
<typeProvider4 implementation="com.vk.kphpstorm.typeProviders.FunctionsTypeProvider"/>
<typeProvider4 implementation="com.vk.kphpstorm.typeProviders.ForeachTypeProvider"/>
<typeProvider4 implementation="com.vk.kphpstorm.typeProviders.JsonEncoderTypeProvider"/>
</extensions>

<actions>
<group id="com.vk.kphpstorm" text="KPHPStorm" popup="true" icon="/icons/kphp_logo.svg">
<add-to-group group-id="ToolsMenu" anchor="last"/>
Expand Down

0 comments on commit 8f69b5c

Please sign in to comment.