-
Notifications
You must be signed in to change notification settings - Fork 32
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
Implement Outline view #32
Comments
Outline is already implemented in rls and Corrosion: |
Lucas, can't we simulate edit to force rls to give us the outline? So outline show directly? |
Note that if the ranges returned by the documentSymbols request in RLS were ranges of the whole node (and not a subset of them), then the outline would be rendered as a tree. |
Update from rls: When making a request during a build, such as asking for outline on document update or open, the response will be generated from the last completed build, and on new files that means no response will be made. Either the change will have to be made upstream to allow waiting for builds to complete before getting responses back. Or when we receive the |
Yes, I think that's best. Let's not start wasting resources on workarounds. One of our goals with Corrosion is also to make the RLS better for other IDEs which want to include it, and workarounds in Corrosion are the opposite of that goal. |
Has this been fixed in rls already? |
No, a contributor said they were going to work on a pr. I asked for an update. |
I'm closing this one as Corrosion already has an Outline view. Further issues should be tracked in different tickets. |
Hi
![](https://cloud.githubusercontent.com/assets/16356998/16942947/4c382adc-4d99-11e6-8703-a8a64a1ca62d.png)
I think that this particular feature is brilliantly done in Eclipse, and I would love to see it realized in Corrosion for Rust in particular.
Here's a screenshot of the outline view displayed by Eclipse for a Java file:
The text was updated successfully, but these errors were encountered: