continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
13.17k stars 907 forks source link

/commit and @diff do not work on remote repository accessed via Remote-SSH VSCode plugin #1450

Open yury-meshkov opened 3 weeks ago

yury-meshkov commented 3 weeks ago

Before submitting your bug report

Relevant environment info

- OS: Windows_NT x64 10.0.19045
- Continue: Codestral, GPT-4o, and more v0.8.40
- IDE: Visual Studio Code 1.90.0 (user setup)

Description

When working on a remote repository (accessed via Remotes SSH VSCode plugin) two features: /commit and @diff do not work. /commit command generate no result and only prints this: "No changes detected. Make sure you are in a git repository with current changes." But when VSCode works on a local git repository then /commit works as expected.

I am not sure if it is expected to work. If it is then I need to file a bug. If it is not then I can file as an improvement.

To reproduce

No response

Log output

No response

sestinj commented 3 weeks ago

@yury-meshkov thank you, this is definitely a bug

ekoome commented 2 weeks ago

Same issue when using dev containers. I have installed the plugin in the container and get "No changes detected..."

kakadais commented 1 week ago

On continue pane, I can't even use /commit command, there's only 4 available command example when I typed '/', /edit / comment /share /test and said no 'result' popup if I typed /commit.

/commit just works on Windows?

MacOS with v0.9.167 (pre-release) (lastest version was same)
sestinj commented 1 week ago

@kakadais We don't include all slash commands by default, but you can configure them in your config.json like here: https://docs.continue.dev/customization/slash-commands#commit