Skip to content

Commit

Permalink
Adding phpStorm plugins for the helpers props @artspb
Browse files Browse the repository at this point in the history
  • Loading branch information
topdown committed Nov 11, 2016
1 parent 7c2e48a commit f7a4e10
Show file tree
Hide file tree
Showing 5 changed files with 127 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: generic
script:
- cp -r ./CodeIgniter plugins/CodeIgniter/
- cd plugins/CodeIgniter/
- zip -r ../../codeigniter-code-completion-helper-$TRAVIS_TAG.jar *
- cd ../../
- cp -r ./OpenCart plugins/OpenCart/
- cd plugins/OpenCart/
- zip -r ../../opencart-code-completion-helper-$TRAVIS_TAG.jar *
- cd ../../
- cp -r ./WordPress plugins/WordPress/
- cd plugins/WordPress/
- zip -r ../../wordpress-code-completion-helper-$TRAVIS_TAG.jar *
- cd ../../
deploy:
provider: releases
api_key:
secure: QmUSrY2z1c78xGxXnFq68My+r9gohsa+txDW6DlQPhxvIpbXbAF50y8B0xpSYLIMPYFoFJYguVJDm04UMTQcLE8W1ftrWHsSGwF1PaxvgX1yWFXtPRQ84N2HSKUtvPY/2RMd5oaDznHeN8koINfSkRPrcdtwLpJ83MXKn+fEbfuZIneJjdzzJJ3R5yU+nTLL+j85Gqy+g9pY29sKOLV7JHN61TrFsMC/YKDcjuMMHGjPAkodtdFmQYgF8WZgwc1OEED6iZlvBHNaMTamf+BEG4SNQT/4cpV1uwXCxBAkeDwsRfzSShAITNDPtd90JJOId5mDFVKj5n8RC/ZgHMZl/io21oZKHNRxgDrKHYmWuTZNwe+tNsQPmDBXe3munMoFiXusa2lNAddrswjQLhjvFZZGxT+r/FtebaJsu9TULGqpB2n/QycOZx2n/2bR8PFYtbpTC66LGMnBvsNL+EotJm9m531ImodKT7c2mXFz+bIXa3DdgELt4aaCrxaE06zJ3XX+gfDmlLZUZ4E90K3S/F+tdtO1d0amaAlJkOoPrZLleXdvAERrELKzJ56miZfHckZjNIo7U+aqDardlZC8kQ2z0hdrUNnFEmGZJZxKgOH9W3OCy2AjCmhBwxtzrisVqmLn0KtmgOrZxWdsUk+oR4RErYsjEu2oRA8EOjAyd10=
file:
- codeigniter-code-completion-helper-$TRAVIS_TAG.jar
- opencart-code-completion-helper-$TRAVIS_TAG.jar
- wordpress-code-completion-helper-$TRAVIS_TAG.jar
skip_cleanup: true
on:
tags: true
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ Its important that you read the comments in each file.
* Laravel submodule laravel-helpers
</pre>



##### Note: plugins work only in PhpStorm 2016.3 EAP
Props to @artspb for pointing me to this and showing me how they are created.

The plugins in this repo will be available via the phpStorm plugin system as of `2016.3 EAP`


Laravel helpers https://github.com/danielboendergaard/laravel-helpers

CodeIgniter source https://github.com/EllisLab/CodeIgniter
Expand Down
33 changes: 33 additions & 0 deletions plugins/CodeIgniter/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<idea-plugin version="2">
<id>me.artpsb.idea.plugin.codeigniter.code.completion.helper</id>
<name>CodeIgniter Code Completion Helper</name>
<version>1.0</version>
<vendor email="[email protected]" url="https://validwebs.com">Jeff Behnke</vendor>

<description><![CDATA[
Provides code completion support for CodeIgniter.
<strong>Mark as Plain Text</strong>
<ul>
<li>/system/core/Controller.php</li>
<li>/system/core/Model.php</li>
<li>/system/database/DB_active_rec.php</li>
</ul>
]]></description>

<change-notes><![CDATA[
<h3>1.0</h3>
<ul>
<li>Initial support.</li>
</ul>
]]>
</change-notes>

<idea-version since-build="163.3984"/>

<depends>com.intellij.modules.platform</depends>
<depends>com.jetbrains.php</depends>

<extensions defaultExtensionNs="com.jetbrains.php">
<libraryRoot id="CodeIgniter" path="/CodeIgniter/" runtime="false"/>
</extensions>
</idea-plugin>
34 changes: 34 additions & 0 deletions plugins/OpenCart/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<idea-plugin version="2">
<id>me.artpsb.idea.plugin.opencart.code.completion.helper</id>
<name>OpenCart Code Completion Helper</name>
<version>1.0</version>
<vendor email="[email protected]" url="https://validwebs.com">Jeff Behnke</vendor>

<description><![CDATA[
Provides code completion support for OpenCart.
<strong>Mark as Plain Text</strong>
<ul>
<li>/system/engine/controller.php</li>
<li>/system/engine/model.php</li>
<li>/system/engine/loader.php</li>
</ul>
]]></description>

<change-notes><![CDATA[
<h3>1.0</h3>
<ul>
<li>Initial support.</li>
</ul>
]]>
</change-notes>

<idea-version since-build="163.3984"/>

<depends>com.intellij.modules.platform</depends>
<depends>com.jetbrains.php</depends>

<extensions defaultExtensionNs="com.jetbrains.php">
<libraryRoot id="OpenCart" path="/OpenCart/" runtime="false"/>
</extensions>
</idea-plugin>
27 changes: 27 additions & 0 deletions plugins/WordPress/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<idea-plugin version="2">
<id>me.artpsb.idea.plugin.wordpress.code.completion.helper</id>
<name>WordPress Code Completion Helper</name>
<version>1.0</version>
<vendor email="[email protected]" url="https://validwebs.com">Jeff Behnke</vendor>

<description><![CDATA[
Provides code completion support for WordPress.
]]></description>

<change-notes><![CDATA[
<h3>1.0</h3>
<ul>
<li>Initial support.</li>
</ul>
]]>
</change-notes>

<idea-version since-build="163.3984"/>

<depends>com.intellij.modules.platform</depends>
<depends>com.jetbrains.php</depends>

<extensions defaultExtensionNs="com.jetbrains.php">
<libraryRoot id="WordPress" path="/WordPress/" runtime="false"/>
</extensions>
</idea-plugin>

0 comments on commit f7a4e10

Please sign in to comment.