输入 ctrl + shift + p 搜索 30 Day English: Toggle Spelling Check 启动服务。
在文档最后一行中输入对应的英语单词并按 Enter,它会把最后一行删掉,并判断输入是否正确。
插件会自动检查您的答案,并更新状态栏中的中文提示。
配置
如果您想使用自己的单词列表,可以在 VS Code 设置中修改 30day-english.wordSamplesPath 配置项,指向您的 JSON 单词文件。
默认单词文件格式如下:
{
"Relative": ["Is she a distant relative of yours?", "亲戚"],
"Parent": ["Every parent wants the best for their child.", "家长"],
"Child/Children": ["They have three children.", "孩子"],
"Mother": ["My mother called me yesterday.", "母亲"],
"Father": ["He is a loving father to his kids.", "父亲"],
}