Get code suggestions from Gemini
Stay organized with collections
Save and categorize content based on your preferences.
Use Gemini to get code suggestions while writing code in the Console and Sources panels. From Chrome 142, this feature is available for all text-based resources for a web page. The priority language for code suggestions is JavaScript.
To enable code suggestions, go to DevTools > settingsSettings > AI innovations > Code suggestions.
Accept a suggestion
As you type in the Console or Sources panel, you'll get code suggestions. The suggestions depend on everything you have typed in the panel so far. Select Tab to accept or Esc to reject a suggestion.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-07 UTC."],[],[]]