{
  // ???????????????????????????????????????????????????????????????????
  // 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,
  
  // 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 Settings (Preserved from original)
  // ?????????????????????????????????????????????????????????????????
  
  "terminal.integrated.defaultProfile.windows": "PowerShell",
  "terminal.integrated.profiles.windows": {
    "PowerShell": {
      "source": "PowerShell",
      "icon": "terminal-powershell"
    }
  },
  "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.unitTests.runSettingsPath": "coverage.runsettings",
  "dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true,
  "dotnet.server.useOmnisharp": false,
  
  "sonarlint.connectedMode.project": {
    "connectionId": "mihakralj-quantalib",
    "projectKey": "mihakralj_QuanTAlib"
  },
  "qodana.projectId": "KbxmN",
  "coderabbit.agentType": "Cline"
  // Note: Native mode is configured in qodana.yaml with withinDocker: false

  // ???????????????????????????????????????????????????????????????????
  // Keyboard Shortcuts Reference
  // ???????????????????????????????????????????????????????????????????
  // Tab               - Accept inline suggestion
  // Ctrl+?            - 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
}
