Configuration
This document provides a complete reference of Osmynt configuration options and customization settings.
Configuration Overview
Osmynt can be configured through VS Code settings to customize your experience. All settings are stored in your VS Code settings and can be accessed through the Settings UI or by editing the settings JSON file.
Accessing Configuration
Through Settings UI
- Open VS Code Settings (
Ctrl+,/Cmd+,) - Search for "Osmynt"
- Configure settings as needed
- Settings are saved automatically
Through Settings JSON
- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Run
Preferences: Open Settings (JSON) - Add Osmynt settings to the JSON file
- Save the file
General Settings
osmynt.enabled
Type: boolean
Default: true
Description: Enable or disable Osmynt extension.
{
"osmynt.enabled": true
}
osmynt.autoStart
Type: boolean
Default: true
Description: Automatically start Osmynt when VS Code starts.
{
"osmynt.autoStart": true
}
osmynt.showWelcome
Type: boolean
Default: true
Description: Show welcome message when Osmynt starts.
{
"osmynt.showWelcome": true
}
Authentication Settings
osmynt.auth.provider
Type: string
Default: "github"
Description: Authentication provider to use.
{
"osmynt.auth.provider": "github"
}
osmynt.auth.autoLogin
Type: boolean
Default: false
Description: Automatically login when VS Code starts.
{
"osmynt.auth.autoLogin": false
}
osmynt.auth.tokenExpiry
Type: number
Default: 3600
Description: Token expiry time in seconds.
{
"osmynt.auth.tokenExpiry": 3600
}
Team Settings
osmynt.teams.maxTeams
Type: number
Default: 10
Description: Maximum number of teams per user.
{
"osmynt.teams.maxTeams": 10
}
osmynt.teams.maxMembers
Type: number
Default: 50
Description: Maximum number of members per team.
{
"osmynt.teams.maxMembers": 50
}
osmynt.teams.autoJoin
Type: boolean
Default: false
Description: Automatically join teams when invited.
{
"osmynt.teams.autoJoin": false
}
Code Sharing Settings
osmynt.sharing.maxCodeSize
Type: number
Default: 1000000
Description: Maximum code size in bytes (1MB).
{
"osmynt.sharing.maxCodeSize": 1000000
}
osmynt.sharing.includeContext
Type: boolean
Default: true
Description: Include file context by default.
{
"osmynt.sharing.includeContext": true
}
osmynt.sharing.autoShare
Type: boolean
Default: false
Description: Automatically share code when selected.
{
"osmynt.sharing.autoShare": false
}
osmynt.sharing.syntaxHighlighting
Type: boolean
Default: true
Description: Enable syntax highlighting for shared code.
{
"osmynt.sharing.syntaxHighlighting": true
}
Device Settings
osmynt.devices.maxDevices
Type: number
Default: 5
Description: Maximum number of devices per user.
{
"osmynt.devices.maxDevices": 5
}
osmynt.devices.autoSync
Type: boolean
Default: true
Description: Automatically sync across devices.
{
"osmynt.devices.autoSync": true
}
osmynt.devices.syncInterval
Type: number
Default: 30
Description: Sync interval in seconds.
{
"osmynt.devices.syncInterval": 30
}
Security Settings
osmynt.security.encryption
Type: boolean
Default: true
Description: Enable end-to-end encryption.
{
"osmynt.security.encryption": true
}
osmynt.security.keyRotation
Type: boolean
Default: true
Description: Enable automatic key rotation.
{
"osmynt.security.keyRotation": true
}
osmynt.security.auditLogging
Type: boolean
Default: false
Description: Enable audit logging.
{
"osmynt.security.auditLogging": false
}
UI Settings
osmynt.ui.showPanel
Type: boolean
Default: true
Description: Show Osmynt panel in sidebar.
{
"osmynt.ui.showPanel": true
}
osmynt.ui.panelPosition
Type: string
Default: "left"
Description: Panel position in sidebar.
{
"osmynt.ui.panelPosition": "left"
}
osmynt.ui.showNotifications
Type: boolean
Default: true
Description: Show notifications for shared code.
{
"osmynt.ui.showNotifications": true
}
osmynt.ui.theme
Type: string
Default: "auto"
Description: UI theme (auto, light, dark).
{
"osmynt.ui.theme": "auto"
}
Network Settings
osmynt.network.timeout
Type: number
Default: 30000
Description: Network timeout in milliseconds.
{
"osmynt.network.timeout": 30000
}
osmynt.network.retryAttempts
Type: number
Default: 3
Description: Number of retry attempts for failed requests.
{
"osmynt.network.retryAttempts": 3
}
osmynt.network.proxy
Type: string
Default: ""
Description: Proxy server URL.
{
"osmynt.network.proxy": ""
}
Performance Settings
osmynt.performance.cacheSize
Type: number
Default: 100
Description: Cache size in MB.
{
"osmynt.performance.cacheSize": 100
}
osmynt.performance.autoCleanup
Type: boolean
Default: true
Description: Automatically cleanup old data.
{
"osmynt.performance.autoCleanup": true
}
osmynt.performance.cleanupInterval
Type: number
Default: 86400
Description: Cleanup interval in seconds (24 hours).
{
"osmynt.performance.cleanupInterval": 86400
}
Debug Settings
osmynt.debug.enabled
Type: boolean
Default: false
Description: Enable debug mode.
{
"osmynt.debug.enabled": false
}
osmynt.debug.logLevel
Type: string
Default: "info"
Description: Log level (debug, info, warn, error).
{
"osmynt.debug.logLevel": "info"
}
osmynt.debug.logFile
Type: string
Default: ""
Description: Log file path.
{
"osmynt.debug.logFile": ""
}
Configuration Examples
Basic Configuration
{
"osmynt.enabled": true,
"osmynt.autoStart": true,
"osmynt.showWelcome": true,
"osmynt.ui.showPanel": true,
"osmynt.ui.showNotifications": true
}
Security-Focused Configuration
{
"osmynt.security.encryption": true,
"osmynt.security.keyRotation": true,
"osmynt.security.auditLogging": true,
"osmynt.auth.autoLogin": false,
"osmynt.teams.autoJoin": false
}
Performance-Optimized Configuration
{
"osmynt.performance.cacheSize": 200,
"osmynt.performance.autoCleanup": true,
"osmynt.devices.syncInterval": 60,
"osmynt.network.timeout": 60000,
"osmynt.sharing.maxCodeSize": 500000
}
Development Configuration
{
"osmynt.debug.enabled": true,
"osmynt.debug.logLevel": "debug",
"osmynt.debug.logFile": "/tmp/osmynt.log",
"osmynt.showWelcome": false,
"osmynt.ui.showNotifications": false
}
Configuration Best Practices
General Best Practices
- Start with defaults - Use default settings initially
- Configure gradually - Add custom settings as needed
- Test configurations - Test settings before committing
- Document changes - Document custom configurations
- Backup settings - Backup your settings regularly
Security Best Practices
- Enable encryption - Always enable encryption
- Use key rotation - Enable automatic key rotation
- Disable auto-login - Disable auto-login for security
- Enable audit logging - Enable audit logging for compliance
- Regular security reviews - Review security settings regularly
Performance Best Practices
- Optimize cache size - Set appropriate cache size
- Enable auto-cleanup - Enable automatic cleanup
- Monitor performance - Monitor performance metrics
- Adjust sync intervals - Adjust sync intervals as needed
- Regular maintenance - Perform regular maintenance
Configuration Troubleshooting
Common Issues
- Settings not applied - Restart VS Code after changing settings
- Performance issues - Check cache size and cleanup settings
- Network issues - Check network timeout and proxy settings
- Authentication issues - Check authentication settings
- UI issues - Check UI settings and theme
Debugging Configuration
- Enable debug mode - Set
osmynt.debug.enabledtotrue - Check log level - Set appropriate log level
- Check log file - Check log file for errors
- Test settings - Test settings in isolation
- Contact support - Contact support for complex issues
Next Steps
Now that you understand Osmynt configuration:
- Learn about commands - Complete command reference
- Learn about shortcuts - Quick access shortcuts
- Learn about code sharing - Share and receive code
- Learn about team management - Manage teams and members