Skip to content

Commit 7b3a9ce

Browse files
committed
Prepare 1.1.0 release
1 parent 597dca3 commit 7b3a9ce

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# CHANGELOG
22
## main (Unreleased)
3+
-
4+
5+
## 1.1.0 (2025-05-23)
36
- Fix range operator to support beginless and endless ranges
47
- Fix `erb` block comments to add `<%#` to each line
58
```erb
@@ -9,6 +12,14 @@
912
<%# <% end %>
1013
</ul>
1114
```
15+
- **Note**: Somewhat `BREAKING` across text editors as there does not seem to be a universally agreed upon approach for `.erb` block comments. This approach is the closest to making it work as expected. For `html` only lines, such as `<%# <ul>`, an `erb` commenting out does not _actually_ comment the line and a manual `<!-- <ul> -->` is needed. In its entirety the correct approach should have a combination like the below. However, there seems to be a VSCode limitation in not being able to add a combination approach for line commenting.
16+
```erb
17+
<!-- <ul>
18+
<%# <% @foos.each do |foo| %>
19+
<%# <li><%= foo %></li>
20+
<%# <% end %>
21+
</ul> -->
22+
```
1223
1324
## 1.0.0 (2025-05-22)
1425
- Update repository with a few changes mainly from `ruby-lsp` and `textmate`:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Adds Ruby, ERB and Gemfile Language Grammars.",
55
"publisher": "SarahRidge",
66
"icon": "images/icon.png",
7-
"version": "1.0.0",
7+
"version": "1.1.0",
88
"repository": {
99
"type": "git",
1010
"url": "https://github.com/smridge/vscode-ruby-syntax"

0 commit comments

Comments
 (0)