We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d10e433 commit f20993aCopy full SHA for f20993a
src/PhpStormCopilot.php
@@ -79,8 +79,10 @@ public function mcpConfigPath(): string
79
{
80
$platform = Platform::current();
81
82
+ $home = getenv('HOME');
83
+
84
return match ($platform) {
- Platform::Darwin, Platform::Linux => '~/.config/github-copilot/intellij/mcp.json',
85
+ Platform::Darwin, Platform::Linux => $home.'/.config/github-copilot/intellij/mcp.json',
86
Platform::Windows => '%LOCALAPPDATA%\\github-copilot\\intellij\\mcp.json',
87
};
88
}
0 commit comments