RLS update breaks formatting
See original GitHub issueI think the latest RLS implements formatting in a different way. As a result Ctrl+Shift+F
produces no effect.
How to reproduce:
- update to RLS from nightly-2019-04-11
- edit any valid .rs file and artificially alter the indentation
- attempt autoformat using
Ctrl+Shift+F
- result: no changes
- expected result: text is indented correctly
Additional information: There is no error message in the RLS logs. It does appear that the format operation is returning just a list of changes lines rather than the whole formatted file.
[t=1554978597331] LSP4E to org.eclipse.corrosion.rls:
{"jsonrpc":"2.0","id":"56","method":"textDocument/formatting","params":{"textDocument":{"uri":"file:[...]"},"options":{"tabSize":4,"insertSpaces":false}}}
[t=1554978597359] org.eclipse.corrosion.rls to LSP4E:
{"jsonrpc":"2.0","id":"56","result":[{"range":{"start":{"line":5,"character":0},"end":{"line":5,"character":18446744073709551615}},"newText":"use gtk::traits::*;"}]}
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How to disable automatic line breaks in formatter? #416 - GitHub
When I write this and save: let board = stdin.lock().lines().map(|r| r.unwrap()).take(3).collect:: (); It is automatically formatted like ...
Read more >Row-Level Security - SQL Server | Microsoft Learn
Row-Level Security (RLS) simplifies the design and coding of security in your application. RLS helps you implement restrictions on data row ...
Read more >Using row-level security (RLS) with user-based rules to restrict ...
Restrict access to an existing dataset by using row-level security (RLS) with rules based on user name or group in Amazon QuickSight.
Read more >RLS not working on powerbi online
RLS applies correctly when using Power BI desktop for all users. ... at least for a little while. I'll update this post if...
Read more >RLS using Cognito - Amazon QuickSight Community
I beleive you are using an IAM role that Cognito users assume to access QuickSight, so your QuickSight usernames should be in the...
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
"character":18446744073709551615
is definitely an erroneous value (character is supposed to be the “column” of the character. The bug is in RLS 😉fixed with RLS in
nightly-2019-04-14