# chang-symbol **Repository Path**: brand_zhou/chang-symbol ## Basic Information - **Project Name**: chang-symbol - **Description**: vscode 的插件,自动将所有中文字符转换为英文字符 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2021-09-08 - **Last Updated**: 2024-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # change-symbol README 自动将中文符号转换为英文符号,转换表如下 ``` text = text.replace(/,/g, ","); text = text.replace(/。/g, "."); text = text.replace(/《/g, "<"); text = text.replace(/》/g, ">"); text = text.replace(/?/g, "?"); text = text.replace(/;/g, ";"); text = text.replace(/:/g, ":"); text = text.replace(/‘/g, "'"); text = text.replace(/’/g, "'"); text = text.replace(/“/g, "\""); text = text.replace(/”/g, "\""); text = text.replace(/!/g, "!"); text = text.replace(/(/g, "("); text = text.replace(/)/g, ")"); text = text.replace(/——/g, "_"); ``` 注意:插件不会对键入环境进行判断,键入就会立马改变,如果还想键入上述中文字符,请先禁用插件