New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue: slowing down of VSCode and never-ending "Processing" in status bar. #801
Comments
oops... looked in the wrong place for diagnostic logging: Project namekollitsch.dev Folders
Workspace folder/home/patrick/github.com/davidsneighbour/kollitsch.dev Total filesTotal files found: 67839 Folders to search files
Complete frontmatter.json config{
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
"frontMatter.config.dynamicFilePath": "[[workspace]]/frontmatter.config.cjs",
"frontMatter.site.baseURL": "https://kollitsch.dev/",
"frontMatter.content.pageFolders": [
{
"$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json",
"title": "Blog Posts",
"path": "[[workspace]]/content/blog",
"contentTypes": [
"blog",
"music2program2",
"notes-from-the-laboratory"
],
"extended": true
},
{
"$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json",
"title": "Components",
"path": "[[workspace]]/../hugo-modules/modules/**/documentation",
"contentTypes": [
"component"
],
"extended": true
},
{
"$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json",
"title": "Tags",
"path": "[[workspace]]/content/tags",
"contentTypes": [
"tag"
],
"extended": true
}
],
"frontMatter.content.placeholders": [
{
"$schema": "https://frontmatter.codes/config/content.placeholders.schema.json",
"id": "permalink",
"value": "/blog/{{year}}/{{slug}}/index.md"
}
],
"frontMatter.content.snippets": {
"caption": {
"$schema": "https://frontmatter.codes/config/content.snippets.schema.json",
"snippet": "{{< caption \"{mediaUrl}\" \"Description\" >}}",
"sourcePath": "/home/patrick/github.com/davidsneighbour/kollitsch.dev/.frontmatter/config/content/snippets/caption.json"
}
},
"frontMatter.custom.scripts": [
{
"$schema": "https://frontmatter.codes/config/custom.scripts.schema.json",
"command": "~/.nvm/versions/node/v20.4.0/bin/node",
"script": "./.frontmatter/scripts/screenshot-header-image.js",
"title": "Retrieve Screenshot"
},
{
"$schema": "https://frontmatter.codes/config/custom.scripts.schema.json",
"command": "~/.nvm/versions/node/v20.4.0/bin/node",
"script": "./.frontmatter/scripts/retrieve-unsplash-header-image-info.mjs",
"title": "Retrieve Unsplash image"
},
{
"$schema": "https://frontmatter.codes/config/custom.scripts.schema.json",
"title": "Generate social image for Youtube",
"script": "./.frontmatter/scripts/create-youtube-header-image.js",
"command": "~/.nvm/versions/node/v20.9.0/bin/node",
"type": "content"
}
],
"frontMatter.data.files": [
{
"$schema": "https://frontmatter.codes/config/data.files.schema.json",
"id": "kurzschnitte",
"title": "Kurzschnitte",
"file": "[[workspace]]/data/dnb/kollitsch/kurzschnitte.json",
"fileType": "json",
"labelField": "title",
"singleEntry": false,
"schema": {
"title": "Kurzschnitte",
"type": "object",
"required": [
"title",
"link",
"slug"
],
"properties": {
"title": {
"type": "string",
"title": "Title"
},
"link": {
"type": "string",
"title": "Link"
},
"description": {
"type": "string",
"multiline": true,
"title": "Description"
},
"labels": {
"type": "array",
"items": {
"type": "string"
}
},
"slug": {
"type": "string",
"title": "Kurzschnitt-Post"
}
}
}
},
{
"$schema": "https://frontmatter.codes/config/data.files.schema.json",
"id": "music2program2",
"title": "Music to program to",
"file": "[[workspace]]/data/dnb/kollitsch/music.json",
"fileType": "json",
"labelField": "name",
"schema": {
"title": "Sponsors",
"type": "object",
"required": [
"name",
"link",
"slug"
],
"properties": {
"slug": {
"type": "string",
"title": "Slug"
},
"name": {
"type": "string",
"title": "Name"
},
"link": {
"type": "string",
"title": "Link"
},
"description": {
"type": "string",
"multiline": true,
"title": "Description"
},
"genre": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
],
"frontMatter.data.folders": [
{
"$schema": "https://frontmatter.codes/config/data.folders.schema.json"
}
],
"frontMatter.data.types": [
{
"$schema": "https://frontmatter.codes/config/data.types.schema.json"
}
],
"frontMatter.taxonomy.contentTypes": [
{
"$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
"name": "blog",
"previewPath": "yyyy/{{permalink}}",
"pageBundle": true,
"filetype": "md",
"fieldGroup": [
"resources"
],
"fields": [
{
"title": "Title",
"name": "title",
"type": "string",
"single": true
},
{
"title": "Description",
"name": "description",
"type": "string"
},
{
"title": "Publishing date",
"name": "date",
"type": "datetime",
"default": "{{now}}",
"format": "yyyy-MM-dd'T'HH:mm:ssxxx",
"isPublishDate": true
},
{
"title": "Last modified date",
"name": "lastmod",
"type": "datetime",
"default": "{{now}}",
"format": "yyyy-MM-dd'T'HH:mm:ssxxx",
"isModifiedDate": true
},
{
"title": "Draft",
"name": "draft",
"type": "draft"
},
{
"title": "Tags",
"name": "tags",
"type": "tags"
},
{
"title": "Categories",
"name": "categories",
"type": "categories"
},
{
"title": "Resources",
"name": "resources",
"type": "block",
"multiple": true,
"fieldGroup": [
"resources"
]
}
]
},
{
"$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
"fields": []
},
{
"$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
"name": "default",
"previewPath": "{{permalink}}",
"pageBundle": true,
"fields": [
{
"title": "Title",
"name": "title",
"type": "string",
"single": true
},
{
"title": "Description",
"name": "description",
"type": "string",
"single": true
},
{
"title": "Publishing date",
"name": "date",
"type": "datetime",
"default": "{{now}}",
"format": "yyyy-MM-dd'T'HH:mm:ssxxx",
"isPublishDate": true
},
{
"title": "Last modified date",
"name": "lastmod",
"type": "datetime",
"default": "{{now}}",
"format": "yyyy-MM-dd'T'HH:mm:ssxxx",
"isModifiedDate": true
},
{
"title": "Draft",
"name": "draft",
"type": "draft"
},
{
"title": "Tags",
"name": "tags",
"type": "tags"
},
{
"title": "Categories",
"name": "categories",
"type": "categories"
},
{
"title": "Resources",
"name": "resources",
"type": "block",
"fieldGroup": [
"resources"
]
}
]
},
{
"$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
"fields": []
},
{
"$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
"fields": []
},
{
"$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
"fields": []
}
],
"frontMatter.taxonomy.fieldGroups": [
{
"schema": "https://frontmatter.codes/config/taxonomy.fieldgroups.schema.json",
"id": "author",
"labelField": "name",
"fields": [
{
"title": "Author Name",
"name": "name",
"type": "string",
"single": true
},
{
"title": "Social link",
"name": "social",
"type": "string",
"single": true
}
]
},
{
"schema": "https://frontmatter.codes/config/taxonomy.fieldgroups.schema.json",
"id": "resources",
"labelField": "src",
"fields": [
{
"title": "Path/Filename",
"name": "src",
"type": "image",
"isPreviewImage": true,
"required": true
},
{
"title": "Title",
"name": "title",
"type": "string",
"single": true
},
{
"title": "Identifier",
"name": "name",
"type": "string",
"single": true
}
]
}
],
"frontMatter.extends": [
"https://dnbhub.xyz/frontmatter/settings.global.json"
],
"frontMatter.preview.host": "https://undefined:1313"
} |
@davidsneighbour It has to do with the number of folders to process a change, but we have implemented faster logic. Feel free to give it a try in the latest beta version. |
@estruyf perfect. the processing stopped blocking the editor in the beta version. thanks! |
Describe the bug
Sorry if this bug description is not too helpful; let me know anything or button to push or type to get behind the issue:
The plugin is somehow freezing after the first save. The only reason why I think it is FrontMatter is that, after disabling, everything works fine ;) And the status bar item running "Processing" without end is named Frontmatter.
I had Github's Copilot plugin under suspicion, or maybe an interaction between the two? It started with version 10.0.0 I think, but I was suspecting other factors (keyboard, copilot, linting plugins on save) before I ended up with Frontmatter in my eyes.
To recreate (hopefully) the situation, do this:
npm install
npm run server
orhugo server
to have the SSG running in the background. This might not work.content
, maybe this one: /content/blog/2024/git-stashes-for-adhders/index.mdSwitching FrontMatter off (leaving all other plugins active) leads to a normal typing experience with no sluggishness.
Screenshots
"Processing"
Desktop (please complete the following information):
The output log has no visible info about issues:
Using "Diagnostic Logging" does not lead to more info either:
The text was updated successfully, but these errors were encountered: