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

Return range instead of position #97

Open
PMunch opened this issue Nov 7, 2018 · 1 comment
Open

Return range instead of position #97

PMunch opened this issue Nov 7, 2018 · 1 comment

Comments

@PMunch
Copy link

PMunch commented Nov 7, 2018

Nimsuggest currently only returns positions for symbols, errors, etc. This means that some editors ends up doing things like this: https://github.com/pragmagic/vscode-nim/blob/master/src/nimMain.ts#L146 in order to try and convert a position to a range. Would this be possible to do better directly in Nimsuggest?

@Araq
Copy link
Member

Araq commented Nov 7, 2018

Probably, even though we don't have range information in the compiler either.

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

No branches or pull requests

2 participants