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: Add Lint Reminder to File in Obsidian

See original GitHub issue

Add indicator to show if note has been edited after last lint

With autosave, there’s no natural point when to run the linter, making it easy to forget. This leads to eg. inaccurate “last modified” time stamps on files.

Description: Once an edit has been made since the previous time running the linter, display an indicator to act as a visual reminder to run it.

This could be similar to the “unsaved edits” -indicators seen in many programs, like the *-symbol prepended to the window title in Paint.NET, Notepad++, MS Notepad, etc; or the dot/circle in VSCode that’s shown next to file and folder names.

I suggest adding indicators to:

  • The title bar of opened notes
  • Next to file/folder names in the file explorer
  • (Perhaps also on the status bar, similar to the sync status -icon)

Especially in the file explorer, the indicator could be a unique symbol or letter, perhaps L for Lint (this would be somewhat descriptive and potentially leave room for other plugins to add their own letters/symbols for similar purposes). Perhaps also change the color of the filenames. This would be similar to the git status indicators and colors (decorations) in VSCode.

  • Unless there’s already a fitting CSS variable, define a new one for the changed file/folder color, like --text-warning?
  • If possible, only show the lint reminder when there’s actually something to lint. So if there’s nothing that needs linting (not even a timestamp to update), it won’t show up even if there are changes.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
pjkaufmancommented, Sep 17, 2022

Additional suggestion: Add an automatically appearing button to run the linter on mobile more easily

I think you can do this by adding the lint file command to the mobile toolbar. Is that not the case for you?

0reactions
pjkaufmancommented, Sep 17, 2022

I think the indicator may be feasible, but I will have to see what all that would entail. But that would have to come after what is currently in the queue. For the Linter Roadmap.

Read more comments on GitHub >

github_iconTop Results From Across the Web

uphy/obsidian-reminder: Reminder plugin for Obsidian
Reminder plugin for Obsidian. This plugin adds feature to manage markdown TODOs with reminder. Features. Set Reminders. You can set ...
Read more >
Reminders in Obsidian - Feature requests
Example 2: A business partner asks me to write a proposal for a joint project which we want to submit in a couple...
Read more >
Never Forget A Task or To-Do Again - Obsidian Reminders
obsidian #obsidianapp #markdown ☕ Buy Me A Coffee - https://www.buymeacoffee.com/antoneheywardIn this video, I show how to get reminders ...
Read more >
7 VSCode tips you don't want to miss | by Jordan Cutler
I scoured the internet for the best VSCode tips and tricks engineers were ... Add the following to your settings.json : "files.autoSave": "afterDelay", ......
Read more >
Command line utilities
Command line tool for displaying and adding C2PA manifests ... Lightning-fast linter for .env files ... v1.3.0 app #to-do #reminders #cli #tasks ...
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