Settings

Theme

Ask HN: AI Coding Preference

4 points by treebeard901 · 7 comments · 1 min read


Do you prefer tabs or spaces with code generated from your AI models?

5 threads
adriant93

Use git pre-commit hooks to format automatically, AI doesn't really listen to it. I am personally a tab sortta guy.

verdverm

whatever is appropriate for the language being generated, use a formatter after edit/write tool calls

agentshipped

whatever the repo's formatter says. asking the model never stuck

Unknown-333

spaces

slipwalker

i always preferred tabs ( and each developer chooses how many spaces it mean in its own .vimrc ) but then i was forced to move to spaces when "opiniated" languages -- i am looking at you, F# FS1161 -- decided to mistreat the innocent tabs.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection