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
+44-3Lines changed: 44 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,21 @@ code-d and serve-d
27
27
</tr>
28
28
</table>
29
29
30
-
# 0.x.y
30
+
# 0.23.0
31
+
32
+
*whew, has it really been 2 years already? Sorry for the delay, here is the update! (finally)*
33
+
34
+
*I have often taken breaks while developing code-d/serve-d/workspace-d, so there will ~~probably~~ definitely be bugs and inconsistencies with features that were started but not properly finished. Be sure to report issues you find to https://github.com/Pure-D/code-d/issues!*
35
+
36
+
## Getting Started
37
+
38
+
There is a new getting started guide inside the default VSCode Getting Started page (available when you don't have anything open or through Help -> Get Started)
39
+
40
+
With it comes a new compiler configuration prompt which helps you installing a compiler.
41
+
42
+
Make sure you check out the getting started page if you haven't really used this extension before!
43
+
44
+
The installer downloads and runs Windows setup executables or the official install.sh script on all other platforms. You can use it any time to install new updated DMD/LDC compilers locally just for code-d.
31
45
32
46
## Single-File editing
33
47
@@ -77,7 +91,7 @@ Among several other improvements of error locations, without any new quick fixes
77
91
78
92
## Completion
79
93
80
-
Auto-completion now shows more information thanks to @RUSshy ([Pure-D/serve-d#155](https://github.com/Pure-D/serve-d/pull/155))
94
+
Auto-completion now shows more information and is better sorted thanks to @RUSshy ([Pure-D/serve-d#155](https://github.com/Pure-D/serve-d/pull/155))
81
95
82
96
It's recommended to enable `d.argumentSnippets` to have the arguments inserted into code easily and the overloads being shown in the auto completion list.
83
97
@@ -99,7 +113,16 @@ The "Insert default dscanner.ini content" command now dumps the currently used s
99
113
100
114
You can now format just the current selection of code. Thanks to @ryuukk for implementing this. ([Pure-D/serve-d#120](https://github.com/Pure-D/serve-d/pull/120))
101
115
102
-
Additionally dfmt (the included formatter tool) was upgraded from 0.11.0 (last serve-d stable) to 0.13.4, introducing a lot of fixes and improvements.
116
+
Additionally dfmt (the included formatter tool) was upgraded from 0.11.0 (last serve-d stable) to 0.14.0, introducing a lot of fixes and improvements.
117
+
118
+
This introduced 2 new settings, which have been turned on by default, possibly changing how existing code is formatted:
119
+
120
+
-`dfmt.keepLineBreaks` - on by default, turn off to revert to old behavior
121
+
-`dfmt.singleIndent` - on by default, turn off to revert to old behavior
122
+
123
+
The keep line breaks setting will keep line breaks in code and inside function arguments, instead of replacing them, making the formatter work much more like other formatters inside the VSCode ecosystem.
124
+
125
+
The single indent setting will make subsequent indentation of arguments be extended by a single tab instead of by two.
103
126
104
127
## DDoc
105
128
@@ -159,9 +182,27 @@ You can now use new context variables in `when` clauses in vscode settings like
159
182
160
183
## Other Things
161
184
185
+
* Many improvements in syntax highlighting
186
+
* Updated DCD to 0.13.6
187
+
* Windows will download precompiled releases again
188
+
* Updated D-Scanner to 0.11.1
189
+
* Updated dfmt to 0.14.0
190
+
* Enabled the extension in untrusted workspaces - secured user settings that could be used maliciously
191
+
*`"d.stdlibPath": "auto"` now uses the `d.dubCompiler` setting first to detect stdlibs with the given compiler
192
+
* added a highlight provider
193
+
* Highlights selected variable in scope
194
+
* Highlights which statement `return`, `break`, `continue` affects
195
+
* Tasks can use `$current` to use the currently configured project compiler/buildType/configuration/architecture for DUB tasks instead of using the platform default
196
+
162
197
Minor Changes:
163
198
* the "insert dscanner.ini" command now inserts the exact current D-Scanner config for the document instead of some hardcoded one to simplify changing it.
164
199
* Running the predefined tasks will auto focus the console now. If you want to do this to your own tasks as well, set `"presentation": {"focus": true}`
200
+
* Several dub diagnostics improvements
201
+
* Added auto completion for `else` blocks after `if`
202
+
* Fixed many snippet issues
203
+
* Fixed various crashes
204
+
* dfmt on/off, profilegc and dlangui features are now part of serve-d instead of code-d (available in other editors as well now)
205
+
* auto completion and syntax highlighting is off after the `__EOF__` token now
0 commit comments