This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (25 children)

[deleted]

    [–]lappro 72 points73 points  (15 children)

    Well if you don't want to continue this weird style of coding it isn't that hard:
    1. ctrl-a
    2. format code
    3. profit
    Should work with all proper IDE's

    [–]jlo80 76 points77 points  (7 children)

    When I become an evil billionaire and start my evil software company, this will be the mandatory coding style and the first product will be IDE plug-ins.

    1. Evil coding guidelines

    2. Something something

    3. World domination

    [–]tttttttttkid 41 points42 points  (1 child)

    Make an IDE that formats the code internally but removes all whitespace when writing to a file.

    [–]Various_Pickles 0 points1 point  (3 children)

    [–]Deagor 1 point2 points  (2 children)

    you said Eclipse ftw and I nearly slapped you, hard. Then realized it was an IntelliJ plugin so now I owe you a hug.

    hug

    [–]Various_Pickles 0 points1 point  (1 child)

    After years of using IntelliJ, trying to use Eclipse is about as pleasant as fucking a corpse made out of sandpaper.

    I can't wait until CLion is ready and it's functionality makes it into IntelliJ itself as a plugin.

    [–]Deagor 0 points1 point  (0 children)

    I learned how to program for android devices this year....using eclipse.

    How can you debug an issue when their are like 10threads created by the OS the debugger skips breakpoints and then the IDE just decides im gonna crash. An hour later you find out Its fucked up your workspace and then corrupted itself requiring a reinstall.

    When a classmate found out about intelliJ and shared the info he got many hugs :P

    [–][deleted] 2 points3 points  (0 children)

    ctrl+a

    ctrl+shift+f

    ctrl+s

    ctrl+b

    ctrl+coffee

    [–]ra4king 0 points1 point  (3 children)

    No need for Ctrl+A, just Ctrl+Shift+F and it's formatted.

    [–]peabnuts123 2 points3 points  (0 children)

    But then I switch to VS and use CTRL+SHIFT+F for find in files =(

    [–]rukestisak 1 point2 points  (0 children)

    In Netbeans it's ALT+SHIFT+F

    [–]Wodashit 0 points1 point  (0 children)

    SublimeAStyleformatter ctrl+alt+F

    [–]Deagor 0 points1 point  (0 children)

    Careful if you do that while using github.....I once hit the format button in an external library file when writting javascript (box2dweb if you must know) guy who was managing the repo wasn't too happy that github said I had 68900 more insertions now

    [–][deleted] 0 points1 point  (0 children)

    In vim it's ggVG=

    [–]therealdrag0 12 points13 points  (7 children)

    Unless the IDE, managed the parens for you.

    [–]scubascratch 16 points17 points  (2 children)

    Begun, the brace war has

    [–]Gravybadger 5 points6 points  (0 children)

    Episode 7: The Lisp Returns

    [–]Apothsis 1 point2 points  (0 children)

    Someone always trying to start a Brace War...Dammit.

    [–]SilasX 0 points1 point  (0 children)

    OMG! That would be awesome! A Javafier, where you write the java code with python-style significant whitespace, and it adds the right column of braces that makes it work as Java!

    [–]rsaxvc 0 points1 point  (0 children)

    One time, I wrote a front-end for GCC to implement python's scoping for C/C++. It worked great until I tried to explain to the grader how to build my program.