您可以在 Workspace 和 User 设置下调整此选项,但在 Workspace 设置中调整此选项可确保在您的工作区连接到的虚拟机重启后,该设置会保留。在 IDX 中,用户设置不会应用于您的所有工作区。
开启代码补全建议后,Gemini 会提供 AI 辅助的代码建议。如需接受代码建议,请按 Tab 键。如需忽略建议,只需继续输入即可。
保留所有权利。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-21。
[null,null,["最后更新时间 (UTC):2024-12-21。"],[[["Project IDX integrates Gemini AI for code suggestions, boosting developer productivity through inline code assistance and auto-completion."],["Before utilizing Gemini's features, ensure it's added to your workspace and understand that suggestions are in preview and should be validated before implementation."],["Users can trigger inline code suggestions using keyboard shortcuts (Cmd/Ctrl + I), refine them with actions, and choose to accept, discard, or regenerate the output."],["Gemini in IDX offers an interactive chat feature, allowing users to provide natural language instructions for code updates and command execution."],["Code completion is enabled by default and can be toggled in workspace settings, offering AI-powered predictions as you type, accepted by pressing Tab."]]],[]]