News for hackers. Stuff that matters.
Re:deVStudio – Runs VS Code on Android by archargelod on Tuesday September 05, 2023 @08:16PM (#37399662)
I've been using termux + neovim as my default text editor on my phone. And it is surprisingly comfortable even with a touch screen keyboard.
Re:deVStudio – Runs VS Code on Android by diogenes4 on Tuesday September 05, 2023 @10:06PM (#37400590)
Does it come with a modal keyboard or the same static one?
Re:deVStudio – Runs VS Code on Android by taskylizard on Tuesday September 05, 2023 @10:47PM (#37400806)
It's the same static keyboard, but navigation is easier as you can swipe to navigate around.
Re:deVStudio – Runs VS Code on Android by janAkali on Tuesday September 05, 2023 @10:55PM (#37400848)
Not sure what you mean by modal keyboard, but there is fully customizable row of keys in termux.

I disabled it, because I use special android keyboard app[0] with a custom layout made from scratch[1]: all common symbols, arrows, esc, ctrl, alt, forward delete, paste and enter gestures etc. etc.

[0] - https://jbak2.ucoz.net/ (yes it's horrible website, but it's free and easy to maintain for the handicapped developer)

[1] - https://github.com/Archargelod/jbak2Templates-Skins

Re:deVStudio – Runs VS Code on Android by diogenes4 on Thursday September 07, 2023 @09:05PM (#37427957)
Well, the modal command system is sort of hacked onto the qwerty keyboard. Surely it'd be more natural to just "insert" directly rather than hitting "i".
Re:deVStudio – Runs VS Code on Android by matheusmoreira on Wednesday September 06, 2023 @04:21AM (#37402566)
Android allows you to swap the virtual keyboard. I use unexpected keyboard which is also free software. It's excellent for programming. Before that I used Hacker's Keyboard which has actual arrow keys.

Termux also has a configurable bar at the bottom where you can map any keys you want. I use it for function and arrow keys plus a bunch of common symbols.

Here's an example from my dotfiles:

https://github.com/matheusmoreira/.files/blob/38565320fefb92...

Re:deVStudio – Runs VS Code on Android by matheusmoreira on Wednesday September 06, 2023 @04:10AM (#37402495)
Agreed! Termux profoundly changed my life. I do all of my programming inside Termux now. I find it to be pretty comfortable too.

Only thing I'm still missing is a way to build Android applications from inside Termux. We can write software for normal computers from inside themselves. Conversely, phones have always been these consumer machines, only running software produced for them and with no ability to program themselves. Feels like it's the only remaining barrier in the way of Android phones becoming truly general purpose computers.

I opened an issue on their repository about packaging the Android development tools:

https://github.com/termux/termux-packages/issues/17701

Someone linked a discussion where someone got it to work. I haven't had any luck setting this up though.

Re:deVStudio – Runs VS Code on Android by rcarmo on Wednesday September 06, 2023 @06:33AM (#37403336)
You can do that with Godot, I think - have a look.