-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0bb2e16
Showing
6 changed files
with
88 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
out | ||
*.iml | ||
.idea |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2019 Georgy Davityan | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,2 @@ | ||
# greek-symbols | ||
Greek symbol live templates for IDEA |
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,35 @@ | ||
<idea-plugin> | ||
<id>im.plmnt.plugin.greek</id> | ||
<name>Greek symbols</name> | ||
<version>1.0</version> | ||
<vendor email="[email protected]" url="https://github.com/implmnt/greek-symbols">plmnt.im</vendor> | ||
|
||
<description><![CDATA[ | ||
Live Templates for Greek symbols<br> | ||
Show details in Preferences -> Editor -> Live Templates -> Greek. | ||
]]></description> | ||
|
||
<change-notes><![CDATA[ | ||
<strong>v1.0.0</strong><br> | ||
<li>Live Templates for Greek symbols.</li> | ||
]]> | ||
</change-notes> | ||
|
||
<!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html for description --> | ||
<idea-version since-build="173.0"/> | ||
|
||
<!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html | ||
on how to target different products --> | ||
<!-- uncomment to enable plugin in all products | ||
<depends>com.intellij.modules.lang</depends> | ||
--> | ||
|
||
<extensions defaultExtensionNs="com.intellij"> | ||
<defaultLiveTemplatesProvider implementation="im.plmnt.plugin.greek.GreekTemplates"/> | ||
</extensions> | ||
|
||
<actions> | ||
<!-- Add your actions here --> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<templateSet group="Greek"> | ||
<template name="ll" value="λ" description="Greek lambda" toReformat="false" toShortenFQNames="true"> | ||
<context> | ||
<option name="OTHER" value="true" /> | ||
</context> | ||
</template> | ||
<template name="aa" value="α" description="Greek alpha" toReformat="false" toShortenFQNames="true"> | ||
<context> | ||
<option name="OTHER" value="true" /> | ||
</context> | ||
</template> | ||
<template name="bb" value="β" description="Greek beta" toReformat="false" toShortenFQNames="true"> | ||
<context> | ||
<option name="OTHER" value="true" /> | ||
</context> | ||
</template> | ||
</templateSet> |
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,10 @@ | ||
package im.plmnt.plugin.greek | ||
|
||
import com.intellij.codeInsight.template.impl.DefaultLiveTemplatesProvider | ||
|
||
class GreekTemplates extends DefaultLiveTemplatesProvider { | ||
|
||
def getDefaultLiveTemplateFiles: Array[String] = Array("templates") | ||
|
||
def getHiddenLiveTemplateFiles: Array[String] = Array.empty | ||
} |