Auto redacting feature in MPLAB X



  • Some of you may be familiar with MPLAB X. Microchip decided to abandon their own software and transition to something floating on top of Netbeans. I found an "undocumented feature" to automatically redact your open .c project:

    [url=http://postimage.org/image/mlwjhhvwz/][img]http://s13.postimage.org/mlwjhhvwz/MPLABX_anon.jpg[/img][/url]

    (I redacted the name of the project, all the other stuff was automagical)



  • The real WTF is that they would screw around with MPLAB. Or maybe I'm wrong... you tell me. I've still got my head in the sand with respect to MPLAB X.

    You're fortunate that someone else with a brain decided to log in today... most of the regulars here don't have the balls for embedded development.



  • Looks like bold barcode font. Awesome!



  • I get something similar in VS2008, but only on one line at a time - the line I'm currently editing.
    The broken font's not as cool though - I just get 'unknown char' boxes.



  • Looks like the Window menu is too important to be messed with.

    Also the search box and the insertion mode indicator. among other things.



  • Arggh! Open braces are on the same line as the statement! My eyes are bleeding!



  • @Mole said:

    Arggh! Open braces are on the same line as the statement! My eyes are bleeding!

    Who gives a goddamn shit.



  • @dhromed said:

    Who gives a goddamn shit.

    I like your style!



  • @Mole said:

    @dhromed said:
    Who gives a goddamn shit.

    I like your style!

    It's TDWTF forums-style, at its best!



  • @Mole said:

    Arggh! Open braces are on the same line as the statement! My eyes are bleeding!
    how do you know they are braces?



  • Zoom in, you can clearly see
    "while (1) {"
    even though the font is yoda (or something similar)

    Or at least I can 🙂



  • @Mole said:

    Arggh! Open braces are on the same line as the statement! My eyes are bleeding!

    Personally, I much prefer braces on the same line, but I'm perfectly capable of working with either. All I ask is that a project pick one and stick with it.



  • @morbiuswilters said:

    @Mole said:
    Arggh! Open braces are on the same line as the statement! My eyes are bleeding!

    Personally, I much prefer braces on the same line, but I'm perfectly capable of working with either. All I ask is that a project pick one and stick with it.

     

    I kind of prefer the other style, but I completely agree that the key is for the project to stick to a single style.



  • @Mole said:

    Arggh! Open braces are on the same line as the statement! My eyes are bleeding!
     

    The redacting is working quite well if the only complaint you have about my code is my style (or lack thereof) in postioning of open braces.

     



  • I've seen this happen in various applications, but never found out why. The font you're seeing is Small Fonts, which is obviously not intended for that point size.



  • @morbiuswilters said:

    @Mole said:
    Arggh! Open braces are on the same line as the statement! My eyes are bleeding!

    Personally, I much prefer braces on the same line, but I'm perfectly capable of working with either. All I ask is that a project pick one and stick with it.

     

    Yeah, you just get used to it.



  • @Mole said:

    Arggh! Open braces are on the same line as the statement! My eyes are bleeding!
    Compact Control Readability, biatch.



  • @dhromed said:

    @morbiuswilters said:

    @Mole said:
    Arggh! Open braces are on the same line as the statement! My eyes are bleeding!

    Personally, I much prefer braces on the same line, but I'm perfectly capable of working with either. All I ask is that a project pick one and stick with it.

    Yeah, you just get used to it.

    God this debate is fucking retarded.

    1) Get an IDE with code formatting

    2) Use it to auto-format however you like while working on the file

    3) Then use it to auto-format back to the "standard" before checking it in

    4) Never discuss this stupid, pointless, already-solved-for-years debate in a forum ever again



  • @blakeyrat said:

    @dhromed said:

    @morbiuswilters said:

    @Mole said:
    Arggh! Open braces are on the same line as the statement! My eyes are bleeding!

    Personally, I much prefer braces on the same line, but I'm perfectly capable of working with either. All I ask is that a project pick one and stick with it.

    Yeah, you just get used to it.

    God this debate is fucking retarded.

    1) Get an IDE with code formatting

    2) Use it to auto-format however you like while working on the file

    3) Then use it to auto-format back to the "standard" before checking it in

    4) Never discuss this stupid, pointless, already-solved-for-years debate in a forum ever again

    Blakey, you know as well as I that 90% of Software Engineering is complaining about and/or reinventing things that have already been solved. If we didn't waste time on pointless, antagonistic holy wars, then we'd be a real profession that produced quality products instead of a clusterfuck of superstition and cargo cultism that doesn't deserve to use the name "engineering".



  • @morbiuswilters said:

    a real profession that produced quality products instead of a clusterfuck of superstition and cargo cultism
    Does that even exist?


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.