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

Release 14 by February 1st #868

Closed
8 tasks done
dantleech opened this issue Jan 11, 2020 · 11 comments
Closed
8 tasks done

Release 14 by February 1st #868

dantleech opened this issue Jan 11, 2020 · 11 comments

Comments

@dantleech
Copy link
Collaborator

dantleech commented Jan 11, 2020

There are quite some changes in develop currently, and some of them are problematic and blocking the next release:

We should consider reverting the above if they cannot be fixed.

In addition it would be great to:

Anything else I'm missing? cc @elythyr @Einenlum

@camilledejoye
Copy link
Contributor

For the "goto implementation" I think it's OK to include it in the release as long as it's well documented that the feature is slow on large project.
I often use ripgrep instead but in some cases I'm willing to take a few minutes to have a better result with this feature.
As long as it doesn't break anything, the user can choose to not use it so it's OK for me.

For the FZF list, I will try to get a look at it, we might have to change a few things or at least not use it for features that returns a list of actions.

@dantleech
Copy link
Collaborator Author

I have a pretty good solution for goto implementation - using a lazy index. However I'm currently blocked with the "cs fixer" implementation in code-builder - as it really doesn't work very well. I may well revert that completely and just live with the existing poorly formatted code.

@camilledejoye
Copy link
Contributor

I think it's acceptable, the "poorly formated code" was only in some really specific cases if I remember properly.

@camilledejoye
Copy link
Contributor

Do you think it would be possible to use the monolith for the next release ?

@dantleech
Copy link
Collaborator Author

I don't think so - it's very time consuming to setup and I haven't got confidence in any particular plan. I'd rather not add further tasks to the list.

@dantleech
Copy link
Collaborator Author

The CS fixer (for generated code) has been completely removed now. Will hopefully get the indexer finished tomorrow.

@dantleech
Copy link
Collaborator Author

@elythyr I made a PR to make the FZF / BAT features experimental for this release: #883

@dantleech
Copy link
Collaborator Author

dantleech commented Feb 15, 2020

Hae added PHP version detection which also checks composer and improved the workspace-query indexer to support a basic --watch mode.

In addition to enabling goto implementation the workspace-query module also proides source code location - which will provide much better support for non-composer / strange projects / projects which break autoloaders.

It's still experimental though, the indexer is polling currently which means scanning potentially ~30k files every x seconds - it should at least support using inotify on Linux-like machines. In addition the VIM plugin should be able to manage the process and keep it running - and that's interesting as VIM and Nvim have different APIs. Probably better to delegate to a third-party plugin if available.

Would also to allow the use of > 1 core when using the indexer...

So potentially will keep workspace-query experimental.

@camilledejoye
Copy link
Contributor

It's indeed to possible to find third-party plugin to deal with async in both Vim and NVim.

@dantleech
Copy link
Collaborator Author

dantleech commented Feb 25, 2020

Well, it's fairly trivial to do it ourselves (and stay dependency-less) I think (this is the WIP)

@dantleech
Copy link
Collaborator Author

One month late: https://www.dantleech.com/blog/2020/03/01/phpactor-14/

... and there was much rejoicing 🎉

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