Skip to content

ctags / tags integration for listing the outline #15

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
ryyppy opened this issue Dec 8, 2020 · 2 comments
Open

ctags / tags integration for listing the outline #15

ryyppy opened this issue Dec 8, 2020 · 2 comments

Comments

@ryyppy
Copy link
Member

ryyppy commented Dec 8, 2020

A common VIM workflow is to create tags file (often via ctags). There is no ReScript / ctags language extension, but maybe this is not even needed.

In a first version it would be perfectly fine to comply to the ctags file format and use the editor-support binary to retrieve the data for our modules.

When rescript-vscode supports outlines, it would also be possible to use that functionality to list outlines via coc-vim of course. I want to have a vanilla vim version first though.

Also check out how to use tags / how to create tag files in vim.

@thomaszdxsn
Copy link

still watch this feature

@jbhoot
Copy link

jbhoot commented Nov 17, 2022

I have been using ReScript LSP + https://github.com/simrat39/symbols-outline.nvim to get an outline view.

However, the generated view is flat. Heirarchy is missing from the outline.

image

I tried another plugin https://github.com/stevearc/aerial.nvim with the same result.

VS Code, however, produces a nice heirarchical outline.

Any idea on how this could be fixed?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants