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

breaking: remove file browser #1453

Merged

Conversation

fdschmidt93
Copy link
Member

@fdschmidt93 fdschmidt93 commented Nov 14, 2021

The builtin.file_browser will be spun off into its own extension: https://github.com/nvim-telescope/telescope-file-browser.nvim (not yet accessible to public) The extension will incorporate a lot of demanded features and essentially constitutes #1257.

Hence, it makes sense to cut out the picker from telescope-core. Note that the PR should not yet be merged but is a prep for the initial release of the extension, which will happen throughout the upcoming week.

(Cutting out is also necessary, such that :Telescope file_browser adequately forwards to the extension.)

@tjdevries
Copy link
Member

Sweet, I was just checking to make sure this was getting deleted. The only thing I was wondering was if there was a way that we could let people know that it's in an extension now when they try and do :Telescope file_browser or something and it (in their minds) just randomly doesn't work anymore.

Thanks for doing this :) new extension looks good.

@fdschmidt93
Copy link
Member Author

I'd say let's have

  • a sticky issue for breaking changes and say in 2 or 4 weeks the picker will be removed
  • announce breaking change via packer (I think break: in commit message makes it light up)
  • one week ahead of removal add deprecation notice when the picker is launched

Thoughts?

@tjdevries
Copy link
Member

👍

@Conni2461 Conni2461 added this to In progress in 0.1 Dec 4, 2021
@Conni2461 Conni2461 moved this from In progress to Almost done in 0.1 Dec 4, 2021
@@ -2367,7 +2339,7 @@ work and make it really easy create new previewers.

Furthermore, there are a collection of previewers already defined which can be
used for every picker, as long as the entries of the picker provide the
necessary fields. The more important ones are
necessary fields. The more important once are
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this was a typo

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a change I've made, but I guess must have got intertwined with the state of master this branch is based off of.

Thanks for pointing it out! I'll merge sure this is untouched when I rebase prior to merging this PR (hopefully soon :)

@fdschmidt93 fdschmidt93 marked this pull request as ready for review January 11, 2022 20:56
@fdschmidt93
Copy link
Member Author

Apologies this took quite a bit longer than I originally planned.

@fdschmidt93 fdschmidt93 merged commit 015a356 into nvim-telescope:master Jan 11, 2022
0.1 automation moved this from Almost done to Done Jan 11, 2022
@fdschmidt93 fdschmidt93 deleted the chore/remove-file-browser branch January 11, 2022 21:00
aenichols pushed a commit to aenichols/telescope.nvim that referenced this pull request Jan 13, 2022
…nvim into nvim-telescope-master

* 'master' of https://github.com/nvim-telescope/telescope.nvim:
  break!: remove file_browser from builtins (nvim-telescope#1453)
  Revert "fix: folding when a file is opened (nvim-telescope#1643)" (nvim-telescope#1673)
  feat: tiebreak config function (nvim-telescope#1401)
  fix(builtin.treesitter): make sure that kind is not nil
  fix: folding when a file is opened (nvim-telescope#1643)
  fix: documentation for lsp_range_code_actions (nvim-telescope#1644)
  fix: allow `which_key` action without preview (nvim-telescope#1668)
razak17 pushed a commit to razak17/telescope.nvim that referenced this pull request Feb 1, 2022
The file_browser now has been fully removed.

Please move to github.com/nvim-telescope/telescope-file-browser.nvim
for a more featureful extension that replaces the builtin file browser.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
0.1
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants