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

Bug: If folder is added, New Note Quick Switcher stops working #7

Closed
redactedscribe opened this issue Oct 14, 2023 · 5 comments
Closed
Assignees
Labels
bug Something isn't working todo I must do that

Comments

@redactedscribe
Copy link

redactedscribe commented Oct 14, 2023

Thanks for the quick switcher feature, it's much appreciated. There's a bug however:

In the plugin's options, "Add folder" and then define its folder path, existing or not (I tried {{current}} in an attempt to figure out how to use it -- I'm still not sure how -- I also tried test which doesn't exist, and / which of course does). After this, pressing the hotkey for the plugin's quick switcher no longer works (I re-assigned Ctrl+N). It can no longer be see in the Hotkeys list either. The only option is to disable and re-enable the plugin.

Thanks.

@redactedscribe redactedscribe changed the title Bug: If non-existing folder is defined, New Note Quick Switcher stops working Bug: If folder is added, New Note Quick Switcher stops working Oct 14, 2023
@Mara-Li
Copy link
Owner

Mara-Li commented Oct 15, 2023

Strange, will check this out!

For {{current}}, just set "{{current}}" in the path. You could also set something/{{current}}/something (normally, I must test it more), and if a file is opened, you can find the command and use it. It will create the something/thefolderofthefile/something for example.

@Mara-Li Mara-Li self-assigned this Oct 15, 2023
@Mara-Li Mara-Li added bug Something isn't working todo I must do that labels Oct 15, 2023
@Mara-Li
Copy link
Owner

Mara-Li commented Oct 15, 2023

Oh god, I know what cause this bug, i'm stupid!

@redactedscribe
Copy link
Author

redactedscribe commented Oct 15, 2023

Thanks for the fix, but it unfortunately appears to still be broken. Maybe you can check if adding a new folder is causing the plugin's two quick switcher options in the Command Palette to still disappear?

For {{current}}, just set "{{current}}" in the path. You could also set something/{{current}}/something (normally, I must test it more), and if a file is opened, you can find the command and use it. It will create the something/thefolderofthefile/something for example.

Once it's fixed, I can try using {{current}}.

@Mara-Li
Copy link
Owner

Mara-Li commented Oct 15, 2023

Bruh, ty, will check this out.
It was a little typo 🤦

@Mara-Li Mara-Li reopened this Oct 15, 2023
@redactedscribe
Copy link
Author

Once it's fixed, I can try using {{current}}.

Just to confirm, {{current}} works now 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working todo I must do that
Projects
None yet
Development

No branches or pull requests

2 participants