Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@mzeffect It's not hard my friend. Besides, if you use a decent editor, the indentation happens without you having to do anything with it.
And you know what.. I think I would rant this exact same thing had I been working where you're working.. What do you think is going to happen to the person you hand over your code to ?
..
..
Peace out ! -
@mzeffect If you find indenting code hard then how do you manage to code something?
I mean it just takes a fucking button press in an IDE. -
@notroot well the next person can just run a project wide beutify with the same capable text editor can't he?
-
@mzeffect You know.. It's your responsibility as the original code writer to keep it clear and easy for other people to understand.
If you don't, then it makes the task progressively harder as more and more people read and edit your code.
Your code may work.. So it's doesn't say anything about you as a coder. But it tells something about you as a person.
..
..
Peace Out ! -
dxdy1067yHere's a few handy shortcuts -
VSCode -
On Windows Shift + Alt + F
On Mac Shift + Option + F
On Ubuntu Ctrl + Shift + I
Atom -
Ctrl + Shift + P then type 'autoi' and enter
Eclipse -
Ctrl + shift + F
Netbeans -
Alt + Shift + F
Sublime Text -
Go to Preferences > Key Binding - User
Add '{ "keys": ["f12"], "command": "reindent", "args": {"single_line": false}'
Now press F12 and see the magic!
Notepad++
Install the plugin "TextFX"
PhpStorm -
Ctrl+Shift+Alt+L
Notepad -
GTFO master -
vhoyer13537yand then the fucker comes screaming for help. I'll be like "first thing, if you expect me to help you, I expect you to indent your code" ffs
-
404-js827yIt's hard when your IDE is crap... *Cough* JGrasp...
If I use notepad++ or Monodevelop its easy :P -
antic16387yFewer keystrokes, I suppose
Great for creating kludges that only you know how they work. -
@Cyanide ah ok, I just had to ask :-D
Just type ZF Cyanide into YouTube and you should get a rough idea (you may also watch videos by SovietWomble, they usually make videos together)
I mean.. how hard is it to FUCKING INDENT CODE ??!!!?!?!!???!?
rant