Front Matter is a CMS running straight in Visual Studio Code. Can be used with static site generators like Hugo, Jekyll, Hexo, NextJs, Gatsby, and many more...
First of all, I appreciate this great plugin and always keep it updated!
Describe the bug
Metadata on .md files flashes and sometimes overwrites other files' metadata.
Also, even if no change is made, the file is treated as "edited/unsaved" (unsaved circle added to the tab) when you switch the tabs.
To Reproduce
Steps to reproduce the behavior:
Use v9.5.7529693 or later
Open several files
Swich the tabs
You can see 1) the metadata flashes, 2) the file status becomes "editted/unsaved", and 3) suddenly metadata is overwritten as other files metadata
Expected behavior
No metadata overwriting
No flashes when switching tabs
Treated the tab as remaining "saved" if no change is made when switching tabs
First of all, I appreciate this great plugin and always keep it updated!
Describe the bug
Metadata on .md files flashes and sometimes overwrites other files' metadata. Also, even if no change is made, the file is treated as "edited/unsaved" (unsaved circle added to the tab) when you switch the tabs.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Case: A
Screencast from 2024-01-17 16-18-16.webm
I just switch the tabs on this movie. (0:19) We can see that the metadata has been may suddenly inserted into frontmatter.json.
Case: B
It can happen with other .md files, too.
Screencast from 2024-01-17 16-45-26.webm
(0:07~) Metadata
title
is overwritten. ("My Second Post" becomes "New Beginnings" which is thetitle
of the other markdown file)We can also see that the metadata flashes every time I switch tabs.
Desktop environment
Additional context
It doesn't happen with v9.5.7529693.
It seems that some changes between v9.5.7529693 and v9.5.7530510 may affect this.
Here is the test repository if frontmatter.json is needed.
Thanks for your support!