Skip to content

Make clicking a folder node select that folder in the file explorer - #2

Open
JimmyCushnie wants to merge 1 commit into
codaloc:masterfrom
JimmyCushnie:handle-click-folder-node
Open

Make clicking a folder node select that folder in the file explorer#2
JimmyCushnie wants to merge 1 commit into
codaloc:masterfrom
JimmyCushnie:handle-click-folder-node

Conversation

@JimmyCushnie

Copy link
Copy Markdown

Fixes #1

Currently if you click a node that represents a folder, it uses the same click handle behavior as tag nodes, opening a search for a tag with the name of the folder path. I've injected a custom click handler to the renderer which intercepts clicks on folder nodes and does not perform the search, instead calling the file explorer plugin's revealInFolder method to highlight the clicked folder in the Files pane.

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

Successfully merging this pull request may close these issues.

Clicking on a folder node opens a search for "tag:/foldername" even though foldername is not a tag

1 participant