Skip to content

Commit cc6fec5

Browse files
committed
Release!
1 parent 8ca3dc0 commit cc6fec5

3 files changed

Lines changed: 4 additions & 11 deletions

File tree

build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ repositories {
4747

4848
dependencies {
4949
compileOnly(kotlin("compiler-embeddable", kotlinVersion))
50-
compileOnly(group = "com.github.ice1000.dev-kt", name = "common", version = "67357db04d")
51-
runtime(group = "com.github.ice1000.dev-kt", name = "swing", version = "67357db04d")
50+
val version = "67357db04d"
51+
compileOnly(group = "com.github.ice1000.dev-kt", name = "common", version = version)
52+
runtime(group = "com.github.ice1000.dev-kt", name = "swing", version = version)
5253
}
5354

src/org/ice1000/julia/devkt/lang/julia-devkt.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class Julia<TextAttributes> : ExtendedDevKtLanguage<TextAttributes>(
108108

109109
override val initialCompletionElementList: Set<CompletionElement> = completionList.mapTo(HashSet()) {
110110
CompletionElement(it, type = "Keyword")
111-
}
111+
} + listOf(CompletionElement("println", lookup = "sout"))
112112

113113
override fun shouldAddAsCompletion(element: PsiElement): Boolean {
114114
return element is JuliaTypedNamedVariable

src/org/ice1000/julia/devkt/lang/julia-parser-definition.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,6 @@ class JuliaTokenType(debugName: String) : IElementType(debugName, JuliaLanguage.
9999
JuliaTypes.BITWISE_XOR_ASSIGN_SYM,
100100
JuliaTypes.REMAINDER_ASSIGN_SYM
101101
)
102-
103-
@JvmField
104-
val CONCATENATABLE_TOKENS = TokenSet.orSet(COMMENTS, STRINGS)
105-
106-
fun fromText(code: String, project: Project): PsiElement = PsiFileFactory
107-
.getInstance(project)
108-
.createFileFromText(JuliaLanguage.INSTANCE, code)
109-
.firstChild
110102
}
111103
}
112104

0 commit comments

Comments
 (0)