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

Doc links for primitives #1362

Open
Xanewok opened this issue Feb 25, 2019 · 1 comment
Open

Doc links for primitives #1362

Xanewok opened this issue Feb 25, 2019 · 1 comment

Comments

@Xanewok
Copy link
Member

Xanewok commented Feb 25, 2019

Originally created by @nrc (rust-dev-tools/rls-analysis#87):

Need to be primitive rather than type. cc rust-dev-tools/rls-analysis#85

Can probably be hacked fairly easily by hard-coding a list of primitives.

@Xanewok
Copy link
Member Author

Xanewok commented Feb 25, 2019

Originally replied by @kzys (rust-dev-tools/rls-analysis#87 (comment)):

Don't we need primitives on save-analysis's JSON data?

RLS uses span-based methods such as https://github.com/rust-lang-nursery/rls/blob/377081d6cb14641affbc4dea6defa01984ae4a96/src/actions/hover.rs#L890. We may need to have a way to convert spans to primitives' defs, I think.

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

No branches or pull requests

1 participant