Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

completion not working with modules #1383

@jamesmahler

Description

@jamesmahler

I've finally figured out the pattern to make my auto completion break. It worked great until my project go too large, but my lines of code are way smaller than others that are working.

It comes down to modules and how I do them. I've managed to make a very minimal project that shows this. Attached is a tar.gz of setup that can replicate it. I haven't tried pre-2018 syntax for doing them. I'm wondering if the missing mod.rs is breaking it. You don't need the workspace to break it, you can just open my_bin, I just like cargo workspaces for vs code.

Look at my_bin/src/main.rs . It has comments of what works and what doesn't. All references are to things in my_lib/src. However I believe this is also breaking creates and std references that won't complete for me.

I'm using stable, not sure how to get version. Updated today. Using vscode as frontend, but saw similar in eclipse corrosion.

wontComplete.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions