Code snippets & ghost suggest (Cursor-style)
ACE helps you write faster with two layers:
1. Local (offline, instant)
- Snippets: type
html,rfc,fastapi… → Tab inserts a template - Keywords: CSS props (
display,flex…), JS APIs (console.log,useState…), Java/Python/PHP commons → popup as you type
2. Ghost suggest (AI, like Cursor)
Gray ghost text appears at the cursor after you pause (~0.7s) or press Ctrl/Cmd+Alt+.
Press Tab to accept.
Uses the generate API only (not Agent chat / Ask mode), so you should not see JSON plans or “switch to Agent” messages.
Toggle: Settings → Agents & AI → Ghost suggest.
How to test
- Restart ACE (
cd desktop-ide && npm start) - Local: new
style.css→ typedis→ pickdisplay - Local snippet: new
index.html→ typehtml→ Tab - Ghost: in
greet.jstypefunction greet(→ wait or Ctrl+Alt+. → gray text should continue the function → Tab
