-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
exoego
committed
Oct 13, 2019
1 parent
bd951af
commit 611ae16
Showing
13 changed files
with
166 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,75 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
### Scala template | ||
*.class | ||
*.log | ||
|
||
### JetBrains template | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
# User-specific stuff | ||
.idea/**/workspace.xml | ||
.idea/**/tasks.xml | ||
.idea/**/usage.statistics.xml | ||
.idea/**/dictionaries | ||
.idea/**/shelf | ||
|
||
# Generated files | ||
.idea/**/contentModel.xml | ||
|
||
# Sensitive or high-churn files | ||
.idea/**/dataSources/ | ||
.idea/**/dataSources.ids | ||
.idea/**/dataSources.local.xml | ||
.idea/**/sqlDataSources.xml | ||
.idea/**/dynamic.xml | ||
.idea/**/uiDesigner.xml | ||
.idea/**/dbnavigator.xml | ||
|
||
# Gradle | ||
.idea/**/gradle.xml | ||
.idea/**/libraries | ||
|
||
# Gradle and Maven with auto-import | ||
# When using Gradle or Maven with auto-import, you should exclude module files, | ||
# since they will be recreated, and may cause churn. Uncomment if using | ||
# auto-import. | ||
# .idea/modules.xml | ||
# .idea/*.iml | ||
# .idea/modules | ||
# *.iml | ||
# *.ipr | ||
|
||
# CMake | ||
cmake-build-*/ | ||
|
||
# Mongo Explorer plugin | ||
.idea/**/mongoSettings.xml | ||
|
||
# File-based project format | ||
*.iws | ||
|
||
# IntelliJ | ||
out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Cursive Clojure plugin | ||
.idea/replstate.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
fabric.properties | ||
|
||
# Editor-based Rest Client | ||
.idea/httpRequests | ||
|
||
# Android studio 3.1+ serialized cache file | ||
.idea/caches/build_file_checksums.ser | ||
|
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,4 @@ | ||
version = "2.1.0" | ||
style = defaultWithAlign | ||
maxColumn = 120 | ||
align.openParenDefnSite = true |
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 @@ | ||
intellijPluginName in ThisBuild := "IntelliJ-Smashtest" | ||
intellijBuild in ThisBuild := "192.6817.14" | ||
intellijDownloadSources in ThisBuild := true | ||
intellijInternalPlugins += "java" | ||
|
||
lazy val intellijSmashtest = (project in file(".")) | ||
.enablePlugins(SbtIdeaPlugin) | ||
.settings( | ||
name := "IntelliJ Smashtest", | ||
version := "0.1.0", | ||
scalaVersion := "2.13.1", | ||
javacOptions in Global ++= Seq("-source", "1.8", "-target", "1.8"), | ||
scalacOptions in Global ++= Seq("-target:jvm-1.8", "-deprecation", "-feature"), | ||
libraryDependencies ++= Seq( | ||
"org.scalatest" %% "scalatest" % "3.0.8" % Test | ||
) | ||
) |
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 @@ | ||
fff |
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 @@ | ||
sbt.version=1.3.2 |
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 @@ | ||
addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "3.3.0") | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.0.7") |
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,16 @@ | ||
<idea-plugin xmlns:xi="http://www.w3.org/2001/XInclude"> | ||
<id>net.exoego.intellij.smashtest</id> | ||
<name>Smashtest</name> | ||
<description><![CDATA[ | ||
Adds support for the Smash, a language for rapidly describing and deploying test cases. | ||
]]></description> | ||
<version>0.1.0</version> | ||
<vendor url="https://github.com/exoego">TATSUNO Yasuhiro</vendor> | ||
<idea-version since-build="192.6817.14" until-build="194.0"/> | ||
<extensions defaultExtensionNs="com.intellij"> | ||
<!-- <fileTypeFactory implementation="net.exoego.intellij.smashtest.SmashtestFileTypeFactory"/>--> | ||
|
||
<fileType name="Simple file" implementationClass="net.exoego.intellij.smashtest.SmashtestFileType$" | ||
language="Smashtest" extensions="smash"/> | ||
</extensions> | ||
</idea-plugin> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions
15
src/main/scala/net/exoego/intellij/smashtest/SmashtestFileType.scala
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,15 @@ | ||
package net.exoego.intellij.smashtest | ||
|
||
import com.intellij.openapi.fileTypes.LanguageFileType | ||
import javax.swing.Icon | ||
import org.jetbrains.annotations.NotNull | ||
|
||
object SmashtestFileType extends LanguageFileType(SmashtestLanguage) { | ||
@NotNull def getName = "Smashtest" | ||
|
||
override def getDescription: String = "A language for rapidly describing and deploying test cases." | ||
|
||
override def getDefaultExtension: String = "smash" | ||
|
||
override def getIcon: Icon = SmashtestIcons.SmashtestFileType | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/scala/net/exoego/intellij/smashtest/SmashtestFileTypeFactory.scala
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,9 @@ | ||
package net.exoego.intellij.smashtest | ||
|
||
import com.intellij.openapi.fileTypes.{FileTypeConsumer, FileTypeFactory} | ||
|
||
class SmashtestFileTypeFactory extends FileTypeFactory { | ||
override def createFileTypes(fileTypeConsumer: FileTypeConsumer): Unit = { | ||
fileTypeConsumer.consume(SmashtestFileType) | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/scala/net/exoego/intellij/smashtest/SmashtestIcons.scala
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 net.exoego.intellij.smashtest | ||
|
||
import com.intellij.openapi.util.IconLoader | ||
import javax.swing.Icon | ||
import org.jetbrains.annotations.NotNull | ||
|
||
object SmashtestIcons { | ||
@NotNull def SmashtestLogo: Icon = IconLoader.getIcon("/icons/[email protected]"); | ||
@NotNull def SmashtestFileType: Icon = IconLoader.getIcon("/icons/[email protected]"); | ||
} |
5 changes: 5 additions & 0 deletions
5
src/main/scala/net/exoego/intellij/smashtest/SmashtestLanguage.scala
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,5 @@ | ||
package net.exoego.intellij.smashtest | ||
|
||
import com.intellij.lang.Language | ||
|
||
object SmashtestLanguage extends Language("Smashtest") {} |