今天試用了新發布的IDE, Google Antigravity . 我將自己VS code 的前端網頁專案夾,原本使用Vue程式語言架構撰寫,提需求將整個結構換成React程式語言。 一開始就會自動安裝相關套件,不用自己在那邊查指令或確認版本衝突問題。 先跑出Task, 然後完成會一步一步幫你打勾,過程還會自己測試。 還有Walkthrough,Implementation plan,讓你清楚知道接下來會做些什麼。 第一次測試,不用一直提問AI測試,只要看著修改的進度來處理。 對於程式語言初學者來說,非常友善。連Github push版本問題,都可以幫你解決。 可以自己選擇Conversation model(Planning or fast) , Agent model (pro_high, pro_low.....) 以下簡略的Task 內容 Task: Migrate "Project" from Vue to React Analyze current project structure and dependencies Create implementation plan Initialize React project structure Rename src to src_vue Update package.json Create vite.config.js Create index.html Migrate dependencies . . . . 以下簡略的Walkthrough內容 Vue to React Migration Walkthrough The Project has been successfully migrated from Vue.js to React. Changes Made Project Structure : Renamed original src to src_vue (backup). Created new src directory for React code. Replaced vue-cli ...
Life's like a box of chocalate, you never know what you're gonna get. I hope here will be a great information sharing space. You can get info. you want.