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
Copy file name to clipboardexpand all lines: CHANGELOG.md
+104-8
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,83 @@ code-d and serve-d
27
27
</tr>
28
28
</table>
29
29
30
-
# 0.x.y
30
+
# 0.24.0
31
31
32
-
## DUB improvements
32
+
## Completion
33
+
34
+
There is a new symbol index that will automatically be built on project launch. With this index the following features are introduced:
35
+
36
+
- Find references (only in its most basic form)
37
+
- auto-import completions (type a symbol name and it automatically gets imported on auto-complete submit)
38
+
39
+
Auto completion now has better sorting and more information.
40
+
41
+
UFCS is now supported for regular types and trivial templates.
42
+
43
+
## CCDB
44
+
45
+
There is support for basic clang compilation database (compile_commands.json) now. Since this is basically a makefile with shell commands and no standardized way of specifying the files, your mileage may vary on this.
46
+
47
+
CCDB is used in favor of DUB if it can be parsed successfully.
48
+
49
+
## Editing
50
+
51
+
Proper folding support was introduced, it's no longer white-space based, but instead uses statements and can fold import blocks as well.
52
+
53
+
You can now sort all imports in the entire file. This will also get rid of duplicate imports.
54
+
55
+
Identifiers/variables can be renamed within a single file now. Putting the text cursor on a variable highlights its uses. Some control flow things such as if/else, switch/case, return, etc. also highlight.
56
+
57
+
## D-Scanner
58
+
59
+
You now get light-bulbs to auto-fix many more issue types, including a bunch of D-Scanner issues.
60
+
61
+
Diagnostic location, length and information has improved a lot.
62
+
63
+
## DDoc
64
+
65
+
Hovers are no longer 1-off at start of the identifier. They include a basic definition of the symbol now.
66
+
67
+
Improved support for:
68
+
69
+
- code blocks (fixed)
70
+
- tables (new)
71
+
- colors (new)
72
+
73
+
## Diet templates
74
+
75
+
Auto completion ergonomics were improved a little.
76
+
77
+
## Formatting
78
+
79
+
You can now auto-format SDL files.
80
+
81
+
## Snippets
82
+
83
+
Fixed some spec links. New snippets:
84
+
85
+
-`trymain`
86
+
-`switch`
87
+
-`final switch`
88
+
-`if`
89
+
-`if auto`
90
+
-`while`
91
+
-`while auto`
92
+
-`for`
93
+
-`scope guard`
94
+
-`return`
95
+
-`throw`
96
+
-`goto`
97
+
-`with`
98
+
-`try`
99
+
-`tryf`
100
+
- try-catch-finally snippets (smart)
101
+
-`default` (smart, in switch)
102
+
- snippets for vibe.d and mir-ion
103
+
104
+
## DUB
105
+
106
+
The bundled DUB version in serve-d is now at 1.36.0
33
107
34
108
Auto completion of dub.json has been improved and the issues with quoting have been fixed.
35
109
@@ -47,10 +121,32 @@ The DUB Dependencies view got a few improvements:
47
121
48
122
The new dependency click actions can also be accessed by right-clicking a dependency.
49
123
124
+
Linting D code through DUB builds has had many bugs resolved and should work a lot more reliably now, as well as not generating any binaries anymore.
125
+
126
+
Startup DUB issues have improved error messages and error recovery now.
127
+
128
+
Serve-D will now ask to upgrade the project and auto-download missing dependencies then when dependencies are missing.
129
+
50
130
## Other
51
131
52
132
Installation/update of serve-d with multiple vscode windows now works properly.
53
133
134
+
In this serve-d release we moved away from painlessjson to mir-ion as serialization library. Correctness for LSP implementation has greatly increased.
135
+
136
+
Support for OpenSSL 3 was introduced.
137
+
138
+
Fixed various bugs and crashes.
139
+
140
+
Fixed FreeBSD and OSX M1 support. (serve-d)
141
+
142
+
The settings view has been overhauled, including a lot of new settings. Manual JSON settings also aren't as likely to cause crashes anymore.
143
+
144
+
The document outline has been improved.
145
+
146
+
You will no longer be spammed with project loading notifications at startup.
147
+
148
+
Various performance improvements.
149
+
54
150
# 0.23.2
55
151
56
152
Adds linting support for dub.json/dub.sdl schema for dependency git commits:
@@ -229,7 +325,7 @@ You can now use new context variables in `when` clauses in vscode settings like
229
325
230
326
-`d.isActive` which is true once code-d has been started (user ran some code-d command, opened a D file, wants to debug, has dub.json/dub.sdl, etc.)
231
327
232
-
## Other Things
328
+
## Other
233
329
234
330
* Many improvements in syntax highlighting
235
331
* Updated DCD to 0.13.6
@@ -255,7 +351,7 @@ Minor Changes:
255
351
256
352
# 0.22.0
257
353
258
-
## dub
354
+
## DUB
259
355
260
356
Platform attributes on supported values in dub.sdl are now autocompleted. This includes all the [current](https://github.com/dlang/dub/blob/8ffc09ed6fb9625837161ffbbda2d926f490196c/source/dub/platform.d#L24) platforms, architectures and compilers.
261
357
@@ -288,7 +384,7 @@ Syntax highlighting was improved
288
384
*`asm` block fixes
289
385
* fixed delegate highlighting without arguments
290
386
291
-
## Other things
387
+
## Other
292
388
293
389
The custom serve-d commands and initialization have all been documented in the README for custom LSP clients in other editors.
294
390
@@ -348,7 +444,7 @@ You can now use new context variables in `when` clauses in vscode settings like
348
444
349
445
-`d.hasDubProject` which is true if there is a project with dub enabled (when the dub outline is visible)
350
446
351
-
## Other Things
447
+
## Other
352
448
353
449
DCD upgrade to 0.11.1
354
450
@@ -424,7 +520,7 @@ The implement interface code action will no longer insert duplicate code and a l
424
520
425
521
If you do OOP, try it out by simply extending an interface or abstract class and going on the inherited symbol with your cursor.
426
522
427
-
## Completion improvements
523
+
## Completion
428
524
429
525
If you have `d.argumentSnippets` enabled, you will now have a much cleaner experience. Types and default values are no longer passed inside the snippets, so only variable names are put in inside the function arguments.
430
526
@@ -438,7 +534,7 @@ You can revert this back to a slightly modified version using `"d.completeNoDupe
438
534
439
535
You can now convert dub package recipes between JSON/SDL using a click on the convert button in the toolbar or by running the "Convert between dub.json/dub.sdl" command while having the recipe open. You can still undo after conversion if it missed something or you noticed you had comments it removed.
440
536
441
-
## Other Things
537
+
## Other
442
538
443
539
The server now tries to restart more. It now only doesn't restart after 20 restart fails in one minute instead of 5 fails in 3 minutes.
0 commit comments