Skip to content

Rename variables to editor context#2719

Merged
olimorris merged 6 commits intodevelopfrom
refactor/rename-context-variables
Feb 9, 2026
Merged

Rename variables to editor context#2719
olimorris merged 6 commits intodevelopfrom
refactor/rename-context-variables

Conversation

@olimorris
Copy link
Owner

@olimorris olimorris commented Feb 3, 2026

Description

In CodeCompanion, the notion of variables was taken from GitHub Copilot. GitHub have since renamed them to be "chat variables".

In 2026, "variables" isn't explicit enough of a name to explain what they actually do. To that end, renaming them to "editor context" feels a much smarter and cleaner move.

AI Usage

None.

Checklist

  • I've read the contributing guidelines and have adhered to them in this PR
  • I confirm that this PR has been majority created by me, and not AI (unless stated in the "AI Usage" section above)
  • I've run make all to ensure docs are generated, tests pass and StyLua has formatted the code
  • (optional) I've added test coverage for this fix/feature
  • (optional) I've updated the README and/or relevant docs pages

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 3, 2026

Deploying codecompanion with  Cloudflare Pages  Cloudflare Pages

Latest commit: dabd120
Status: ✅  Deploy successful!
Preview URL: https://81eac2d2.codecompanion.pages.dev
Branch Preview URL: https://refactor-rename-context-vari.codecompanion.pages.dev

View logs

@olimorris olimorris marked this pull request as ready for review February 4, 2026 11:05
@olimorris olimorris merged commit 42ba80c into develop Feb 9, 2026
6 checks passed
@olimorris olimorris deleted the refactor/rename-context-variables branch February 9, 2026 17:20
@olimorris olimorris mentioned this pull request Feb 9, 2026
5 tasks
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.

1 participant