fix: update output channel creation to include specific ID for frontmatter project #1006

This commit is contained in:
Elio Struyf
2026-03-14 10:50:32 +01:00
parent 7847464899
commit 13a80b33e3
3 changed files with 3 additions and 5 deletions
+1
View File
@@ -4,6 +4,7 @@
- Removed the chatbot command and all related code and references
- [#983](https://github.com/estruyf/vscode-front-matter/issues/983): Removal of the `frontMatter.sponsors.ai.enabled` features
- [#1006](https://github.com/estruyf/vscode-front-matter/issues/1006): Fix output channel colorizer schema to only apply to the Front Matter output channel
### 🎨 Enhancements
+1 -4
View File
@@ -2789,10 +2789,7 @@
},
"languages": [
{
"id": "frontmatter.project.output",
"mimetypes": [
"text/x-code-output"
]
"id": "frontmatter.project.output"
}
],
"grammars": [
+1 -1
View File
@@ -12,7 +12,7 @@ export class Logger {
private constructor() {
const displayName = Extension.getInstance().displayName;
Logger.channel = window.createOutputChannel(displayName);
Logger.channel = window.createOutputChannel(displayName, 'frontmatter.project.output');
commands.registerCommand(COMMAND_NAME.showOutputChannel, () => {
Logger.channel?.show();
});