[ST4] Accept replacement inline button missing
See original GitHub issueSublime Text Version
Sublime Text 4 (Build 4081)
Rust Enhanced Version
v2.22.0
Operating system
OS Name Linux Mint (Cinnamon) Version 20
Expected behavior
I should see the “accept replacement” message/button inline, with no errors in the console.
Actual behavior
I don’t see the button and associated text:
With this error log:
Parse Error: =2d755782-fdf6-4abf-86a5-bf217e635c2c" class="rust-button">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: -fdf6-4abf-86a5-bf217e635c2c" class="rust-button">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: -4abf-86a5-bf217e635c2c" class="rust-button">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: -86a5-bf217e635c2c" class="rust-button">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: -bf217e635c2c" class="rust-button">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: " class="rust-button">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: id=2d755782-fdf6-4abf-86a5-bf217e635c2c" code: Unknown entity
Parse Error: ">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: =2d755782-fdf6-4abf-86a5-bf217e635c2c" class="rust-button">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: -fdf6-4abf-86a5-bf217e635c2c" class="rust-button">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: -4abf-86a5-bf217e635c2c" class="rust-button">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: -86a5-bf217e635c2c" class="rust-button">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: -bf217e635c2c" class="rust-button">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: " class="rust-button">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Parse Error: id=2d755782-fdf6-4abf-86a5-bf217e635c2c" code: Unknown entity
Parse Error: ">Accept Replacement:</a> thing</div>
</div>
</body>
code: Unexpected character
Steps to reproduce
-
Run
cargo new --lib bug-demo
-
Paste this code into
src/lib.rs
:fn thing() { // } fn main() { thang() }
-
Open Sublime log with <kbd>Ctrl</kbd> + <kbd>`</kbd>
This issue is also present with rust-analyzer
(via LSP plugin) disabled, so I don’t believe it’s a conflict between the two.
References
N/A
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
Accessible SVGs
Meaningful icons need alternative text. This method is very similar to the “Basic Image Replacement, Inline SVG Example.” Update the title text ...
Read more >Missing CrossShip and Replace Buttons in RMA Entry...
Missing CrossShip and Replace Buttons in RMA Entry RMA line Windows. Hi Larry, It seems 'Use SOP' option is not marked in 'Contract...
Read more >How do I fix the photo "trigger" button (missing)?
Hello,. The button that you press to take the photo recently came off. I don't have the button. A local repair shop said...
Read more >shabegom/buttons: Buttons in Obsidian
Go to the note you want an inline Button and run the Insert Inline Button Command, or write the button-block-id between backticks, e.g....
Read more >Display SVG element inline with Button element
I still want the button to keep it's width of 100%, if that is possible. Am I missing something? <html> <head> <style> ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Seems like the URL parsing done by Sublime Text has changed and doesn’t accept the
&
in the URL encoded replacement info anymore. A quick hack is to just replace that character…Dev versions are available on the Discord #announcements channel: https://discord.com/channels/280102180189634562/650695903446827011