You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
codex extension in vscode can not use slash command #13321
I’m using the Codex extension in VS Code. I connect to an Ubuntu 20.04 x86 host via the SSH extension in VS Code. However, when I open the Codex chat interface and type / in chat input box, no commands appear. Also, when I select text in the editor, no related text are shown in extension. According to the documentation(https://developers.openai.com/codex/ide/slash-commands), slash commands should be supported in the VS Code extension.
Could you help me understand why this feature is not working in my setup?
After I changed my network environment, the popup menu now appears when I type /. However, not all slash commands are available.
If I want to clear the context, how can I do that?
What do you mean by context? If you want to clear the entire context window, you can just start a new chat by clicking on the button in the upper right of the panel to start a new chat.
If you want to disable IDE Context, click on the control of that name. If you want to remove images or source files that you've previously added as context, click on the "x" in the corresponding pill.
Some slash commands appear in the popup menu, while others only appear in the Codex UI. I thought that all slash commands would be unified in the popup menu.
Thank you for your guidance on how to clear the context. It would be very convenient if it was available as a slash command.
When you say "Codex UI", I presume you mean the TUI (terminal user interface)? The TUI supports additional slash commands, many of which don't make sense in the extension or are presented with other controls in the GUI.
I have no prompts whatsoever, including pop-ups or commands.
Maybe you should check your network connection to the API URL. If you are in China, you can set up a proxy environment in the terminal where Codex is running.
In my case, I was using this vscode extension in a Docker environment without network access. After fixing the network issue, the popup started working.
In my case, I was using this vscode extension in a Docker environment without network access. After fixing the network issue, the popup started working.
Thanks for the suggestion! In my case, I’m running everything locally on Windows (no Docker or remote environment), and I can confirm that openai.com is accessible from my machine.However, typing / still doesn’t show any popup or commands.
Any suggestions on what else I could check (e.g., extension logs, settings, or known issues)? Appreciate your help!
Thanks for the suggestion! In my case, I’m running everything locally on Windows (no Docker or remote environment), and I can confirm that openai.com is accessible from my machine.However, typing / still doesn’t show any popup or commands. Any suggestions on what else I could check (e.g., extension logs, settings, or known issues)? Appreciate your help!
Activity
etraut-openai commentedon Mar 3, 2026
What do you see when you type
/in the text input box? Could you post a screen shot? You should see a popup menu above the text input.MikoyChinese commentedon Mar 3, 2026
After I changed my network environment, the popup menu now appears when I type
/. However, not all slash commands are available.If I want to clear the context, how can I do that?
etraut-openai commentedon Mar 3, 2026
Which slash command is missing?
What do you mean by context? If you want to clear the entire context window, you can just start a new chat by clicking on the button in the upper right of the panel to start a new chat.
If you want to disable IDE Context, click on the control of that name. If you want to remove images or source files that you've previously added as context, click on the "x" in the corresponding pill.
MikoyChinese commentedon Mar 3, 2026
etraut-openai commentedon Mar 3, 2026
When you say "Codex UI", I presume you mean the TUI (terminal user interface)? The TUI supports additional slash commands, many of which don't make sense in the extension or are presented with other controls in the GUI.
syks0121 commentedon Mar 5, 2026
I have no prompts whatsoever, including pop-ups or commands.
MikoyChinese commentedon Mar 5, 2026
Maybe you should check your network connection to the API URL. If you are in China, you can set up a proxy environment in the terminal where Codex is running.
tienanh0903k commentedon Apr 1, 2026
I’m experiencing the same issue.
When I type
/in the chat input, nothing shows up — no popup or commands at all.@MikoyChinese could you share what exactly you changed in your network environment to fix this? I suspect mine might be related as well.
Thanks!
MikoyChinese commentedon Apr 1, 2026
Make sure your network can access https://openai.com/
In my case, I was using this vscode extension in a Docker environment without network access. After fixing the network issue, the popup started working.
tienanh0903k commentedon Apr 1, 2026
Thanks for the suggestion! In my case, I’m running everything locally on Windows (no Docker or remote environment), and I can confirm that openai.com is accessible from my machine.However, typing
/still doesn’t show any popup or commands.Any suggestions on what else I could check (e.g., extension logs, settings, or known issues)? Appreciate your help!
MikoyChinese commentedon Apr 1, 2026
JANGFREEMAN commentedon Apr 7, 2026
same issue. did you fix it?