meta data for this page
  •  

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
vs-code [2023/03/15 17:38]
ghsrobert [介面] VSCodium + Custom UI 成功
vs-code [2024/07/30 18:23] (目前版本)
ghsrobert [20240730 問題]
行 92: 行 92:
     - 裝 Custom UI 並把 VS Code 那邊的設定都複製過來 → 成功了!!!     - 裝 Custom UI 並把 VS Code 那邊的設定都複製過來 → 成功了!!!
 </div> </div>
 +
 +===== VSCodium =====
 +改用 VSCodium 的好處:
 +  * 可以更新到 VS Code 1.74+ 的程式基礎,這樣就能裝一些新的擴充套件,如:
 +    * [[https://marketplace.visualstudio.com/items?itemName=fregante.ghost-text|GhostText Official]]
 +
 +從 VS Code 移轉設定:
 +  - 將 ~/Library/Application Support/Code 複製一份後改名為 VSCodium
 +    * VSCodium 需要做一個 product.json 才能用 VS Market,那個也要放進去
 +  - 擴充套件:
 +    - 本想把 ~/.vscode 直接複製到 ~/.vscode-oss,但因為怕影響到「特殊版」的 Monkey Patch,所以改為👇
 +    - 用 ''$ code --list-extensions | tee ~/vscode-extensions.txt'' 指令(([[https://dev.to/0xdonut/why-and-how-you-should-to-migrate-from-visual-studio-code-to-vscodium-j7d|Why and how you should migrate from Visual Studio Code to VSCodium - DEV Community]]))
 +      - 但 ''code'' 一開始並不是 shell command → 在 VS Code 中用 command palette 執行「Shell command: install 'code' command in PATH」✅
 +      - 執行 ''$ code --list-extensions | tee ~/vscode-extensions.txt''
 +      - 編輯 ~/vscode-extensions.txt,拿掉:<code>
 +iocave.customize-ui
 +iocave.monkey-patch
 +tokoph.ghosttext
 +</code>
 +      - 在 VS Code command palette 執行 uninstall 'code' command(好像不用了,如果下一步是安裝 ''codium'' 的話那就不會打架了)
 +      - 在 VSCodium 中用 command palette 執行「Shell command: install 'codium' command in PATH」✅
 +      - 執行 ''$ xargs -n1 codium --install-extension < ~/vscode-extensions.txt'',真有趣,不用關 VSCodium,一個個都裝好了~
 +    - Edit CSV 的行高要再設定
 +
 +==== 20240730 問題 ====
 +最近發現 ``⌘⇧N`` 開新視窗時會說「歡迎」畫面 ''unexpected token in json''
 +  - 裝最新 VSCodium 1.91xxxx 會打不開,死 orz
 +  - 降裝 1.79.0 → Customize UI 出得來,但介面字型變了
 +    * (有發現 VS Code 似有新的 APC extension 可以調整介面)
 +  - 再降裝 1.75.1 → 介面字型順利改變,但是「歡迎」畫面又死了 :s