Skip to content

Conversation

@diegoiast
Copy link
Collaborator

This PR adds ability to commit within the IDE. I have been using it locally - so the basics are on. I am working on usability and cleanups.

We have a list of modified files, and basic layout. Next step is
displaying the diff of current file - then link the preview with content
of file.
When selected - a file, the diff of that file is displayed. We use the
Qutepart, same as the main editor. That editor also shows the syntax of
diff.

I should use the text editor plugin to create the editor. This way the
settings would follow, and double click would work (open the correct
file).
I can revert a single item, and multiple is coded, but not tested yet.
1) When running git - return also the exit code.
2) (fix code compilation)
3) If on revert this fails - do not update file list.
4) Handle revert of single, and multiple file.
If you open a commit window, it will get restored when the app restarts.
There are some regressions on finding the repo root.
When the commit form now queries the text editor plugin, and
creates the mdi editor from it.

Now the settings of the editors, will be used for the diff viewer.

Problems:
 - Clicking a diff, does not open the corresponding file.
I just needed to setup the mdi host on the editor.
The revert comand asks for confirmation.
I tested a simple commit on a dummy project, all seems to work.
Original code used ranges, which is not properly supported on Ubuntu 24.04.
Use older code, which IMHO event looks nicer.
@diegoiast diegoiast moved this from Backlog to In progress in CodePointer IDE Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

1 participant