-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.cholick.idea.spock | ||
|
||
import com.intellij.lang.Language | ||
import org.jetbrains.plugins.groovy.GroovyFileType | ||
|
||
public class LanguageLookup11 extends LanguageLookup { | ||
|
||
Language groovy() { | ||
return GroovyFileType.GROOVY_LANGUAGE; | ||
} | ||
|
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | ||
</content> | ||
<orderEntry type="jdk" jdkName="$idea_sdk_name_14$" jdkType="IDEA JDK" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="module" module-name="intellij-adapter-api" /> | ||
<orderEntry type="library" scope="PROVIDED" name="groovy-1.8.9" level="application" /> | ||
<orderEntry type="module-library" scope="PROVIDED"> | ||
<library name="groovy_plugin"> | ||
<CLASSES> | ||
<root url="file://$idea_sdk_14$/plugins/Groovy/lib" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
<jarDirectory url="file://$idea_sdk_14$/plugins/Groovy/lib" recursive="false" /> | ||
</library> | ||
</orderEntry> | ||
</component> | ||
</module> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.cholick.idea.spock | ||
|
||
import com.intellij.lang.Language | ||
import org.jetbrains.plugins.groovy.GroovyLanguage; | ||
|
||
class LanguageLookup14 extends LanguageLookup { | ||
|
||
Language groovy() { | ||
return GroovyLanguage.INSTANCE; | ||
} | ||
|
||
} |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.cholick.idea.spock; | ||
|
||
import com.intellij.codeInsight.daemon.impl.HighlightInfo; | ||
import com.intellij.codeInsight.daemon.impl.HighlightInfoType; | ||
import com.intellij.openapi.components.ServiceManager; | ||
import com.intellij.openapi.editor.markup.TextAttributes; | ||
import com.intellij.psi.PsiElement; | ||
import org.jetbrains.annotations.NotNull; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
public abstract class HighlightInfoFactory { | ||
|
||
public static HighlightInfoFactory getInstance() { | ||
return ServiceManager.getService(HighlightInfoFactory.class); | ||
} | ||
|
||
public abstract HighlightInfo createHighlightInfo(@NotNull HighlightInfoType type, @NotNull PsiElement element, @Nullable String message, @Nullable TextAttributes attributes); | ||
|
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.cholick.idea.spock; | ||
|
||
import com.intellij.lang.Language; | ||
import com.intellij.openapi.components.ServiceManager; | ||
|
||
public abstract class LanguageLookup { | ||
|
||
public static LanguageLookup getInstance() { | ||
return ServiceManager.getService(LanguageLookup.class); | ||
} | ||
|
||
public abstract Language groovy(); | ||
|
||
} |