Skip to content

Commit b749210

Browse files
committed
bump to 0.23.0
1 parent 30fe897 commit b749210

File tree

3 files changed

+50
-9
lines changed

3 files changed

+50
-9
lines changed

CHANGELOG.md

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,21 @@ code-d and serve-d
2727
</tr>
2828
</table>
2929

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.
3145

3246
## Single-File editing
3347

@@ -77,7 +91,7 @@ Among several other improvements of error locations, without any new quick fixes
7791

7892
## Completion
7993

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))
8195

8296
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.
8397

@@ -99,7 +113,16 @@ The "Insert default dscanner.ini content" command now dumps the currently used s
99113

100114
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))
101115

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.
103126

104127
## DDoc
105128

@@ -159,9 +182,27 @@ You can now use new context variables in `when` clauses in vscode settings like
159182

160183
## Other Things
161184

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+
162197
Minor Changes:
163198
* 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.
164199
* 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
165206

166207
# 0.22.0
167208

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "code-d",
33
"displayName": "D Programming Language (code-d)",
44
"description": "auto-complete, snippets, linter and formatter for dlang",
5-
"version": "0.23.0-beta.3",
5+
"version": "0.23.0",
66
"publisher": "webfreak",
77
"repository": {
88
"type": "git",

0 commit comments

Comments
 (0)