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

Setting for notes to ignore #3

Open
zachdaniel opened this issue Feb 12, 2022 · 8 comments
Open

Setting for notes to ignore #3

zachdaniel opened this issue Feb 12, 2022 · 8 comments
Labels
enhancement New feature or request

Comments

@zachdaniel
Copy link

Hello!

This plugin is awesome! One thing that could be really useful would be the ability to exclude certain notes or folders from suggestions via settings. For example, I have a note for myself in my CRM that has an alias for Me and Myself (which is kinda silly, just did it for tinkering), but now any word that contains me has that part highlighted 😆 For now I'll just remove that alias, but depending on the subject matter (like chemistry) you might end up with every letter in the alphabet lit up 😆

@hadynz hadynz added the enhancement New feature or request label Feb 13, 2022
@hadynz
Copy link
Owner

hadynz commented Feb 13, 2022

That's a really good call. Can see how that would be quite beneficial.

Would adding the following exclusion types achieve what you are trying to do:

  • Exclude indexing selected list of folders
  • Exclude indexing list of tags

@zachdaniel
Copy link
Author

Those are both useful, and I can see myself using both. However, the current one that matters to me is excluding a list of notes specifically, (e.g in the case that some note often suggests being linked). In my example, I'd like to be able to tell it to ignore the file called Me.

For specific files, it could also be done as yaml frontmatter, e.g

tags: ...
aliases: ....
sidekick: false

@chrisgrieser
Copy link

I agree, I also love the idea of the plugin, but a lot of the highlights are just unnecessary. ignoring would make the plugin much more valuable.

@hadynz
Copy link
Owner

hadynz commented Feb 13, 2022

I agree, I also love the idea of the plugin, but a lot of the highlights are just unnecessary. ignoring would make the plugin much more valuable.

Are you able to share some examples of what some of those unnecessary highlights look like?

This will help me as I am working on this feature.

@chrisgrieser
Copy link

highlighting everything that has a "pr", because I have a tag #pr (for public relations), for example.

Also, it have notes on some generic things like [[Dataview]] and it then highlights the word every time I write it, even though it doesn't need to have a link every time.

@hadynz
Copy link
Owner

hadynz commented Feb 13, 2022

The issue of partial highlighting (that you get with #pr) will be resolved as part of #4.

Also, it have notes on some generic things like [[Dataview]] and it then highlights the word every time I write it, even though it doesn't need to have a link every time.

What would you ideally expect from the plugin when dealing with very generic keywords in your notes and tags (like Dataview)?

@chrisgrieser
Copy link

I think simply having options to ignore them would suffice. Like sidekick: ignore in the yaml of [[Dataview]], or a plugin setting to save ignore a folder or sth.

@HEmile
Copy link

HEmile commented Mar 27, 2022

I created a setting in the pull request to allow disabling certain keywords (regardless of where it comes from). You can install it from here until it's pulled upstream. https://github.com/HEmile/obsidian-sidekick/releases/tag/1.1.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
Projects
None yet
Development

No branches or pull requests

4 participants