Open tngreene opened 6 years ago
Oh, I should also say, I assume you've already had many of these thoughts yourself. I couldn't find a "TODO" list anywhere, so, maybe there is some cross over.
I completely agree that menu is mess. Two answers:
Any specific suggestions how to fix this would be welcome (especially in the form of pull request).
I am not certain how much future there is for whole ropemode
and ropevim
. Currently it is still the best way how to use rope
in your application, but there seem to be better alternatives developing. rope
itself seems to be everywhere (e.g., inside of the Python extension for VS Code and others), but as the future goes I would bet more money on something like LSP and its (still very immature) vim plugin (other implementations could be found elsewhere).
Hi mcepl,
What you suggest sounds like a great way forward, but it may actually be an open niche now. The palantir python lsp is a hack that bundles together rope/jedi/flake8/etc and there are a lot of problems with that, including duplicate messages and non-incremental check in many of its components. PyDev is currently tightly bundled with vscode. There is another alpha phase project on github that is not working.
All this been said, is there a plan to convert rope itself into a lsp for python, as rope basically does everything already and just needs an interface?
I agree about pyls
, but it seems to be moving in the more modular direction. And it is not necessarily too important anyway: if this particular LSP server turns out to be wrong, it can be replaced by something else (e.g., I can imagine a fork having true rope
etc. as a git submodules).
And BTW PyDev
is plugin to Eclipse … oh they made it to work with VS Code as well. Interesting. For VS Code itself I meant vscode-python which uses rope
as well.
Concerning converting rope into the LSP server, I think a separate project on the top of rope is more likely to work (hence possible fork of pyls
or something similar to ropemode/ropevim/ropemacs
).
@mcepl There's an open issue for having better integration with rope in pyls. Might be easier to integrate all the good stuff of rope into pyls than create a whole new language server.
I have started my own clone of pyls, where I try to use rope only, but I don't have enough time for it, so it is now mostly abandoned. Any pull requests are more than welcome.
Last up. And let me just say thank you for maintaining this. As a maintainer of an open source project, I know this is not easy.
Lastly, though some of the commands aren't working, I'm still able to try working through the menus. They were confusing to me and only after carefully reading the manual do I have a better feeling of what they might do, as the manual is not comprehensive.
These were my first impressions before I read the manual.
What does search mean? Search what? Aren't the others also searching something? What will "unsure" do? Does "in_hierarchy" refer to the folder heirarchy? Does resources refer to something in the .ropeproject folder?
And the rest of the full log:
Now, I know this is all easier said and done, and any time someone says "just do X, it is so easy!" they're probably have no idea what they're talking about and asking for, especially for a volunteer project, and this is already a lot of work put into this so far, but! I have really high hopes for this project!
If I could do some refactoring in Vim I could ditch PyDev and Eclipse! So, I'm really hoping that this project becomes usable. I expect nothing, and will be glad for whatever else comes out of the python open source community. But maybe if this becomes especially useful in my life, I could put in a few pull requests to help out the community!