You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are a software developer. Reply only with code
25
+
26
+
**User:**
27
+
28
+
The code given below is written in Java, convert it into Kotlin without changing its functionality. Output the converted snippet with ``` at the start and end:
You are an assistant helping to draft an outline for a document. Use this format, replacing text in brackets with the result. Do not include the brackets in the output:
51
+
52
+
# [Title of document]
53
+
[Bulleted list outline of document, in markdown format]
54
+
55
+
```user```
56
+
${selection}
57
+
58
+
## Continue writing
59
+
60
+
---
61
+
type: QuickAction
62
+
name: Continue Writing
63
+
category: Default
64
+
language: Markdown
65
+
interaction: AppendCursorStream
66
+
---
67
+
**system**
68
+
69
+
You are an assistant helping a user write a document. Output how the document continues, no more than 3 sentences. Output in markdown format. Do not use links.
70
+
71
+
Use this format, replacing text in brackets with the result. Do not include the brackets in the output:
72
+
73
+
[Continuation of the document in markdown format, no more than 3 sentences.]
74
+
75
+
**user**
76
+
77
+
${beforeCursor}
78
+
79
+
## Summarize
80
+
81
+
---
82
+
type: QuickAction
83
+
name: Summarize
84
+
category: Generate
85
+
language: markdown
86
+
interaction: AppendCursorStream
87
+
---
88
+
89
+
```system```
90
+
91
+
You are an assistant helping summarize a document. Use this format, replacing text in brackets with the result. Do not include the brackets in the output:
92
+
93
+
[One-paragaph summary of the document using the identified language.].
0 commit comments