Releases: rust-lang/rust-enhanced
Releases · rust-lang/rust-enhanced
v2.27.0
Added:
- Added support for C-string literals #521, #522
v2.26.0
Fixed:
- Make sure text is escaped when the width is negative. #510
- Fixed prev/next messages when
show_inline_messages=false
in latest Rust 1.73. #518
- Fixed "in this macro" message for desuggarings. #520
Added:
- Added the "Rust: Open Last Build Output As View" command to show the output from the compiler as rendered by rustc. #519
Minor update
- Automatic target detection falls back to "everything" (allowing on-save-check of build.rs files) #483
- Syntax highlighting: Allow space between function call and parenthesis #480
ST4 Fix
- Syntax: Added
pat_param
macro fragment specifier. #461
- Build messages: Fixed replacement link on Sublime Text 4. #462
New Syntax and Misc Updates
- Some improvements around message display #432
- Syntax:
- Snyced the definition with the sublimehq Rust definition #431
- Added support for const generics #451
- Changed scope support.function to variable.function to match scope naming guidelines #452
Misc updates
- Add union names to Goto-symbol index. #416
- Syntax: Recover on bad enum syntax. #419
- Fix type of file_extensions property in Cargo syntax YAML #429
Misc updates
- Add unreachable snippet #389
- Fix bug in how raw string auto-complete worked. #396
- Build system and messages:
- Clippy no longer requires nightly. #395
- Allow target detection with Clippy. #412
- Next/prev jump to end of span. #397
- Syntax:
- Better error recovery in generics. #410
- Add bitwise and/or assignment tokens. #411
Snippet and syntax updates
- Explicitly set the "exit" point on some snippets. #381
- Add syntax highlighting for
async/await/try
keyword #378
- Remove print/eprint snippet. #382
Syntax updates, misc fixes, new snippets, custom status bar text
- Custom status bar text #355
- Add dbg, debug, trace, info snippet #360
- On-save check: only call
cargo metadata
once #365
- Syntax:
literal
macro fragment matcher #367
- abort on invalid struct #369
const
functions #361
- fix break and continue #364
- fix lifetime on self param #366
Syntax highlighting improvements, message features and fixes
- Syntax:
- Support irrefutable patterns in closure and function params #349
- Fix raw pointers #335
- Index
const
and static
symbols (for Goto-Symbol) #335
- Support raw identifiers (new rust 1.30) #338
- Fix tuple access so it doesn't show up as a float. #348
- Support
vis
macro designator (new rust 1.30) #347
- On-save check:
- Show result in window status when done. #345
- Fix on-save checking being triggered multiple times with "Save All" and the build command when the buffer is unsaved. #344
- Diagnostic messages: #344
- Support inline rustdoc messages with
cargo doc
(requires rust 1.30) #334
- Add
rust_message_status_bar
option to display the message under the cursor in the window status bar.
- Add
rust_message_popup
command to manually show a popup under the cursor.
- Add underline styles to
rust_region_style
.
- Fix various issues with multiple views into the same file.
- Fix Next/Prev when a message is hidden (such as a completed suggestion).
- Fix hitting Esc in the middle of the build to hide/dismiss future messages.
- Snippets: honor indentation settings #342