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

Support //! style comment as docstring for crate #826

Closed
lbolla opened this issue Feb 16, 2018 · 2 comments
Closed

Support //! style comment as docstring for crate #826

lbolla opened this issue Feb 16, 2018 · 2 comments

Comments

@lbolla
Copy link

lbolla commented Feb 16, 2018

See discussion in #566.

For crates whose docstrings are in lib.rs, Racer's complete-with-snippet returns an empty list when completing the crate name itself. Compare with crates which instead use mod.rs, which behave correctly.

E.g. env_logger

@kngwyu
Copy link
Collaborator

kngwyu commented Feb 16, 2018

Thanks for reporting, and could you please add for crate to the issue name?
I didn't know racer supports it for local modules (sorry).

@lbolla lbolla changed the title Support \\! style comment as docstring Support \\! style comment as docstring for crate Feb 16, 2018
@TedDriggs TedDriggs changed the title Support \\! style comment as docstring for crate Support //! style comment as docstring for crate Feb 20, 2018
@kngwyu kngwyu closed this as completed May 10, 2018
@kngwyu
Copy link
Collaborator

kngwyu commented May 10, 2018

Closed via #827

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