Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit fa71349

Browse files
authored
fix: adds note for copilot docs
If you have a file open, when running `codegate version`, you get a response based on the file and not the codegate version itself. I've added a note to inform users that they close all files before running the command. Outside of this PR, we may want to decide if this is desired functionality by Copilot or Codegate and if the version should be returned regardless if a file is currently open or not.
1 parent 541e166 commit fa71349

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/integrations/copilot.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,12 @@ To verify that you've successfully connected Copilot to CodeGate, open the
234234
Copilot chat and type `codegate version`. You should receive a response like
235235
"CodeGate version 0.1.13".
236236

237+
:::note
238+
239+
Make sure you have no open files when running the `codegate version` command, otherwise Copilot will make comments based on the file you have open.
240+
241+
:::
242+
237243
<ThemedImage
238244
alt='Verify Copilot integration'
239245
sources={{

0 commit comments

Comments
 (0)