-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed highlight for "switch" keyword (#5)
* 1. Fixed highlight for "switch" keyword 2. Updated readme to expand information about how to start develop the Zephir plugin 3. Changed depended lib to support by now days IDE * Removed extra gitignore files * removed extra space * Added empty line * Syntax fix * Added empty line to xml file
- Loading branch information
1 parent
d483961
commit 07a947d
Showing
9 changed files
with
110 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/out/ | ||
/gen/ | ||
src/com/zephir/lexer/ZephirLexer.java | ||
*~ | ||
*.jar |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="PLUGIN_MODULE" version="4"> | ||
<component name="DevKit.ModuleBuildProperties" url="file://$MODULE_DIR$/META-INF/plugin.xml" /> | ||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="true"> | ||
<component name="DevKit.ModuleBuildProperties" url="file://$MODULE_DIR$/resources/META-INF/plugin.xml" /> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.idea" /> | ||
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" /> | ||
</content> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="library" name="lib" level="project" /> | ||
</component> | ||
</module> | ||
|
||
</module> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<idea-plugin url="https://github.com/zephir-lang/idea-plugin"> | ||
<id>com.zephir</id> | ||
<name>Zephir</name> | ||
<version>0.2.5</version> | ||
<vendor email="[email protected]" url="http://zephir-lang.com">Zephir Team</vendor> | ||
|
||
<description><![CDATA[ | ||
Language support for the <a href="http://zephir-lang.com">Zephir Language</a> | ||
<p>Zephir - Ze(nd Engine) Ph(p) I(nt)r(mediate) - is a high level language that eases the creation and maintainability | ||
of extensions for PHP. Zephir extensions are exported to C code that can be compiled and optimized by major C compilers | ||
such as gcc/clang/vc++. Functionality is exposed to the PHP language.</p> | ||
]]></description> | ||
|
||
<change-notes><![CDATA[ | ||
<li><b>0.2.5</b>: Fixed "switch" keyword detection</li> | ||
<li><b>0.2.4</b>: Added brace matching</li> | ||
<li><b>0.2.3</b>: Fixed build</li> | ||
<li><b>0.2.2</b>: Improve highlighter, added color settings page</li> | ||
<li><b>0.2.1</b>: Disabled "New Zephir class" dialog</li> | ||
<li><b>0.2.0</b>: Added lexer and simple syntax highlighter</li> | ||
<li><b>0.1.0</b>: Initial plugin</li> | ||
]]></change-notes> | ||
|
||
<!-- please see http://confluence.jetbrains.com/display/IDEADEV/Build+Number+Ranges for description --> | ||
<idea-version since-build="130.1"/> | ||
|
||
<!-- please see http://confluence.jetbrains.com/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products | ||
on how to target different products --> | ||
<depends>com.intellij.modules.lang</depends> | ||
|
||
<extensions defaultExtensionNs="com.intellij"> | ||
|
||
<!--<lang.parserDefinition language="Zephir" implementationClass="com.zephir.ZephirParserDefinition"/>--> | ||
|
||
<fileTypeFactory implementation="com.zephir.ZephirFileTypeFactory"/> | ||
<lang.commenter language="Zephir" implementationClass="com.zephir.lang.ZephirCommenter"/> | ||
<lang.braceMatcher language="Zephir" implementationClass="com.zephir.lang.ZephirBraceMatcher"/> | ||
<!--<lang.formatter language="Zephir" implementationClass="com.zephir.formatting.ZephirFormattingModelBuilder"/>--> | ||
<lang.syntaxHighlighterFactory key="Zephir" implementationClass="com.zephir.highlight.ZephirSyntaxHighlighterFactory"/> | ||
<colorSettingsPage implementation="com.zephir.highlight.ZephirColorSettingsPage"/> | ||
|
||
<!--<completion.contributor language="Zephir" implementationClass="com.zephir.completion.ZephirClassCompletion"/>--> | ||
<completion.contributor language="Zephir" implementationClass="com.zephir.completion.ZephirKeywordCompletionContributor"/> | ||
<internalFileTemplate name="Zephir Class"/> | ||
<internalFileTemplate name="Zephir Interface"/> | ||
</extensions> | ||
|
||
<application-components> | ||
<!-- Add your application components here --> | ||
</application-components> | ||
|
||
<project-components> | ||
<!-- Add your project components here --> | ||
</project-components> | ||
|
||
<actions> | ||
<action id="Zephir.NewClass" class="com.zephir.actions.ZephirNewClassAction"> | ||
<add-to-group group-id="NewGroup" relative-to-action="NewFromTemplate" anchor="before"/> | ||
</action> | ||
</actions> | ||
|
||
</idea-plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters