Skip to content

codex extension in vscode can not use slash command #13321

Closed as not planned
Closed as not planned

Description

@MikoyChinese

What version of the IDE extension are you using?

0.4.79

What subscription do you have?

codex

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What issue are you seeing?

Hi,

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?

What steps can reproduce the bug?

None

What is the expected behavior?

None

Additional information

No response

Activity

  1. added
    extension
    on Mar 3, 2026
  2. added
    bug
    on Mar 3, 2026
  3. etraut-openai commented on Mar 3, 2026

    @etraut-openai
    Contributor

    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.

  4. MikoyChinese commented on Mar 3, 2026

    @MikoyChinese
    Author

    Image

    Image

    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?

  5. etraut-openai commented on Mar 3, 2026

    @etraut-openai
    Contributor

    not all slash commands are available

    Which slash command is missing?

    If I want to clear the context

    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.

    Image

    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.

  6. MikoyChinese commented on Mar 3, 2026

    @MikoyChinese
    Author
    1. 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.
    2. Thank you for your guidance on how to clear the context. It would be very convenient if it was available as a slash command.
  7. etraut-openai commented on Mar 3, 2026

    @etraut-openai
    Contributor

    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.

  8. syks0121 commented on Mar 5, 2026

    @syks0121

    I have no prompts whatsoever, including pop-ups or commands.

  9. MikoyChinese commented on Mar 5, 2026

    @MikoyChinese
    Author

    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.

  10. tienanh0903k commented on Apr 1, 2026

    @tienanh0903k

    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!

  11. MikoyChinese commented on Apr 1, 2026

    @MikoyChinese
    Author

    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.

  12. tienanh0903k commented on Apr 1, 2026

    @tienanh0903k

    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.

    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!

  13. MikoyChinese commented on Apr 1, 2026

    @MikoyChinese
    Author
  14. JANGFREEMAN commented on Apr 7, 2026

    @JANGFREEMAN

    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.

    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!

    same issue. did you fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions