MatthewZMD / MatthewZMD/emigo

Option for "simple" refactoring/editing

Open
#4 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
438
Forks
20
PR merge metrics
No merged PRs in 30d

Description

One of the most common usage patterns I have when working with LLMs is marking a piece of code (e.g. a function, or a jupyter lab cell, or a specific few lines), and asking the LLm to modify it in some way.
I would love to have the functionality which exists in VScode and in gptel in which I can query the LLM with the current region and a prompt, and the suggested code then gets applied tentatively, with a possible (e)diff, and asking for confirmation.

I find this works great for small edits, and does not require that I necessarily add the entire file as context.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named; start by locating the existing prompt, context, and editing flows in this Emacs project. Done means a selected region can be sent with a prompt, receive a tentative diff, and be confirmed or rejected without requiring the full file.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs, python
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.