英文文本在大小写和命名风格之间转换,边选边看,保留换行。用于代码变量改名、英文标题排版、数据清洗、把通知转全大写强调等。全部本地运行,不上传。
基础
hELLO wORLD → Hello World)a / an / the / of / and / to 等小词除句首句尾外保持小写(this is a title of the book → This Is a Title of the Book).!?。!? 断句开发者命名(会拆词,识别 helloWorld、hello_world、hello-world、HTTP响应 等)
user_name and dataList → userNameAndDataListhello world → HelloWorldhelloWorld foo → hello_world_fooHTTPResponse Code → http-response-codemy var name → MY_VAR_NAME开发者命名逐行处理,多行输入每行单独转换。
Q:中文会被影响吗? A:不会。只动拉丁字母的大小写。开发者命名模式会按非字母边界拆词,中文段会作为一个整体。
Q:Title Case 和"每词首字母大写"有什么区别?
A:"每词首字母大写"每个词都大写首字母;Title Case 会让 a / the / of 这类小词(除句首句尾)保持小写,更符合英文标题排版规范。
Q:为什么 HTTPResponse 能拆成 http response?
A:拆词时识别"连续大写 + 大写小写"的边界(HTTPResponse → HTTP + Response),也识别小写转大写的驼峰边界。
Q:文本会上传吗? A:不会。