[Enhancement] integration with third party code editors
The code editor is just not good. The text input view is to small, it doesn't support code highlighting like the viewer etc. Okay, maybe I don't need this on a phone, but the input view should be almost fullscreen. And as for the syntax highlighting, there is a code editor library/application named Squircle IDE. The README contains a complete documentation, but it's written for Kotlin, so you would have to convert it to Java, but that's not that difficult.
I don't think this is a good idea. We can of course make improvements to our
TextAreas but depending on all sorts of code or even maintaining a Java fork of another library just makes GitNex more prone to failure (#853 and #893 are perfect examples of this).
I think we're better off working on some sort of interface between GitNex and code editing apps like "Squircle IDE".
We could follow FileZilla's approach here:
- Download the file to external storage
- Ask with which application you'd want to open this particular file
- After exiting the (code editing) application check whether the file has changed (either by comparing the file timestamp or by checking if the file hash has changed; last one may be a bit unreliable as hash collisions can occur sometimes) and ask if the user wants to discard or save their changes.
That's a nice idea too. For me it's not important, as long as I can use a better code editor than the current one.
Yes, that I would appreciate too. Also, with this approach everyone can use their favorite code editor which I think is much better than "using one to rule them all".
Deleting a branch is permanent. It CANNOT be undone. Continue?