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

Fill in SymbolInformation container_name from workspace/symbol query #559

Closed
kjeremy opened this issue Jan 16, 2019 · 1 comment · Fixed by #813
Closed

Fill in SymbolInformation container_name from workspace/symbol query #559

kjeremy opened this issue Jan 16, 2019 · 1 comment · Fixed by #813
Labels
E-has-instructions Issue has some instructions and pointers to code to get started E-medium good first issue

Comments

@kjeremy
Copy link
Contributor

kjeremy commented Jan 16, 2019

It would be nice to fill this in for the UI.

@matklad matklad added good first issue E-medium E-has-instructions Issue has some instructions and pointers to code to get started labels Jan 26, 2019
@matklad
Copy link
Member

matklad commented Jan 26, 2019

bors bot added a commit that referenced this issue Feb 13, 2019
813: Add support for container_name in workspace/symbol query r=matklad a=vipentti

Currently this does not fill in the container_info if a type is defined on the top level in a file. 

e.g. `foo.rs`
```rust
enum Foo { }
```
`Foo` will have None as the container_name, however

```rust
mod foo_mod {
    enum Foo { } 
}
```
`Foo` has `foo_mod` as the container_name. 

This closes #559 

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
@bors bors bot closed this as completed in #813 Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-has-instructions Issue has some instructions and pointers to code to get started E-medium good first issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants