zh-CN 简体中文 项目首页 从VSCode市场安装 源码安装 软件源安装 如何使用 开发环境 引用font-size-controller
font-size-controller文档
欢迎广大开发者将此文档翻译为其他语言。
从VSCode市场安装

font-size-controller可以从VSCode市场安装。

从VSCode市场安装font-size-controller,截图如下:
源码安装
在 VS Code 中打开源码目录。
安装 vsce,代码如下:

$ npm install -g vsce

打包 .vsix 文件,代码如下:

$ vsce package

在VSCode中右键点击 .vsix 文件即可安装扩展。
软件源安装

font-size-controller可以通过NPM软件源安装。

通过NPM软件源安装font-size-controller,代码如下:

$ npm i font-size-controller

如何使用
在VSCode窗口的右下角有一个“设置字号”按钮。点击即可调节VSCode编辑区域的字号大小。
字号分为大字、中字和小字三个预设档位。
大字适合演讲、中字适合日常编码、小字适合查看大量代码。
字号支持自由调节。
支持一键恢复默认字号。
开发环境
安装 vsce,代码如下:

$ npm install -g vsce

引用font-size-controller
如果你在学术研究中涉及font-size-controller,那么可以按需引用以下内容。
font-size-controller源码(BibTeX)

@misc{CNOCTAVE2026, author = {Yu Hongbo, }, title = {font-size-controller}, year = {2026}, howpublished = {\url{https://github.com/CNOCTAVE/font-size-controller}}, }

font-size-controller文档(BibTeX)

@techreport{CNOCTAVE2026, author = {Yu Hongbo, }, title = {font-size-controller Document}, institution = {BA DU XIN SHANG}, year = {2026}, number = {24}, month = {3}, url = {https://cnoctave.github.io/font-size-controller/index.html}, urldate = {2026-3-24}, }

Enhancing the Viewing Experience of Academic Live Streams with font-size-controller(BibTeX)

@article{https://doi.org/10.31224/6884, doi = {10.31224/6884}, url = {https://engrxiv.org/preprint/view/6884}, author = {Yu Hongbo, }, keywords = {Academic live streaming, font size adjustment, VSCode extension, user experience, educational technology, open-source software}, title = {Enhancing the Viewing Experience of Academic Live Streams with font-size-controller}, publisher = {engrxiv}, year = {2026}, copyright = {Creative Commons Attribution 4.0 International} }

© 2024-2026 CNOCTAVE © 2024-2026 Yu Hongbo