Skip to content
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

Rust not working at all #34

Open
Yuri6037 opened this issue Mar 23, 2021 · 2 comments
Open

Rust not working at all #34

Yuri6037 opened this issue Mar 23, 2021 · 2 comments

Comments

@Yuri6037
Copy link

The README of this extension is a lie: it says the extensions supports Rust. Well this is absolutely wrong: I just tried it on a rust function typing 3 times '/' followed by enter does not generate the auto comment block!

@recmo
Copy link

recmo commented Jun 7, 2021

@Yuri6037 Did you try pressing Shift-Enter? That works for me on /// doc comments. It doesn't work on //! inline doc comments though.

@Yuri6037
Copy link
Author

Yuri6037 commented Jun 8, 2021

Shift + Enter returns to the next line without generating further ///.

I think the feature I'd like does not exist. Let me explain: I'd like what JetBrains CLion can do directly in C++: pre-generate a comment block with predefined template for arguments and return values. There is a PR for this in Rust Intellij: intellij-rust/intellij-rust#7060

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants