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.

[FR] Saving Snippets in a Hidden Folder

See original GitHub issue

It would be great if the plugin can read a snippets file in a hidden directory like .config/

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
windily-cloudcommented, Oct 19, 2022

That looks nice! You’re welcome to submit a PR if you want. I’d be happy to accept it if the custom view only applies to the snippet file.

I submit a PR #69 . Now I can edit and load snippets in real time in obsidian, code highlighting and vim mode are also supported.

0reactions
zcysxycommented, Oct 18, 2022

Obsidian does not appear to emit a modify event when a file in a hidden folder (such as .config/) is edited, so I’m not sure how I would watch for changes to the snippet file.

You are right. Plugins like obsidian-vimrc that can read files in a hidden folder need reloading to take effect after editing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to save VS Code settings and snippets files in another ...
By default the user settings for VS Code are saved in c:\users\<username>\AppData\Roaming\Code\User . Is there a way to change that to save in...
Read more >
Create or paste code snippets in Slack
1. • From your desktop, click the plus icon next to the message field. 2. • Search for and select Create a text...
Read more >
Replacing Snippets
Click to show or hide folders where files are kept. is selected, the area splits into two. The folder is shown on the...
Read more >
Show hidden files - Microsoft Support
Learn how to display hidden files, folders, and drives. ... Under Advanced settings, select Show hidden files, folders, and drives, and then select...
Read more >
Code Snippets – WordPress plugin
Most snippet-hosting sites tell you to add snippet code to your active theme's functions.php file, which can get rather long and messy after...
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