Salta ai contenuti

Tabnine Commands

Comprehensive Tabnine AI code completion commands and workflows for intelligent coding assistance.

Installation and Setup

CommandDescription
code --install-extension TabNine.tabnine-vscodeInstall VS Code extension
tabnine auth loginLogin to Tabnine account
tabnine auth logoutLogout from account
tabnine auth statusCheck authentication status
tabnine --versionShow version information
tabnine --helpShow help information

VS Code Extension Commands

CommandDescription
Ctrl+Shift+P > Tabnine: Open SettingsOpen Tabnine settings
Ctrl+Shift+P > Tabnine: ToggleToggle Tabnine on/off
Ctrl+Shift+P > Tabnine: RestartRestart Tabnine service
Ctrl+Shift+P > Tabnine: Open HubOpen Tabnine Hub
Ctrl+Shift+P > Tabnine: StatusCheck status

Code Completion Shortcuts

ShortcutDescription
TabAccept suggestion
EscapeDismiss suggestion
Ctrl+SpaceTrigger suggestion
Alt+]Next suggestion
Alt+[Previous suggestion
Ctrl+Alt+SpaceForce trigger
Shift+TabPrevious completion

Configuration Commands

CommandDescription
tabnine configOpen configuration
tabnine config --set <key>=<value>Set configuration
tabnine config --get <key>Get configuration value
tabnine config --resetReset configuration
tabnine config --exportExport settings

Language Support

LanguageSupport Level
JavaScriptFull support
TypeScriptFull support
PythonFull support
JavaFull support
C++Full support
C#Full support
GoFull support
RustFull support
PHPFull support
RubyFull support

AI Models and Features

FeatureDescription
Deep learning modelAdvanced AI predictions
Local processingPrivacy-focused
Cloud syncCross-device learning
Team learningShared knowledge
Custom modelsDomain-specific training

IDE Integration

IDEInstallation Command
VS CodeInstall from marketplace
IntelliJ IDEAInstall from plugin repository
PyCharmInstall from plugin repository
WebStormInstall from plugin repository
Android StudioInstall from plugin repository
EclipseInstall from marketplace
VimInstall via package manager
EmacsInstall via package manager

Team Features

CommandDescription
tabnine team createCreate team
tabnine team invite <email>Invite team member
tabnine team remove <user>Remove team member
tabnine team settingsConfigure team settings
tabnine team modelsManage team models

Custom Model Training

CommandDescription
tabnine train --dataset <path>Train custom model
tabnine train --validateValidate training data
tabnine model listList available models
tabnine model switch <model>Switch active model
tabnine model delete <model>Delete custom model

Performance Optimization

CommandDescription
tabnine optimizeOptimize performance
tabnine cache clearClear cache
tabnine cache statusCheck cache status
tabnine memory --limit <mb>Set memory limit
tabnine cpu --limit <percent>Set CPU limit

Privacy and Security

CommandDescription
tabnine privacy --local-onlyEnable local-only mode
tabnine privacy --cloud-syncEnable cloud sync
tabnine privacy settingsPrivacy settings
tabnine data exportExport user data
tabnine data deleteDelete user data

Advanced Configuration

SettingDescription
completion_enabledEnable/disable completions
max_num_resultsMaximum suggestions
debounce_msCompletion delay
local_enabledLocal model usage
cloud_enabledCloud model usage
semantic_statusSemantic completion

Debugging and Logs

CommandDescription
tabnine logsView logs
tabnine logs --tailFollow logs
tabnine debug --enableEnable debug mode
tabnine debug --disableDisable debug mode
tabnine diagnosticsRun diagnostics

API and Integration

CommandDescription
tabnine api --token <token>Set API token
tabnine api --endpoint <url>Set API endpoint
tabnine api testTest API connection
tabnine api usageCheck API usage
tabnine api limitsCheck rate limits

Subscription Management

CommandDescription
tabnine subscription statusCheck subscription
tabnine subscription upgradeUpgrade subscription
tabnine subscription cancelCancel subscription
tabnine billing historyView billing history

Code Analysis Features

FeatureDescription
Semantic completionContext-aware suggestions
Function signaturesParameter suggestions
Import suggestionsAuto-import recommendations
Error detectionSyntax error prevention
Code patternsPattern recognition

Keyboard Shortcuts (IntelliJ)

ShortcutDescription
Ctrl+Alt+TToggle Tabnine
Ctrl+Alt+RRestart Tabnine
Ctrl+Alt+SOpen settings
Ctrl+Alt+HOpen hub
Ctrl+Alt+LView logs

File Type Support

ExtensionDescription
.js, .jsxJavaScript files
.ts, .tsxTypeScript files
.pyPython files
.javaJava files
.cpp, .hC++ files
.csC# files
.goGo files
.rsRust files
.phpPHP files
.rbRuby files

Environment Variables

VariableDescription
TABNINE_TOKENAPI authentication token
TABNINE_ENDPOINTAPI endpoint URL
TABNINE_LOG_LEVELLogging level
TABNINE_CACHE_DIRCache directory
TABNINE_CONFIG_DIRConfiguration directory

Configuration Files

FileDescription
tabnine_config.jsonMain configuration
.tabnineProject settings
tabnine.logLog file
model_cache/Model cache directory

Enterprise Features

CommandDescription
tabnine enterprise setupEnterprise setup
tabnine enterprise policiesManage policies
tabnine enterprise auditAudit logs
tabnine enterprise complianceCompliance settings

Analytics and Metrics

CommandDescription
tabnine metricsView usage metrics
tabnine analyticsAnalytics dashboard
tabnine performancePerformance metrics
tabnine reportGenerate report

Troubleshooting

IssueSolution
No completionsCheck internet connection
Slow performanceClear cache and restart
Extension not workingReinstall extension
Authentication failedRe-login to account
High CPU usageReduce completion frequency

Best Practices

PracticeDescription
Regular updatesKeep extension updated
Clean code styleBetter suggestions
Consistent namingImproved predictions
Code commentsEnhanced context
Team collaborationShared learning

Comparison with Other Tools

FeatureTabnineGitHub CopilotSupermaven
Local processingYesNoNo
Custom modelsYesNoNo
Team learningYesNoNo
Privacy focusHighMediumMedium
IDE supportExtensiveGoodGrowing

Integration Examples

FrameworkIntegration
ReactComponent suggestions
Vue.jsTemplate completions
AngularService completions
DjangoModel suggestions
FlaskRoute completions

Command Line Interface

CommandDescription
tabnine --install-dir <path>Set installation directory
tabnine --config-dir <path>Set config directory
tabnine --log-file <path>Set log file path
tabnine --daemonRun as daemon
tabnine --no-daemonRun without daemon

Vim Integration

CommandDescription
:TabnineEnableEnable Tabnine
:TabnineDisableDisable Tabnine
:TabnineStatusCheck status
:TabnineHubOpen hub
:TabnineLogsView logs

Emacs Integration

CommandDescription
M-x tabnine-startStart Tabnine
M-x tabnine-stopStop Tabnine
M-x tabnine-restartRestart Tabnine
M-x tabnine-configOpen configuration
M-x tabnine-statusCheck status