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

I wish aliases 「 insert to editor」 #245

Closed
Akiyam-hub opened this issue Jun 26, 2024 · 6 comments
Closed

I wish aliases 「 insert to editor」 #245

Akiyam-hub opened this issue Jun 26, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@Akiyam-hub
Copy link

Thank you for always providing great features!

current, 「 insert to editor」 is only insert of file name

ex. [[filename]] or [filename](filename.md)

I wish to insert aliases(or properties value) 「 insert to editor」 as option

it is useful to be a different thing from filename and aliases

ex. [aliases](filename.md)
@tadashi-aikawa
Copy link
Owner

Hi, @Akiyam-hub :)

I agree with your opinion. However, instead of creating a new command, I think it would be better to change the process so that when 'insert to editor' is executed in cases where an alias is displayed as the candidate title, the alias is displayed instead of the note title.

For example, in the image below, where the candidate title is PyPI and the alias is Python Package Index, the alias hits for 'python'. In this state,

image

If you execute 'insert to editor', the following content would be inserted into the editor.

[[Python Package Index|PyPI]]

What do you think?

@tadashi-aikawa tadashi-aikawa added the enhancement New feature or request label Jun 27, 2024
@Akiyam-hub
Copy link
Author

Thank you for your reply .

Your proposed behavior is exactly what I would like.

It would work even when there are multiple alias values.

I hope you will implement it!

@tadashi-aikawa tadashi-aikawa self-assigned this Jul 4, 2024
@tadashi-aikawa tadashi-aikawa moved this from Todo to In Progress in Obsidian Another Quick Switcher Plugin Jul 4, 2024
tadashi-aikawa added a commit that referenced this issue Jul 4, 2024
…trings to be inserted with the related commands 'insert to editor' #245
@tadashi-aikawa
Copy link
Owner

tadashi-aikawa commented Jul 4, 2024

@Akiyam-hub
I have released version 11.6.0-beta1 for now. Since there are many optional patterns and the implementation has become complex, it seems likely that there are bugs. If there appear to be no issues with the operation, I plan to make an official release. If you are using BRAT, it would be helpful if you could try it out.

@tadashi-aikawa tadashi-aikawa moved this from In Progress to Done in Obsidian Another Quick Switcher Plugin Jul 4, 2024
@Akiyam-hub
Copy link
Author

Thank you very much !

I tried to install it as soon as possible.
currency, it works fine for my use.

@tadashi-aikawa
Copy link
Owner

I’m glad to hear that!

I will reopen this issue now and close it after the official release.

@tadashi-aikawa tadashi-aikawa reopened this Jul 8, 2024
@tadashi-aikawa
Copy link
Owner

Thank you for your patience, @Akiyam-hub .

I have released in v11.6.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants