Vai al contenuto

Comandi Supermaven

Traduzione: Copia tutti i comandi Traduzione: Generare PDF < > Comandi completi di completamento del codice AI Supermaven e flussi di lavoro per una maggiore produttività di codifica. ## Installazione e configurazione |Command|Description| |---------|-------------| |`code --install-extension supermaven.supermaven`|Install VS Code extension| |`supermaven auth login`|Login to Supermaven account| |`supermaven auth logout`|Logout from account| |`supermaven auth status`|Check authentication status| |`supermaven --version`|Show version information| |`supermaven --help`|Show help information| ## Comandi di estensione del codice VS |Command|Description| |---------|-------------| |`Ctrl+Shift+P > Supermaven: Enable`|Enable Supermaven| |`Ctrl+Shift+P > Supermaven: Disable`|Disable Supermaven| |`Ctrl+Shift+P > Supermaven: Toggle`|Toggle Supermaven on/off| |`Ctrl+Shift+P > Supermaven: Settings`|Open settings| |`Ctrl+Shift+P > Supermaven: Status`|Check status| |`Ctrl+Shift+P > Supermaven: Restart`|Restart service| ## Codici di completamento Scorciatoie |Shortcut|Description| |---------|-------------| |`Tab`|Accept suggestion| |`Escape`|Dismiss suggestion| |`Ctrl+Right`|Accept word| |`Ctrl+Shift+Right`|Accept line| |`Alt+]`|Next suggestion| |`Alt+[`|Previous suggestion| |`Ctrl+Space`|Trigger suggestion| ## Comandi di configurazione |Command|Description| |---------|-------------| |`supermaven config show`|Show current configuration| |`supermaven config set `|Set configuration value| |`supermaven config reset`|Reset to defaults| |`supermaven config export`|Export configuration| |`supermaven config import `|Import configuration| ## Supporto linguistico |Language|Support Level| |---------|-------------| |`JavaScript`|Full support| |`TypeScript`|Full support| |`Python`|Full support| |`Java`|Full support| |`C++`|Full support| |`C#`|Full support| |`Go`|Full support| |`Rust`|Full support| |`PHP`|Full support| |`Ruby`|Full support| ## Caratteristiche della finestra |Feature|Description| |---------|-------------| |`1M token context`|Massive context window| |`Whole codebase awareness`|Understands entire project| |`Cross-file references`|Links between files| |`Import suggestions`|Smart import recommendations| |`Function signatures`|Complete function context| |`Documentation context`|Includes relevant docs| ## Caratteristiche avanzate |Command|Description| |---------|-------------| |`supermaven analyze`|Analyze codebase| |`supermaven index`|Index project files| |`supermaven cache clear`|Clear cache| |`supermaven cache status`|Check cache status| |`supermaven performance`|Show performance metrics| ## Comandi di integrazione |Command|Description| |---------|-------------| |`supermaven integrate cursor`|Setup Cursor integration| |`supermaven integrate jetbrains`|Setup JetBrains integration| |`supermaven integrate vim`|Setup Vim integration| |`supermaven integrate emacs`|Setup Emacs integration| ## API e CLI |Command|Description| |---------|-------------| |`supermaven api --endpoint `|Set API endpoint| |`supermaven api --token `|Set API token| |`supermaven api test`|Test API connection| |`supermaven api usage`|Check API usage| |`supermaven api limits`|Check rate limits| ## Ottimizzazione delle prestazioni |Command|Description| |---------|-------------| |`supermaven optimize`|Optimize performance| |`supermaven memory --limit `|Set memory limit| |`supermaven threads --count `|Set thread count| |`supermaven latency --mode fast`|Optimize for speed| |`supermaven latency --mode quality`|Optimize for quality| ## Gestione dei progetti |Command|Description| |---------|-------------| |`supermaven project init`|Initialize project| |`supermaven project sync`|Sync project files| |`supermaven project exclude `|Exclude files/folders| |`supermaven project include `|Include files/folders| |`supermaven project status`|Check project status| ## Debug e Risoluzione dei problemi |Command|Description| |---------|-------------| |`supermaven debug --log-level debug`|Enable debug logging| |`supermaven debug --trace`|Enable trace logging| |`supermaven debug connectivity`|Test connectivity| |`supermaven debug permissions`|Check permissions| |`supermaven logs --tail 100`|View recent logs| ## Personalizzazione |Setting|Description| |---------|-------------| |`completion.enabled`|Enable/disable completions| |`completion.delay`|Completion delay in ms| |`completion.maxSuggestions`|Max suggestions to show| |`completion.autoAccept`|Auto-accept suggestions| |`completion.showInline`|Show inline suggestions| ## Tastiera Scorciatoie (Codice VS) |Shortcut|Description| |---------|-------------| |`Ctrl+Alt+S`|Toggle Supermaven| |`Ctrl+Alt+R`|Restart Supermaven| |`Ctrl+Alt+C`|Clear suggestions| |`Ctrl+Alt+P`|Show performance| |`Ctrl+Alt+L`|Show logs| ## Supporto tipo di file |Extension|Description| |---------|-------------| |`.js, .jsx`|JavaScript files| |`.ts, .tsx`|TypeScript files| |`.py`|Python files| |`.java`|Java files| |`.cpp, .cc, .cxx`|C++ files| |`.cs`|C# files| |`.go`|Go files| |`.rs`|Rust files| |`.php`|PHP files| |`.rb`|Ruby files| ## Variabili dell'ambiente |Variable|Description| |---------|-------------| |`SUPERMAVEN_TOKEN`|API authentication token| |`SUPERMAVEN_ENDPOINT`|API endpoint URL| |`SUPERMAVEN_LOG_LEVEL`|Logging level| |`SUPERMAVEN_CACHE_DIR`|Cache directory| |`SUPERMAVEN_CONFIG_FILE`|Configuration file path| ## File di configurazione |File|Description| |---------|-------------| |`.supermaven.json`|Project configuration| |`supermaven.config.json`|Global configuration| |`.supermaven-ignore`|Files to ignore| |`supermaven.log`|Log file| ## Team e Enterprise |Command|Description| |---------|-------------| |`supermaven team create`|Create team| |`supermaven team invite `|Invite team member| |`supermaven team remove `|Remove team member| |`supermaven team settings`|Team settings| |`supermaven enterprise setup`|Enterprise setup| ## Analisi e metriche |Command|Description| |---------|-------------| |`supermaven metrics show`|Show usage metrics| |`supermaven metrics export`|Export metrics| |`supermaven analytics dashboard`|Open analytics| |`supermaven performance report`|Performance report| ## Sicurezza e privacy |Command|Description| |---------|-------------| |`supermaven privacy settings`|Privacy settings| |`supermaven data export`|Export user data| |`supermaven data delete`|Delete user data| |`supermaven security audit`|Security audit| ## Caratteristiche di confronto |Feature|Supermaven|GitHub Copilot|Tabnine| |---------|-------------|-------------|-------------| |Context Window|1M tokens|8K tokens|~30K tokens| |Speed|Fastest|Fast|Medium| |Accuracy|Very High|High|High| |Language Support|10+|30+|25+| |Free Tier|Yes|No|Yes| ## Migliori Pratiche |Practice|Description| |---------|-------------| |Keep context clean|Remove unnecessary files| |Use descriptive names|Better suggestions| |Write clear comments|Improved context| |Regular updates|Latest features| |Monitor performance|Optimize usage| ## Risoluzione dei problemi |Issue|Solution| |---------|-------------| |Slow completions|Check network connection| |No suggestions|Verify authentication| |High memory usage|Reduce context size| |Extension not working|Restart VS Code| |API errors|Check token validity| ## Integrazione con altri strumenti |Tool|Integration| |---------|-------------| |Git|Understands version history| |ESLint|Respects linting rules| |Prettier|Follows formatting| |TypeScript|Type-aware suggestions| |Jest|Test-aware completions| ## Integrazione dei Cursor |Command|Description| |---------|-------------| |`cursor --install-extension supermaven`|Install in Cursor| |`Cmd+K`|Trigger AI chat (Cursor)| |`Cmd+L`|Trigger completion| |`Cmd+I`|Inline editing| |`Cmd+Shift+L`|Multi-line editing|