-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
impl Show for Path? #15827
Comments
This is by design, a Your example can be rendered with (Closing as not a bug.) |
I known this is by design, but I don't known what it resolved by this
|
…cola VSCode metadata. category:formatters If you invoke cmd+p `Format Document` without rust-analyzer installed in the workspace, VSCode suggests you "install a formatter" which triggers a search for `category:formatters rust`. Sadly rust-analyzer extension is not suggested. Tweak VSCode Extension Metadata so rust-analyzer shows up in 'category:formatters rust' search. You can see the valid values for categories in the [extension manifest: field reference](https://code.visualstudio.com/api/references/extension-manifest#fields) docs. <img width="270" alt="search2" src="https://github.com/rust-lang/rust-analyzer/assets/145113/5bd86497-2450-4be4-a073-e134d0616226"> <img width="432" alt="search_1" src="https://github.com/rust-lang/rust-analyzer/assets/145113/1ad1b375-58a1-4b37-b485-78e2a26b8342">
Path does not impl Show currently.
Sometimes you can't simply use Path.display(), for example:
The text was updated successfully, but these errors were encountered: