Skip to content

Commit 40c40e4

Browse files
Changelog
1 parent d59b781 commit 40c40e4

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,30 @@
139139

140140
([Giacomo Cavalieri](https://github.com/giacomocavalieri))
141141

142+
- The Language Server now provides the ability to rename local variables.
143+
For example:
144+
145+
```gleam
146+
pub fn main() {
147+
let wibble = 10
148+
// ^ If you put your cursor here, and trigger a rename
149+
wibble + 1
150+
}
151+
```
152+
153+
Triggering a rename and entering `my_number` results in this code:
154+
155+
156+
```gleam
157+
pub fn main() {
158+
let my_number = 10
159+
my_number + 1
160+
}
161+
```
162+
163+
([Surya Rose](https://github.com/GearsDatapacks))
164+
165+
142166
### Formatter
143167

144168
### Bug fixes

0 commit comments

Comments
 (0)