ocsmit / zed-r

R language support for Zed editor
24 stars 2 forks source link

Add Outline view #2

Closed PyryOuri closed 6 months ago

PyryOuri commented 6 months ago

Hi! Could it be possible to add outline support to the extension? This way Outline View would show something like functions etc. Maybe something that was done here for example: https://github.com/zed-industries/zed/issues/7357?

ocsmit commented 6 months ago

Hi! I just opened a merge request for the zed extensions repo that would add a minimal outline view for functions. The way R is structured makes it a bit tricky to add more than functions (e.g. S3/4 class definitions) so just went with them initially! If there are any other objects that would be useful to add to the outline feel free to let me know!