Skip to content

Commit 44a1b00

Browse files
authored
Merge pull request #4 from cedricziel/plugin-repository
Add plugins to Plugin repository
2 parents 9430337 + eb3b9da commit 44a1b00

File tree

3 files changed

+61
-18
lines changed

3 files changed

+61
-18
lines changed

META-INF/plugin.xml

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,40 @@
11
<idea-plugin version="2">
22
<id>com.cedricziel.idea.typo3</id>
3-
<name>TYPO3</name>
4-
<version>0.1</version>
3+
<name>TYPO3 CMS Plugin</name>
4+
<version>0.1.1</version>
55
<vendor email="cedric@cedric-ziel.com" url="https://www.cedric-ziel.com">Cedric Ziel</vendor>
66

77
<description><![CDATA[
8-
TYPO3 CMS Plugin for IntelliJ IDEA products.
9-
<strong>EXPERIMENTAL</strong>
8+
<h1>TYPO3 CMS Plugin</h1>
9+
10+
<strong>beta quality</strong>
11+
12+
<h2>Features:</h2>
13+
14+
<h3>Service Locator & Extbase Dependency Injection Container</h3>
15+
16+
<p>
17+
The plugin provides you with greater code stability, since the return types of
18+
instance creations are inferred, giving you stable auto-completion and insight
19+
into the written code.
20+
</p>
21+
22+
<ul>
23+
<li>infer return type of GeneralUtility::makeInstance() calls without meta file</li>
24+
<li>infer return type of ObjectManager::get() calls without meta file</li>
25+
</ul>
26+
27+
<h2>Credits</h2>
28+
<p>Thank you to <a href="https://github.com/Haehnchen">Daniel Espendiller</a> and <a href="https://github.com/adrienbrault">Adrien Brault</a>
29+
for providing their <a href="https://github.com/Haehnchen/idea-php-symfony2-plugin">Symfony2 Plugin</a> in the first place.
30+
It is a great inspiration for possible solutions and parts of the code.</p>
31+
32+
33+
<h2><a href="https://github.com/cedricziel/idea-php-typo3-plugin/graphs/contributors">Contributors</a></h2>
34+
<ul>
35+
<li><a href="https://github.com/cedricziel">Cedric Ziel</a></li>
36+
<li><a href="https://github.com/cedricziel/idea-php-typo3-plugin/graphs/contributors">GitHub Contributors</a></li>
37+
</ul>
1038
]]></description>
1139

1240
<change-notes><![CDATA[
@@ -17,11 +45,6 @@
1745
<!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html for description -->
1846
<idea-version since-build="145.0"/>
1947

20-
<!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
21-
on how to target different products -->
22-
<!-- uncomment to enable plugin in all products
23-
<depends>com.intellij.modules.lang</depends>
24-
-->
2548
<depends>com.jetbrains.php</depends>
2649

2750
<extensions defaultExtensionNs="com.intellij">
@@ -38,4 +61,4 @@
3861
<!-- Add your actions here -->
3962
</actions>
4063

41-
</idea-plugin>
64+
</idea-plugin>

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
1-
# EXPERIMENTAL TYPO3 CMS Plugin for Jetbrains IDEA based products
1+
# TYPO3 CMS Plugin for IntelliJ IDEA / PhpStorm
2+
3+
## Installation
4+
5+
On PhpStorm or IntelliJ:
6+
7+
* open "File" -> "Settings"
8+
* select "Plugins"
9+
* select "Browse Plugins"
10+
* search "TYPO3 CMS Plugin"
11+
* choose the plugin in the left pane, click the install button in
12+
the right pane
13+
* hit apply, close the window
14+
* restart your IDE
15+
* profit!
216

317
## Features
418

519
* TypeProvider for `GeneralUtility::makeInstance`
620
* TypeProvider for `ObjectManager::get`
721

22+
## Credits
23+
24+
Thank you to <a href="https://github.com/Haehnchen">Daniel Espendiller</a> and <a href="https://github.com/adrienbrault">Adrien Brault</a>
25+
for providing their <a href="https://github.com/Haehnchen/idea-php-symfony2-plugin">Symfony2 Plugin</a> in the first place.
26+
It is a great inspiration for possible solutions and parts of the code.
27+
828
# License
929

1030
MIT

travis.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fi
1212
travisCache=".cache"
1313

1414
if [ ! -d ${travisCache} ]; then
15-
echo "Create cache" ${travisCache}
15+
echo "Create cache" ${travisCache}
1616
mkdir ${travisCache}
1717
fi
1818

@@ -21,17 +21,17 @@ function download {
2121
url=$1
2222
basename=${url##*[/|\\]}
2323
cachefile=${travisCache}/${basename}
24-
24+
2525
if [ ! -f ${cachefile} ]; then
2626
wget $url -P ${travisCache};
2727
else
2828
echo "Cached file `ls -sh $cachefile` - `date -r $cachefile +'%Y-%m-%d %H:%M:%S'`"
29-
fi
29+
fi
3030

3131
if [ ! -f ${cachefile} ]; then
3232
echo "Failed to download: $url"
3333
exit 1
34-
fi
34+
fi
3535
}
3636

3737
# Unzip IDEA
@@ -42,17 +42,17 @@ if [ -d ./idea ]; then
4242
fi
4343

4444
# Download main idea folder
45-
download "http://download.jetbrains.com/idea/ideaIU-${ideaVersion}.tar.gz"
45+
download "https://download.jetbrains.com/idea/ideaIU-${ideaVersion}.tar.gz"
4646
tar zxf ${travisCache}/ideaIU-${ideaVersion}.tar.gz -C .
4747

4848
# Move the versioned IDEA folder to a known location
4949
ideaPath=$(find . -name 'idea-IU*' | head -n 1)
5050
mv ${ideaPath} ./idea
51-
51+
5252
if [ -d ./plugins ]; then
5353
rm -rf plugins
5454
mkdir plugins
55-
echo "created plugin dir"
55+
echo "created plugin dir"
5656
fi
5757

5858
if [ "$PHPSTORM_ENV" == "2016.3.1" ]; then

0 commit comments

Comments
 (0)