FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(tui): allow file_context to be disabled by max-wittig · Pull Request #28471 · anomalyco/opencode · GitHub

fix(tui): allow file_context to be disabled - #28471

Closed
max-wittig wants to merge 1 commit into
anomalyco:devfrom
max-wittig:fix/allow-editor-context-disable-2
Closed

fix(tui): allow file_context to be disabled#28471
max-wittig wants to merge 1 commit into
anomalyco:devfrom
max-wittig:fix/allow-editor-context-disable-2

Conversation

Copy link
Copy Markdown

Issue for this PR

Closes #24582

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This allows the user to disable the functionality that was added here: #24034

It allows the user to disable the file_context as it causes issues and also maybe I don't want to give my editor the current file context as I'm working on something else and just want to use opencode in my separate terminal, not connected to my editor.

Add it to the tui.json like this:

{
  "file_context": false
}

How did you verify your code works?

I ran it and verified that the open file does not appear

Screenshots / recordings

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Copy link
Copy Markdown
Collaborator

you can enable/disable w/ the command palette ctrl+p -> file context

You should see the option pop up

max-wittig deleted the fix/allow-editor-context-disable-2 branch May 22, 2026 17:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Open file hint is stuck and can't be removed

2 participants


Back | FazBrowse Home | New Git URL