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

Programming

17432 readers
126 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 !webdev@programming.dev



founded 1 year ago
MODERATORS
top 31 comments
sorted by: hot top controversial new old
[–] Traister101@lemmy.today 48 points 7 months ago (3 children)
[–] ALostInquirer@lemm.ee 9 points 7 months ago* (last edited 7 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?

[–] 30p87@feddit.de 8 points 7 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.

[–] ALostInquirer@lemm.ee 3 points 7 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.

[–] Traister101@lemmy.today 5 points 7 months ago

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

[–] communism@lemmy.ml 3 points 7 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...

[–] moreeni@lemm.ee 3 points 7 months ago

Couldn't put it better myself.

[–] umbrella@lemmy.ml 3 points 7 months ago

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

[–] wgs@lemmy.sdf.org 10 points 7 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.

[–] librecat@lemmy.basedcount.com 2 points 7 months ago

It is the standard text editor after all.

[–] Certainly_No_Brit@discuss.tchncs.de 7 points 7 months ago (2 children)

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

[–] moreeni@lemm.ee 1 points 7 months ago (1 children)

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

I use Lineage OS and just run nginx in Termux.

[–] jaagruk@mander.xyz 6 points 7 months ago

Neovim or helix in termux

Or

Acode

[–] YIj54yALOJxEsY20eU@lemm.ee 5 points 7 months ago

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

[–] librecat@lemmy.basedcount.com 4 points 7 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.

[–] lascapi@jlai.lu 2 points 7 months ago

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

It's very nice 😊🤩

[–] jadero@programming.dev 2 points 7 months ago* (last edited 7 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.

[–] librecat@lemmy.basedcount.com 2 points 7 months ago (1 children)

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

[–] jadero@programming.dev 2 points 7 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.

[–] GreenTable1032@feddit.de 4 points 7 months ago
[–] AlecSadler@sh.itjust.works 4 points 7 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.

[–] argentcorvid@midwest.social 4 points 7 months ago (1 children)

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

[–] joby@programming.dev 1 points 7 months ago (1 children)

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

[–] argentcorvid@midwest.social 1 points 7 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@programming.dev 3 points 7 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

[–] drctrl@lemmy.world 3 points 7 months ago

Termux, install proot and a DE, then VSCode

[–] excel@lemmy.megumin.org 2 points 7 months ago

Remote Desktop

[–] 13@kbin.run 1 points 7 months ago (1 children)

@ALostInquirer@lemm.ee Sololearn's editor

[–] A_A@lemmy.world 3 points 7 months ago

Contains ads, in-app purchases.