this post was submitted on 28 Mar 2024
21 points (88.9% liked)

Programming

17540 readers
64 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
top 31 comments
sorted by: hot top controversial new old
[–] [email protected] 50 points 8 months ago (3 children)
[–] [email protected] 9 points 8 months ago* (last edited 8 months ago) (3 children)

I know, I know, but haven't you wanted to jot down some pseudocode while out and about, formatted neatly, so you could pop it over to your main machine to turn into working code?

[–] [email protected] 8 points 8 months ago (1 children)

Then probably Pydroid 3, as it supports TK, Kivy etc. If you actually want to compile and run various languages you could use Termux, as it basically exposes the fully fledged Linux machine better known as your Android.

[–] [email protected] 3 points 8 months ago

Thanks! I'll have to give it a look! I currently have Termux, but was wondering about others, although maybe I should have asked for Termux packages instead. 😅

I tried Micro briefly but its interface doesn't seem to have been as well adjusted for mobile.

[–] [email protected] 5 points 8 months ago

I mean yeah but not anywhere near badly enough to be willing to deal with a phone keyboard...

[–] [email protected] 3 points 8 months ago

Whatever notetaking app you use? If it's just jotting down some things I came up with on the go it won't be anything I need a whole ass IDE for, and I don't think I do anything like that often enough to need even a lightweight plaintext editor for that. I guess you could try use vim with termux, sounds like a pain in the arse with a phone keyboard though...

[–] [email protected] 3 points 8 months ago

Couldn't put it better myself.

[–] [email protected] 3 points 8 months ago

hey now, get an otg adapter and a keyboard and its probably halfway useful.

[–] [email protected] 10 points 8 months ago (1 children)

To be honest, Ed.

When I'm forced to edit text on my phone (eg. to fix a broken server while on the go), I ssh in and fire up ed. This is what takes the less screen space on my already to small screen, and because it's line oriented the screen doesn't bounce/resize/screw up when the keyboard appears/disappear.

[–] [email protected] 2 points 8 months ago

It is the standard text editor after all.

[–] [email protected] 7 points 8 months ago (2 children)

vim on Termux (i run a webserver on an old Android phone)

[–] [email protected] 1 points 8 months ago (1 children)

Did you tweak the OS somehow or did you setup the webserver fully on stock Android?

[–] [email protected] 2 points 8 months ago

I use Lineage OS and just run nginx in Termux.

[–] [email protected] 6 points 8 months ago

Neovim or helix in termux

Or

Acode

[–] [email protected] 5 points 8 months ago

I've always got my VPN on so I ssh into my machines and run neovim

[–] [email protected] 4 points 8 months ago (2 children)

I wanted to mention a new open source project Xed-Editor.

Additionally, I think the (virtual) keyboard you use is just as important as the editor (assuming you aren't using a physical keyboard). I would recommend Unexpected Keyboard I have had a great experience with it.

[–] [email protected] 2 points 8 months ago

Thank you for your suggestions. I'm trying Unexpected Keyboard right now.

It's very nice 😊🤩

[–] jadero 2 points 8 months ago* (last edited 8 months ago) (1 children)

I'm going to try Unexpected. The swipe for symbol reminds me of my favourite on-screen keyboard, Fitaly. Unfortunately, nobody ever made it available for modern smartphones.

Edit: The main thing I see missing is the option to swipe for uppercase. That may be possible in settings, but I didn't see it in a quick glance.

[–] [email protected] 2 points 8 months ago (1 children)

I don't know about swipe for uppercase, but you can hold caps lock to toggle it.

[–] jadero 2 points 8 months ago

I saw that. When I get a bit more time, I'll dig through their custom layout to see what I can figure out.

Thanks.

[–] [email protected] 4 points 8 months ago
[–] [email protected] 4 points 8 months ago

A long time ago I remember building a version of VS Code for Android that worked OK. Dunno if that's still available.

[–] [email protected] 4 points 8 months ago (1 children)

I used emacs with termux to do Advent of Code this year

[–] joby 1 points 8 months ago (1 children)

On your phone? As someone who lives in emacs and has done aoc in the past, I'm impressed

[–] [email protected] 1 points 8 months ago

yep. in common lisp!

I did do some during downtime on the deskop at work. so it wasn't quite as extreme as it sounds. the worst part was the limited width of the screen. A bluetooth keyboard would have helped a lot, that's for sure.

[–] brian 3 points 8 months ago

I've been using vscode in firefox via tunnel to my main machine on my android tablet and it's been working well enough

[–] [email protected] 3 points 8 months ago

Termux, install proot and a DE, then VSCode

[–] [email protected] 2 points 8 months ago

Remote Desktop

[–] [email protected] 1 points 8 months ago (1 children)
[–] [email protected] 3 points 8 months ago

Contains ads, in-app purchases.