MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getEditorExtensionSignature

Function getEditorExtensionSignature

src/lib/editorManager.js:1304–1312  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

1302 };
1303
1304 function getEditorExtensionSignature(file) {
1305 return JSON.stringify({
1306 syntax: getEmmetSyntaxForFile(file),
1307 useEmmet: appSettings.value.useEmmet !== false,
1308 colorPreview: !!appSettings.value.colorPreview,
1309 autoCloseTags: appSettings.value.autoCloseTags !== false,
1310 baseExtensions: getBaseExtensionSignature(),
1311 });
1312 }
1313
1314 function getEditorOptionsSignature() {
1315 const values = appSettings?.value || {};

Callers 1

applyFileToEditorFunction · 0.85

Calls 2

getEmmetSyntaxForFileFunction · 0.85

Tested by

no test coverage detected