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 #28443 · anomalyco/opencode · GitHub

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

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

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

Conversation

max-wittig commented May 20, 2026
edited
Loading

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

github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label May 20, 2026

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • No issue referenced. Please add Closes #<number> linking to the relevant issue.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label May 20, 2026
github-actions Bot closed this May 20, 2026

Copy link
Copy Markdown
Author

Reopen. I'm complying

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

1 participant


Back | FazBrowse Home | New Git URL