Skip to content

Commit 9a855a5

Browse files
Merge pull request #13970 from dotty-staging/improve-issue-templates
Improve issue templates
2 parents 5698f5e + 78f3738 commit 9a855a5

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ If you're not sure what version you're using, run `print scalaVersion` from sbt
1414

1515
## Minimized code
1616

17+
<!--
18+
This code should be self contained, compilable (with possible failures) and as small as possible.
19+
20+
Ideally, we should be able to just copy this code in a file and run `scalac` (and maybe `scala`) to reproduce the issue.
21+
-->
22+
1723
```Scala
1824
println("hello, world")
1925
```

.github/ISSUE_TEMPLATE/crash.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ If you're not sure what version you're using, run `print scalaVersion` from sbt
1414

1515
## Minimized code
1616

17+
<!--
18+
This code should be self contained, compilable (with possible failures) and as small as possible.
19+
20+
Ideally, we should be able to just copy this code in a file and run `scalac` (and maybe `scala`) to reproduce the issue.
21+
-->
22+
1723
```Scala
1824
println("hello, world")
1925
```
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
---
22
name: Syntax highlighting
3-
about: Please create a syntax highlighting issue here https://github.com/scala/vscode-scala-syntax/issues
3+
about: ''
44
title: ''
55
labels: ''
66
assignees: ''
77

88
---
99

10-
Please create a syntax highlighting issue here: [scala/vscode-scala-syntax](https://github.com/scala/vscode-scala-syntax/issues).
10+
Please create a syntax highlighting issue here
11+
* VS Code / GitHub: https://github.com/scala/vscode-scala-syntax/issues
12+
* IntelliJ: https://youtrack.jetbrains.com/issues/SCL?q=tag:%20%7BScala%203%7D%20tag:%20%7BSyntax%20Highlighting%7D
13+
* highlight.js: https://github.com/highlightjs/highlight.js/issues

0 commit comments

Comments
 (0)