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
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,22 @@ iex(1)> %File.St
66
66
File.StatFile.Stream
67
67
```
68
68
69
+
Once you define the struct, you can hit `tab` to show all struct fields available:
70
+
71
+
```elixir
72
+
iex(1)> %URI{
73
+
authority:fragment:host:path:port:
74
+
query:scheme:userinfo:
75
+
```
76
+
77
+
As you fill them in, the already filled structs no longer show up:
78
+
79
+
```elixir
80
+
iex(1)> %URI{path:"/example",
81
+
authority:fragment:host:port:query:
82
+
scheme:userinfo:
83
+
```
84
+
69
85
Finally, new compilation tracers have been added, alongside a handful of functions in `Module` to retrieve module metadata, which can be used to enrich suggestions in programming environments.
70
86
71
87
## Extended code formatting
@@ -133,6 +149,7 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str
133
149
*[Keyword] Add `Keyword.validate/2`
134
150
*[Keyword] Implement `Keyword.filter/2` and `Keyword.map/2`
135
151
*[List] Add `List.keyfind!/3`
152
+
*[Macro] Add `Macro.prewalker/1`
136
153
*[Macro.Env] Add the following reflection functions: `required?/2`, `lookup_import/2`, `fetch_alias/2`, and `fetch_macro_alias/2`
137
154
*[Map] Implement `Map.filter/2` and `Map.map/2`
138
155
*[Module] Support `:nillify_clauses` in `Module.get_definition/3`
@@ -151,7 +168,7 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str
151
168
#### IEx
152
169
153
170
*[IEx.Autocomplete] Add path autocompletion whenever when the cursor follows `"./` or `"/` or `"DRIVER:` where `DRIVER` is a single letter
154
-
*[IEx.Autocomplete] Add autocompletion for sigilsand structs
171
+
*[IEx.Autocomplete] Add autocompletion for sigils, struct names, and struct fields
155
172
*[IEx.Helpers] Allow multiple modules to be given to `r/1`
156
173
157
174
#### Logger
@@ -194,6 +211,7 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str
194
211
#### Elixir
195
212
196
213
*[Application] Warn if `Application.compile_env` or `Application.compile_env!` are called without a require
214
+
*[Code] Make sure `:static_atoms_encoder` in `Code.string_to_quoted/2` also applies to quoted keyword keys
197
215
*[Code] Ensure bindings with no context are returned as atoms instead of `{binding, nil}` in eval operations
198
216
*[Kernel] Raise if `__CALLER__` or `__ENV__` or `__STACKTRACE__` are used in match
199
217
*[Kernel] Improve error message on invalid argument for `byte_size` from binary concat
@@ -209,6 +227,7 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str
209
227
*[Protocol] Warn if `@callback`, `@macrocallback` and `@optional_callbacks` are defined inside protocol
210
228
*[Protocol] Ensure protocol metadata is deterministic on consolidation
211
229
*[Range] Always show step when range is descending
230
+
*[String] Update Unicode database to version 14.0
212
231
*[URI] Only percent decode if followed by hex digits (according to https://url.spec.whatwg.org/#percent-decode)
213
232
*[Version] Ensure proper precedence of `and`/`or` in version requirements
0 commit comments