تخطَّ إلى المحتوى

Supermaven Commands

Comprehensive Supermaven AI code completion commands and workflows for enhanced coding productivity.

Installation and Setup

CommandDescription
code --install-extension supermaven.supermavenInstall VS Code extension
supermaven auth loginLogin to Supermaven account
supermaven auth logoutLogout from account
supermaven auth statusCheck authentication status
supermaven --versionShow version information
supermaven --helpShow help information

VS Code Extension Commands

CommandDescription
Ctrl+Shift+P > Supermaven: EnableEnable Supermaven
Ctrl+Shift+P > Supermaven: DisableDisable Supermaven
Ctrl+Shift+P > Supermaven: ToggleToggle Supermaven on/off
Ctrl+Shift+P > Supermaven: SettingsOpen settings
Ctrl+Shift+P > Supermaven: StatusCheck status
Ctrl+Shift+P > Supermaven: RestartRestart service

Code Completion Shortcuts

ShortcutDescription
TabAccept suggestion
EscapeDismiss suggestion
Ctrl+RightAccept word
Ctrl+Shift+RightAccept line
Alt+]Next suggestion
Alt+[Previous suggestion
Ctrl+SpaceTrigger suggestion

Configuration Commands

CommandDescription
supermaven config showShow current configuration
supermaven config set <key> <value>Set configuration value
supermaven config resetReset to defaults
supermaven config exportExport configuration
supermaven config import <file>Import configuration

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

Context Window Features

FeatureDescription
1M token contextMassive context window
Whole codebase awarenessUnderstands entire project
Cross-file referencesLinks between files
Import suggestionsSmart import recommendations
Function signaturesComplete function context
Documentation contextIncludes relevant docs

Advanced Features

CommandDescription
supermaven analyzeAnalyze codebase
supermaven indexIndex project files
supermaven cache clearClear cache
supermaven cache statusCheck cache status
supermaven performanceShow performance metrics

Integration Commands

CommandDescription
supermaven integrate cursorSetup Cursor integration
supermaven integrate jetbrainsSetup JetBrains integration
supermaven integrate vimSetup Vim integration
supermaven integrate emacsSetup Emacs integration

API and CLI

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

Performance Optimization

CommandDescription
supermaven optimizeOptimize performance
supermaven memory --limit <mb>Set memory limit
supermaven threads --count <n>Set thread count
supermaven latency --mode fastOptimize for speed
supermaven latency --mode qualityOptimize for quality

Project Management

CommandDescription
supermaven project initInitialize project
supermaven project syncSync project files
supermaven project exclude <pattern>Exclude files/folders
supermaven project include <pattern>Include files/folders
supermaven project statusCheck project status

Debugging and Troubleshooting

CommandDescription
supermaven debug --log-level debugEnable debug logging
supermaven debug --traceEnable trace logging
supermaven debug connectivityTest connectivity
supermaven debug permissionsCheck permissions
supermaven logs --tail 100View recent logs

Customization

SettingDescription
completion.enabledEnable/disable completions
completion.delayCompletion delay in ms
completion.maxSuggestionsMax suggestions to show
completion.autoAcceptAuto-accept suggestions
completion.showInlineShow inline suggestions

Keyboard Shortcuts (VS Code)

ShortcutDescription
Ctrl+Alt+SToggle Supermaven
Ctrl+Alt+RRestart Supermaven
Ctrl+Alt+CClear suggestions
Ctrl+Alt+PShow performance
Ctrl+Alt+LShow logs

File Type Support

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

Environment Variables

VariableDescription
SUPERMAVEN_TOKENAPI authentication token
SUPERMAVEN_ENDPOINTAPI endpoint URL
SUPERMAVEN_LOG_LEVELLogging level
SUPERMAVEN_CACHE_DIRCache directory
SUPERMAVEN_CONFIG_FILEConfiguration file path

Configuration Files

FileDescription
.supermaven.jsonProject configuration
supermaven.config.jsonGlobal configuration
.supermaven-ignoreFiles to ignore
supermaven.logLog file

Team and Enterprise

CommandDescription
supermaven team createCreate team
supermaven team invite <email>Invite team member
supermaven team remove <user>Remove team member
supermaven team settingsTeam settings
supermaven enterprise setupEnterprise setup

Analytics and Metrics

CommandDescription
supermaven metrics showShow usage metrics
supermaven metrics exportExport metrics
supermaven analytics dashboardOpen analytics
supermaven performance reportPerformance report

Security and Privacy

CommandDescription
supermaven privacy settingsPrivacy settings
supermaven data exportExport user data
supermaven data deleteDelete user data
supermaven security auditSecurity audit

Comparison Features

FeatureSupermavenGitHub CopilotTabnine
Context Window1M tokens8K tokens~30K tokens
SpeedFastestFastMedium
AccuracyVery HighHighHigh
Language Support10+30+25+
Free TierYesNoYes

Best Practices

PracticeDescription
Keep context cleanRemove unnecessary files
Use descriptive namesBetter suggestions
Write clear commentsImproved context
Regular updatesLatest features
Monitor performanceOptimize usage

Troubleshooting Common Issues

IssueSolution
Slow completionsCheck network connection
No suggestionsVerify authentication
High memory usageReduce context size
Extension not workingRestart VS Code
API errorsCheck token validity

Integration with Other Tools

ToolIntegration
GitUnderstands version history
ESLintRespects linting rules
PrettierFollows formatting
TypeScriptType-aware suggestions
JestTest-aware completions

Cursor Integration

CommandDescription
cursor --install-extension supermavenInstall in Cursor
Cmd+KTrigger AI chat (Cursor)
Cmd+LTrigger completion
Cmd+IInline editing
Cmd+Shift+LMulti-line editing