【IDE】VSCODE使用经验总结
搜索不到中文问题
ctrl + shift + f 进行全局搜索的时候:搜索英文和数字没有问题,能出来结果;但是搜索中文就会出不来结果。
该问题是 vs code 的默认编码导致的:
vs code 的默认编码是 UTF-8
项目存在部分文件的默认编码是 GBK
尽管开启Auto Guess ...
more >>
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true