-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
File explorer and tree helper (v3) #5768
Open
wongjiahau
wants to merge
118
commits into
helix-editor:master
Choose a base branch
from
pinelang:tree_explore
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+4,499
−127
Open
Changes from 1 commit
Commits
Show all changes
118 commits
Select commit
Hold shift + click to select a range
b652f96
tree helper and file explorer
cossonleo d9d4daa
feat(ui/explore): implement "focus current file"
wongjiahau c446c39
feat(explorer/position): right
wongjiahau d04a1ce
refactor(tree): change internal implementation
wongjiahau aa397ef
feat(explore): reveal current file
wongjiahau bdab93e
feat(explore): search
wongjiahau 82fe4a3
test(ui/tree): find
wongjiahau 0f8b641
feat(tree): filter
wongjiahau 458fa1c
feat(explore): add folder/file
wongjiahau 2af8b41
feat(explore): remove files/folder
wongjiahau 44b46dd
feat(explore): rename file/folder
wongjiahau 5a5a1de
fix(explore/rename): should regenarate index
wongjiahau 52a26ff
feat(explore): refresh
wongjiahau ec2059b
style(ui/tree): highlight ancestor
wongjiahau ddb7564
feat(explore): add help
wongjiahau 2bafac0
feat(explore): go to previous root
wongjiahau 35ffc60
feat(explore): increase/decrease explorer size
wongjiahau 2c221f0
fix(explore): help page overflow
wongjiahau 790192d
doc(explorer): up to date
wongjiahau b38a941
feat(explore): close without clearing previous state
wongjiahau 56056e8
fix(explore): increase size will cause panic
wongjiahau a079477
fix(compile): warnings
wongjiahau 85fa1c5
feat(explore):
wongjiahau 9bd534b
fix(explore): filter
wongjiahau 7249536
fix(explore): 'h' does not realign preview properly
wongjiahau 94e2c29
fix(command): space e does not focus explorer when no files are opened
wongjiahau 374b8dd
style(explore): make Right the default position
wongjiahau c8578ba
fix: warnings
wongjiahau 30bac64
Revert "style(explore): make Right the default position"
wongjiahau ef73559
fix(explore): cannot focus explorer if no opened document
wongjiahau 0f8e0a5
fix(tree): deleting last file causes panic
wongjiahau 70984fd
Merge branch 'master' of https://github.com/helix-editor/helix into r…
wongjiahau f0a4b10
Merge branch 'refactor-tree-explorer' of github.com:pinelang/helix-tr…
wongjiahau 4dfa869
style(tree): increase indentation
wongjiahau c88164f
feat(tree-view): add unit tests
wongjiahau 64059fb
feat(tree): move left/right
wongjiahau 2a60662
feat(explore): add focus indicator
wongjiahau 2e654a0
refactor(explore): move search function to Tree
wongjiahau 2e7709e
MULTI
wongjiahau a259c20
fix(explore): help overflow
wongjiahau bcb1672
fix(explore):
wongjiahau 78bb297
Merge branch 'master' of https://github.com/helix-editor/helix into a…
wongjiahau 6321dc9
chore: rename explore to explorer
wongjiahau 7b63fda
test(explorer): add integration tests
wongjiahau f9ff01d
chore(ui/tree): bind 'o' to Toggle
wongjiahau 899491b
feat(tree): add C-n/C-p keybinding
wongjiahau 6af9a06
feat(explorer): bind "="/"_" to "Zoom in"/"Zoom out"
wongjiahau 9205117
fix: failing tests
wongjiahau cf9b60a
feat(tree): sticky ancestors
wongjiahau dffbc15
refactor(explorer,tree): remove unwrap to avoid panics
wongjiahau 36769cb
fix(explorer/keymap): change 'b' to 'B'
wongjiahau b5d92ac
chore: fix clippy warnings
wongjiahau 38ef079
feat(tree): jump forward
wongjiahau 24b50bb
feat(explorer): toggle preview
wongjiahau 72b845d
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau ba00a80
fix(tree): shouldn't use patched font
wongjiahau 601f2c4
chore(ui/tree): remove useless comments
wongjiahau ef18502
chore: remove temp file
wongjiahau 5d600fe
doc(helix-term/.gitignore): document purpose of test-explorer
wongjiahau d578f8a
chore: fix clippy warning
wongjiahau c3b8be9
fix(ci): clippy + failure on Windows
wongjiahau c0073ed
Merge branch 'tree_explore' of github.com:pinelang/helix-tree-explore…
wongjiahau 4a0c620
fix(explorer/filter): not working for newly opened folder
wongjiahau 7e4feb0
fix(explore): search using previous search word after filter does not…
wongjiahau fae4990
test(tree): search prompt and filter prompt
wongjiahau 8379669
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau b18a974
fix(explorer): go to previous root does not update state.current_root
wongjiahau 19d436e
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau a2cb28d
chore(keymap): merge with the correct version
wongjiahau 43b226a
feat(explorer/keymap): combine 'a' with 'A'
wongjiahau c2e2f05
feat(explorer/delete): no need to press Enter, just press y
wongjiahau a4943a7
fix(explorer/overlay): prompt overflow
wongjiahau 8ef95ee
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau d3db1b6
style(tree): improve ancestor contrast
wongjiahau 31c0e84
fix(ci): failing windows test & clippy
wongjiahau bc62b76
fix(ci): failing windows test & clippy
wongjiahau aa6780e
feat(ui/tree): tree-based movements
wongjiahau 80a2f86
Merge branch 'tree_explore' of github.com:pinelang/helix-tree-explore…
wongjiahau d62b487
feat(ui/tree): undo breaking changes
wongjiahau d1e6a21
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau e991ed9
refactor(runtime/themes): revert changes to theme files
wongjiahau 9726ae7
fix(ci/test): failing on Windows
wongjiahau 7ccee10
chore: correction of e991ed9
wongjiahau 10032eb
fix(ci): cargo fmt
wongjiahau d043ea4
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau 1108c88
Merge branch 'master' into tree_explore
wongjiahau eb9287d
fix(ci): cargo fmt and windows test
wongjiahau 20241fb
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau 54b1693
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau c4c3e80
style(explorer/delete): capitalize default choice
wongjiahau 1780867
refactor(ui/explorer/handle_prompt_event): remove unnecessary function
wongjiahau 9a1aff2
refactor(ui/explorer/close_documents): concise code
wongjiahau 8b561e2
fix: type error
wongjiahau 41ebc30
fix(ui/tree/clone): `is_openend` should not be false
wongjiahau 52be2e0
refactor(ui/tree): remove filter
wongjiahau f5af209
refactor(explorer): remove preview
wongjiahau afda68a
chore: cargo fmt
wongjiahau e5dfde2
refactor(explorer): remove overlay option
wongjiahau 1be2ac2
fix(ui/explorer): tree search cursor not rendered
wongjiahau ee34720
style(explorer): move title to statusline
wongjiahau 404f950
fix(tests/explorer/new_folder): failing on Windows
wongjiahau 898c167
fix(integration-test/test_goto_file_impl): failing due to untested ch…
wongjiahau 33542e9
refactor: remove unnecessary dev-dependencies
wongjiahau f5aec54
chore(commands): revert accidental typo
wongjiahau a331e52
chore(keymap): remove "<space>E"
wongjiahau eebff62
chore(doc/configuration/explorer/position): remove `overlay` option
wongjiahau f37c795
chore(ui/prompt): use &str instead of Cow<str>
wongjiahau 88ac941
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau cf9669f
fix(ci): clippy error
wongjiahau e2c3757
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau 2d1ca23
refactor(explorer/tests): use tempfile instead
wongjiahau 4fe9896
chore(book/src/configuration.md): remove accidental addition
wongjiahau d86abf1
chore(explorer): minor code changes
wongjiahau 0885057
perf(tree/reveal-item): remove over-conservative refresh
wongjiahau 99e3db4
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau 10f302d
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau fd80660
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau 2c27974
Merge branch 'master' of https://github.com/helix-editor/helix into t…
wongjiahau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(tree): filter
commit 0f8b641a5d67027cfc69aaeeb22e46f7fbd26eaf
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.