Implement increasing font and editor scale

The following commands adjust the font scale in the editor only:

    - mind-reader.increaseFontScale

    - mind-reader.decreaseFontScale

    - mind-reader.resetFontScale

The following commands adjust the overall editor scale:

    - mind-reader.increaseEditorScale

    - mind-reader.decreaseEditorScale

    - mind-reader.resetEditorScale
This commit is contained in:
jakergrossman
2021-10-16 19:30:40 -05:00
parent ba6e27cb9e
commit 25b23c514b
3 changed files with 70 additions and 16 deletions

View File

@@ -18,6 +18,30 @@
{
"command": "mind-reader.helloWorld",
"title": "Hello World"
},
{
"command": "mind-reader.increaseFontScale",
"title": "Increase Font Scale"
},
{
"command": "mind-reader.decreaseFontScale",
"title": "Decrease Font Scale"
},
{
"command": "mind-reader.resetFontScale",
"title": "Reset Font Scale"
},
{
"command": "mind-reader.increaseEditorScale",
"title": "Increase Editor Scale"
},
{
"command": "mind-reader.decreaseEditorScale",
"title": "Decrease Editor Scale"
},
{
"command": "mind-reader.resetEditorScale",
"title": "Reset Editor Scale"
}
]
},
@@ -40,9 +64,7 @@
"glob": "^7.1.7",
"mocha": "^8.4.0",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2"
},
"dependencies": {
"vscode-test": "^1.5.2",
"@vscode/test-electron": "^1.6.2"
}
}