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

Support rename symbol #15

Open
WangWei90 opened this issue Nov 7, 2023 · 6 comments
Open

Support rename symbol #15

WangWei90 opened this issue Nov 7, 2023 · 6 comments

Comments

@WangWei90
Copy link

Thanks for your plugin.

In my experience, this one is the most stable one in sublime text.

rename symbol is a frequent operation, you should consider adding it.

Maybe should add those first before rename symbol, convert all symbols to snake_style, convert all symbols to camelStyle.

@vanyle
Copy link
Owner

vanyle commented Nov 19, 2023

Currently, the nimsuggest documentation seems a bit outdated. This is hindering my ability to add new feature while keeping performance decent (the performance is already quite bad).

The --v3 flag to enable the third version of the protocol is not mentioned anywhere and I am not in the mood to reverse engineer everything. I will wait until nimsuggest gets a documentation update to add this feature which I think will happen once incremental compilation is added to Nim as if I understand correctly, the lack of incremental compilation prevented nimsuggest from having decent performance.

@WangWei90
Copy link
Author

It seems the --v4 of nimsuggest has been added to the compiler recently.
I don't know when the next release will come.
I should have some time to investigate your code sometime later, keep using this version now.

@WangWei90
Copy link
Author

I just wonder why the basic tools around nim (nimsuggest, nimpretty) seem to lack polishing.

@vanyle
Copy link
Owner

vanyle commented Nov 30, 2023

Nimsuggest keeps using so much CPU, I'm tempted to write a naive nim parser for fast suggestions (even if templates or macros are not supported)

@WangWei90
Copy link
Author

Thanks, that will be good enough.
It will cover 90% + of my usage.
I use nim only for numerical computation, so type and proc is enough for me.
I come to nim because I think the static type will make the editor more friendly, and the syntax is similar to python (maybe on surface).

@WangWei90
Copy link
Author

I write a lot of sublime Python plugins, but I have no clue about anything of a parser.

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