Code completion
Cloud completion powered by AI Assistant can autocomplete single lines, blocks of code, and even entire functions in real time based on the project context. The generated code is similar to how you would write code, matching your style and naming conventions.
Completion is available not only for code but also in commented lines, AI Chat, and commit messages. You can configure where you want to get the completion suggestions in settings.
Work with cloud completion
To invoke code completion suggestions:
Start typing in the editor, AI Chat, or Commit Message field. The suggestions start to appear as you type.




You can also trigger the code completion by pressing Alt+Shift+\.
To apply the suggestion:
Press Tab to accept the entire suggestion. You can configure a different shortcut for this action.
Press Ctrl+Right to accept a suggestion word by word.
Press End to accept a suggestion line by line.
To reject the suggestion, press Escape. Alternatively, just continue typing or change the caret position either with the arrow keys or by a mouse click.
Configure cloud completion
The cloud completion option is enabled by default. To configure the way it works, press Ctrl+Alt+S to open the settings and go to .

Enable the necessary options to personalize your experience with code completion.
Item | Description |
|---|---|
Enable cloud completion suggestions | Enable cloud-based code completion and select the Languages for which you want to receive suggestions. |
Languages | Select the languages for which you want to receive suggestions. The code completion feature will be available when working in files of the corresponding types. The All other option covers other file types and is disabled by default. |
Exclude files types | This setting appears only when the All other option is selected. It allows you to specify a comma-separated list of file extensions for which code completion should not be provided. For example: |
Features | Select where else you want to receive code completion suggestions:
|
Completion policy | This option allows you to control how many code suggestions you receive and how strictly they are filtered for accuracy and relevance. Select the number of suggestions you want to receive:
|
Enable code completion indicator | This option colors the caret in purple to indicate that code completion is invoked ![]() |
Enable automatic completion on typing | When enabled, code completion suggestions are displayed automatically as you type. When disabled, the completion suggestions are shown only when invoked manually via the Alt+Shift+\ shortcut. |
Enable multi-line suggestions | Clear this checkbox to leave only single-line suggestions |
Synchronize inline and popup completions | Select this option to see suggestions listed in a popup that appears in the editor while you type. This way, you can avoid shortcut conflicts. ![]() |
To disable cloud code completion, clear the Enable cloud completion suggestions checkbox on the same settings page or in .
List of supported languages and file types
This section provides a list of file types where cloud-based code completion can be invoked.
- Languages and corresponding file types
Language/Type
Extension
Java
javaKotlin
kt,ktsPython
py,ipynbRust
rs,rsxGo
goC/C++
c,h,cpp,cc,cp,hpp,h++C#
csRuby
rb,ruby,rbw,ruRBS
rbsERB
erb,rhtmlPHP
php,phtml,phpt,ctpScala
scala,sbtTerraform/OpenTofu
tf,hclXML
xmlJSON
jsonYAML
yml,yamlProperties
propertiesMarkdown
md,markdown,mkd,mkdn,rmdPlain text
txtHTML
html,htm,xhtml,xhtCSS-like
css,scss,sass,lessJavaScript/TypeScript
js,jsx,ts,tsx,es6,sjs,jsm,pac,vueSQL
sql,ddl,db2,udf- Languages and file types covered by the All other setting
Language / Type
Extension
Python/Cython
pyw,pyx,pxd,pxi,pydeRusty Object Notation
ronC++
cxx,c++,hh,hxx,ipp,tpp,inl,tccVisual Basic/VBScript/VBA
vb,vbs,vba,bas,frmF#
fs,fsi,fsxSwift
swiftPL/SQL
plsql,plb,pkb,pks,prcR
r,rdShell scripts
sh,bash,zsh,ksh,bats,command,tmuxWindows Batch
bat,cmdPowerShell
ps1,psm1,psd1Objective-C++
mmMake/ConTeXt
makefile,mk,mak,mkiv,mkii,mkviCMake
cmakeGYP
gypBazel
bzlTOML
tomlDocker
dockerfileBuild scripts (Dart, C#, Ruby, etc.)
tool,cake,builderreStructuredText
rstLaTeX
tex,sty,bib,dtx,insTemplates (Ruby, Elixir, .NET, etc.)
mustache,jinja,eex,rabl,cshtml,vbhtmlRuby DSLs
thor,rake,jbuilder,gemspecLaTeX components
cbx,bbx,lbxCassandra Query Language
cqlSAP HANA XS JavaScript
xsjslibRuby CocoaPods specification
podspec
Change the cloud completion shortcut
You can change the default cloud completion shortcut that you use to accept suggestions.
Hover over the suggestion.
In the popup that appears, click
and select the key that you want to use for accepting suggestions.
To assign your own shortcut, select Custom.

You can also change any code completion shortcuts in the anytime.
Collect AI completion logs
If you want to analyze AI completion behavior or report inconsistencies to the customer support, you need to collect logs. To do this:
In the main menu, go to or press Shift twice to open the search window.
Type Collect AI Completion Logs and press Enter.
Click Collect Logs in the Collect Diagnostics Data of AI Completion dialog. This will start the logging process that runs for one minute.
Type your code as you normally would and expect completion.
After the logging process is complete, you will see a confirmation dialog pointing to the log file.

Review the log file and remove any confidential information before sending it to customer support.

