Skip to content

Commit a25a9e2

Browse files
committed
[completion] add more info to the comment
1 parent 993f71d commit a25a9e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scala/scala-impl/src/org/jetbrains/plugins/scala/lang/completion/ScalaLiteralTypeValuesCompletionContributor.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ object ScalaLiteralTypeValuesCompletionContributor {
5353
val contentRange = str.contentRange.shiftLeft(stringTextOffset)
5454

5555
/**
56-
* `" foo<caret>"` by default uses `"foo"` as prefix inside Scala strings instead of `" foo"`
56+
* `" foo<caret>"` by default uses `foo` as prefix inside Scala strings instead of ` foo`, the same applies to `"$foo<caret>"`
5757
*
5858
* @see [[com.intellij.codeInsight.completion.BaseCompletionService#suggestPrefix(com.intellij.codeInsight.completion.CompletionParameters)]]
5959
*/

0 commit comments

Comments
 (0)