{ // ═══════════════════════════════════════════════════════════════════════ // GitHub Copilot Settings for QuanTAlib Workspace // Optimized for high-performance financial library development // ═══════════════════════════════════════════════════════════════════════ // ─────────────────────────────────────────────────────────────────────── // Copilot Core Settings // ─────────────────────────────────────────────────────────────────────── // Enable Copilot completions (suggestions appear automatically) "github.copilot.editor.enableAutoCompletions": true, // Enable Copilot for all file types "github.copilot.enable": { "*": true, "plaintext": false, "markdown": true, "scminput": false }, // Show inline suggestions "editor.inlineSuggest.enabled": true, // Always show the inline suggestion toolbar "editor.inlineSuggest.showToolbar": "always", // ─────────────────────────────────────────────────────────────────────── // Copilot Chat Settings (Manual Review Required) // ─────────────────────────────────────────────────────────────────────── // DO NOT auto-apply chat edits - require manual review for quality control "chat.editing.autoApply": "off", // Confirm before removing edit requests "chat.editing.confirmEditRequestRemoval": true, // Show chat panel on the side "chat.editor.wordWrap": "on", // ─────────────────────────────────────────────────────────────────────── // Editor Settings for Productivity // ─────────────────────────────────────────────────────────────────────── // Enable quick suggestions in all contexts "editor.quickSuggestions": { "other": true, "comments": true, "strings": true }, // Show suggestions on trigger characters "editor.suggestOnTriggerCharacters": true, // Accept suggestion on commit character (like dot, parenthesis) "editor.acceptSuggestionOnCommitCharacter": true, // Faster suggestion appearance "editor.quickSuggestionsDelay": 0, // Show snippet suggestions with other suggestions "editor.snippetSuggestions": "inline", // Tab key behavior "editor.tabCompletion": "on", // ─────────────────────────────────────────────────────────────────────── // C# Specific Settings // ─────────────────────────────────────────────────────────────────────── "[csharp]": { "editor.formatOnSave": true, "editor.formatOnPaste": true, "editor.codeActionsOnSave": { "source.organizeImports": "explicit" }, "editor.quickSuggestions": { "other": true, "comments": true, "strings": true } }, // ─────────────────────────────────────────────────────────────────────── // Performance & Quality Control // ─────────────────────────────────────────────────────────────────────── // Save automatically (helps with Copilot context) "files.autoSave": "afterDelay", "files.autoSaveDelay": 1000, // Force LF line endings (matches .gitattributes and .editorconfig) "files.eol": "\n", // Show whitespace (important for performance-critical code) "editor.renderWhitespace": "boundary", // Show inline parameter hints "editor.inlayHints.enabled": "on", // Highlight matching brackets "editor.bracketPairColorization.enabled": true, "editor.guides.bracketPairs": true, // ─────────────────────────────────────────────────────────────────────── // Git Integration // ─────────────────────────────────────────────────────────────────────── // Auto-fetch git changes "git.autofetch": true, // Confirm before synchronizing "git.confirmSync": false, // Show inline blame "git.decorations.enabled": true, "terminal.integrated.shellIntegration.enabled": true, "terminal.integrated.suggest.enabled": true, // ─────────────────────────────────────────────────────────────────────── // File Exclusions (Reduce Noise) // ─────────────────────────────────────────────────────────────────────── "files.exclude": { "**/bin": true, "**/obj": true, "**/.vs": true, "**/node_modules": true, "**/.git": false }, "search.exclude": { "**/bin": true, "**/obj": true, "**/node_modules": true, "**/.vs": true, "**/coverage": true }, // ─────────────────────────────────────────────────────────────────────── // .NET Specific Settings // ─────────────────────────────────────────────────────────────────────── "omnisharp.enableEditorConfigSupport": true, "omnisharp.enableRoslynAnalyzers": true, "dotnet.backgroundAnalysis.enabled": true, // ─────────────────────────────────────────────────────────────────────── // Testing Integration // ─────────────────────────────────────────────────────────────────────── "dotnet.defaultSolution": "QuanTAlib.sln", "dotnet.testController.enabled": true, "dotnet.unitTestDebuggingEnabled": true, "dotnet.unitTests.runSettingsPath": ".config/coverage.runsettings", "dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true, "dotnet.server.useOmnisharp": false, // Python test discovery (pytest) "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, "python.testing.pytestArgs": [ "python" ], "sonarlint.connectedMode.project": { "connectionId": "mihakralj-quantalib", "projectKey": "mihakralj_QuanTAlib" }, "coderabbit.agentType": "Roo", "qodana.pathPrefix": "", "qodana.args": ["--config", ".qodana/qodana.yaml"], // ─────────────────────────────────────────────────────────────────────── // Terminal Settings // ─────────────────────────────────────────────────────────────────────── // Set PowerShell 7 as the default terminal on Windows "terminal.integrated.defaultProfile.windows": "PowerShell", // Terminal profiles for Windows "terminal.integrated.profiles.windows": { "PowerShell": { "source": "PowerShell", "icon": "terminal-powershell" }, "Git Bash": { "path": "C:\\Program Files\\Git\\bin\\bash.exe", "icon": "terminal-bash" } }, "qodana.projectId": "KbxmN", "github.copilot.mcpServers": { "code-to-tree": { "command": "C:\\github\\code-to-tree.exe" } }, "coderabbit.autoReviewMode": "disabled" // ═══════════════════════════════════════════════════════════════════════ // Keyboard Shortcuts Reference // ═══════════════════════════════════════════════════════════════════════ // Tab - Accept inline suggestion // Ctrl+Right - Accept next word // Ctrl+Enter - Accept line // Esc - Dismiss suggestion // Alt+] - Next suggestion // Alt+[ - Previous suggestion // Ctrl+I - Open Copilot Chat // // Quality Control Reminders: // - Review all Copilot suggestions for optimization patterns // - Run tests after accepting: dotnet test // - Check performance impact with benchmarks // - Validate against reference implementations }