Skip to content

Commit 7469d59

Browse files
committed
Don't display usecases in IDE/REPL
It's not really useful and can be confusing.
1 parent f3cf401 commit 7469d59

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

compiler/src/dotty/tools/dotc/util/ParsedComment.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ object ParsedComment {
117117
"@throws" -> TagFormatter("Throws", toDescriptionList),
118118
"@see" -> TagFormatter("See Also", toMarkdownList),
119119
"@example" -> TagFormatter("Examples", toCodeFences("scala")),
120-
"@usecase" -> TagFormatter("Usecases", toCodeFences("scala")),
121120
"@note" -> TagFormatter("Note", toMarkdownList),
122121
"@author" -> TagFormatter("Authors", toMarkdownList),
123122
"@since" -> TagFormatter("Since", toMarkdownList),

language-server/test/dotty/tools/languageserver/HoverTest.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,6 @@ class HoverTest {
153153
| myFoo.bar[Int, String](0, "hello, world")
154154
| ```
155155
|
156-
|**Usecases**
157-
| - ```scala
158-
| def bar(fizz: Int, buzz: String): Any
159-
| ```
160-
|
161156
|**Note**
162157
| - A note
163158
|

0 commit comments

Comments
 (0)