question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

template to refactored note not working

See original GitHub issue

Thanks a lot for this awesome tool!

OS: Windows 10 Obsidian Version: 0.9.17 Plugin version: 1.5.2

template:

link to original note:
[[{{title}}]]

used ctrl + shift + c to create new note from selection and tried on two vaults (one of which is a template vault with no other community plug-in installed)

would love to provide more info if needed!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
xidsyedcommented, Jan 2, 2022

Instead of entereing the template in this field, could you add the option to import template from a file? I use templater plugin, and all my new files, have some YAML metadata, I want it to be consistent with refactored notes. I could hard-code copy it, but that defeats the purpose a little of templates.

image 👆 this is what i am talking about

Note refactor does not respect, the newNote template for some reason, and does let me link to the template. This would be a great addition to the plugin Thanks

1reaction
lynchjamescommented, Dec 23, 2020

This was indeed a bug which, ironically, I introduced while refactoring code for the new fuzzy suggest modal.

This should be fixed in 1.6.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Refactor notes with multiple templates - Help - Obsidian Forum
What I'm trying to do I would like to be able to refactor a note but using different templates for different types of...
Read more >
My process for refactoring notes (feat. Obisdian) : r/ObsidianMD
My system is a continual work in progress. Right now, I'm evaluating my approach to taking "fleeting" notes when I read, which is...
Read more >
How to fix error refactoring decltype inside template
Firstly the code tries to get the address of a type ( & ). Secondly, the argument of decltype is expected to be...
Read more >
Splitting Notes in Obsidian - The Sweet Setup
To do this, I just hit Command-P to activate the Command Pallete, search for Note Refactor, and select the option Split note by...
Read more >
Code Refactoring Best Practices: When (and When Not) to Do It
The goal of abstraction is to reduce unnecessary duplications in software code. One example of abstraction is the Pull-Up/Push-Down method.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found