Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>NO AI Text Case ConverterNew to Visual Studio Code? Get it now.
NO AI Text Case Converter

NO AI Text Case Converter

JKuMo

| (0) | Free
選取文字,快速轉換各種大小寫格式:UPPER、lower、Title Case、camelCase、snake_case 等
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Text Case Converter

Visual Studio Code Marketplace Installs Rating

快速將選取的文字轉換為各種常見的命名格式。

功能特色

🚀多種格式支援:uppercase、lowercase、titleCase、camelCase、pascalCase、snakeCase、kebabCase等

  • 🔍 一鍵搜尋:選取文字後可直接開啟 Google 搜尋
  • 🖱️ 右鍵選單:在選取的文字上按右鍵即可轉換
  • ✨ 智慧分詞:自動識別 camelCase、PascalCase、snake_case、kebab-case 等各種命名規範

支援的格式

格式 範例
UPPERCASE HELLO WORLD
lowercase hello world
Title Case Hello World
Sentence case Hello world
camelCase helloWorld
PascalCase HelloWorld
snake_case hello_world
kebab-case hello-world
CONSTANT_CASE HELLO_WORLD
dot.case hello.world
path/case hello/world

安裝方式

從 VS Code Marketplace 安裝(推薦)

  1. 打開 VS Code
  2. 切換到「擴充功能」標籤
  3. 搜尋「Text Case Converter」
  4. 點擊「安裝」

從 VSIX 檔案安裝

  1. 下載 .vsix 檔案
  2. 在 VS Code 中選擇「擴充功能」>「從 VSIX 安裝」
  3. 選擇下載的 .vsix 檔案

使用方式

  1. 在編輯器中選取一段文字
  2. 按下滑鼠右鍵
  3. 點選「Text Case」子選單
  4. 選擇目標格式

快速搜尋

在選取文字後,選擇「Search on Google」可快速開啟瀏匹器搜尋選取的內容。

鍵盤快捷鍵(可自訂)

此擴充功能支援自訂鍵盤快捷鍵。建議的快捷鍵配置:

{
    "key": "ctrl+shift+u",
    "command": "textcase.toUpperCase"
}

可在「檔案」>「喜好設定」>「鍵盤快捷鍵」中進行設定。

常見問題

為什麼右鍵選單沒有出現?

確保您已選取文字(反白)。選單只在有選取範圍時才會顯示。

轉換結果不如預期?

此工具會嘗試智慧分詞,但某些複雜的命名可能無法正確識別。歡迎回報問題。

技術細節

  • 使用正則表達式進行智慧分詞
  • 支援多種選取範圍同時轉換
  • 所有轉換在單一復原動作中完成

授權

MIT License - 詳見 LICENSE 檔案

作者

JKuMo

回報問題

如有問題或建議,請前往 GitHub Issues 回報。

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft