estruyf / vscode-front-matter

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...

Home Page:https://frontmatter.codes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue: A workspace folder selection shows up when no initialization is required

estruyf opened this issue · comments

Ok I'm seeing this issue again in a different workspace with multiple subprojects. I definitely didn't bump the Initialize button on this project. It's creating a frontmatter.json file. Nothing related in ./.vscode/settings.json for either workspace or workspace projects.

I just found that keying Ctrl-S to save a file I've just edited pops up this from FrontMatter asking me to select a workspace project instead of saving the file. So that might explain what's happening.

image

Originally posted by @tohagan in #774 (comment)

@tohagan In the new beta (building atm), a fix prevents FM CMS from starting up when there is no .frontmatter or frontmatter.json file in your workspace. Only when you trigger one of the FM commands will it start. This should prevent it from showing the above workspace folder selection when it doesn't need to do it.

Thanks very much. Will try to get some time to test the Beta this weekend.