-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type hints doesnt work with rust-analyzer 25-07-2022 (d.m.Y) #73
Comments
Rust analyzer versions newer than That's also the reason why this package is stuck at |
yeah, but that moves me to the original problem: with |
now with latest rust analyzer: .iter() and .split() methods appear again (autocomplete is working properly), but now here we go to this issue. |
or does it matter the version of the rust toolchain that im using ? i know that when i was coding in februrary 2022, type hints and completion was fine. should i revert back to the rust toolchain that i was using in would that work ? |
I suggest that you ask that question (whether rust analyzer depends on specific toolchain version) in https://github.com/rust-lang/rust-analyzer/issues. This is just a thin wrapper around rust-analyzer so none of us is probably familiar with such implementation details. |
but this issue still remains, cuz the problem with type hints isnt solved for newer than |
I wasn't sure which version exactly dropped support for this legacy implementation. I know |
good to know, then type hints in any rust analyzer newer than |
thanks a lot for your time |
For those looking to upgrade There's some invalid logging generated by |
Awesome! We're so close to a solution. I'm coming across a new problem now (rust-analyzer a670ff888 2022-08-21). On the latest master branch version of sublimelsp/LSP some of the inlay hints are broken. An example is as follows: fn main() {
let mut jeff = "20";
println!("{}", jeff);
} but fn main() {
let mut jeff = 20;
println!("{}", jeff);
} Any ideas as to what could be going on? I suspect it's a problem with the very new inlay hint feature in sublime text's LSP implementation. I'll submit a bug report there. There's some additional jank when it comes to the cursor as well. Update: it appears to break when the hint contains an ampersand (&) |
Yeah I'm seeing the Edit: Oh, nice :) sublimelsp/LSP#2034 + sublimelsp/LSP#2036 |
so now can i use latest |
hello
i have a really annoying problem and im requesting help.
type hints doesnt work in editor
![image](https://user-images.githubusercontent.com/54772464/180786862-81f5a4d9-e679-47e0-bedf-c68591bd488e.png)
they are enabled:
i've tested this issue with these versions of rust analyzer:
i've looked into the configuration json from the repo or rust analyzer. found out that type hints is changed compared to the settings from this sublime package
https://github.com/rust-lang/rust-analyzer/blob/master/docs/user/generated_config.adoc
the difference is:
seems to be deprecated from my opinion
anyway, i tried changing config from sublime settings, but i get warning
![image](https://user-images.githubusercontent.com/54772464/180787736-3c884ffe-64ea-4a6e-a138-7e9d3e1f168a.png)
i tried restarting rust analyzer but the type hints doesnt appear, so i guess the flag doesnt apply
also, i saw that with an older version of rust analyzer (22-02-2022) type hints worked.
so my conclusion is that the new versions of rust analyzer changed the type hint config and the old config doesnt apply anymore, leading to disabled feature of type hints.
also, i've found that in your repo the default version for
ra
is 10-01-2022 ... a really old version of rust analyzer.i think you should update your repo guys, thats what im suggesting
any ideas ?
thanks in advance.
The text was updated successfully, but these errors were encountered: