Skip to content

Commit 30ea1c2

Browse files
committed
chore(lang): update symbol completion description
Every language will have a symbol completion, which is the most basic completion. - Java: com.intellij.codeInsight.completion.JavaKeywordCompletion - Kotlin: org.jetbrains.kotlin.idea.completion.KotlinCompletionContributor - Python: com.jetbrains.python.codeInsight.completion.PyClassNameCompletionContributor
1 parent 07a7c1d commit 30ea1c2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

exts/devins-lang/src/main/kotlin/cc/unitmesh/devti/language/completion/BuiltinCommandProvider.kt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,14 @@ enum class BuiltinCommand(
1616
) {
1717
FILE("file", "Read the content of a file", AllIcons.Actions.AddFile, true, true),
1818
REV("rev", "Read git change by file", AllIcons.Vcs.History, true, true),
19-
SYMBOL("symbol", "Read content by Java/Kotlin canonicalName", AllIcons.Actions.GroupBy, false),
19+
20+
/**
21+
* Every language will have a symbol completion, which is the most basic completion, for example:
22+
* - Java: [com.intellij.codeInsight.completion.JavaKeywordCompletion]
23+
* - Kotlin: [org.jetbrains.kotlin.idea.completion.KotlinCompletionContributor]
24+
* - Python: [com.jetbrains.python.codeInsight.completion.PyClassNameCompletionContributor]
25+
*/
26+
SYMBOL("symbol", "[TODO] Read content by Java/Kotlin canonicalName", AllIcons.Actions.GroupBy, false),
2027
WRITE("write", "Write content to a file, /write:path/to/file:L1-L2", AllIcons.Actions.Edit, true, true),
2128
PATCH("patch", "Apply patch to a file, /patch:path/to/file", AllIcons.Vcs.Patch_file, false),
2229
RUN("run", "Run the content of a file", AllIcons.Actions.Execute, false),

0 commit comments

Comments
 (0)