C# beautifiers for VS2012
-
Pity you didn't use it before replying.
Well played, sir, well played. :thumbsup: BTW: to be serious: there is no finer tool than your own brain and eyes to "beautify" and clean your code.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. Those who seek perfection will only find imperfection nils illegitimus carborundum me, me, me me, in pictures
-
Well played, sir, well played. :thumbsup: BTW: to be serious: there is no finer tool than your own brain and eyes to "beautify" and clean your code.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. Those who seek perfection will only find imperfection nils illegitimus carborundum me, me, me me, in pictures
You seem to be missing the point. Are you a programmer? How much time do you spend "beautifying with your eyes" tens of thousands of lines of legacy code?
-
You seem to be missing the point. Are you a programmer? How much time do you spend "beautifying with your eyes" tens of thousands of lines of legacy code?
Franc Morales wrote:
How much time do you spend "beautifying with your eyes" tens of thousands of lines of legacy code?
None: you never mentioned legacy code.
Franc Morales wrote:
You seem to be missing the point.
See above: you have not clearly stated your point or have mis-stated it.
Franc Morales wrote:
Are you a programmer?
Check my profile before asking silly questions. I retract my well played - you didn't play well at all.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. Those who seek perfection will only find imperfection nils illegitimus carborundum me, me, me me, in pictures
-
Franc Morales wrote:
How much time do you spend "beautifying with your eyes" tens of thousands of lines of legacy code?
None: you never mentioned legacy code.
Franc Morales wrote:
You seem to be missing the point.
See above: you have not clearly stated your point or have mis-stated it.
Franc Morales wrote:
Are you a programmer?
Check my profile before asking silly questions. I retract my well played - you didn't play well at all.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. Those who seek perfection will only find imperfection nils illegitimus carborundum me, me, me me, in pictures
My god.
-
Franc Morales wrote:
How much time do you spend "beautifying with your eyes" tens of thousands of lines of legacy code?
None: you never mentioned legacy code.
Franc Morales wrote:
You seem to be missing the point.
See above: you have not clearly stated your point or have mis-stated it.
Franc Morales wrote:
Are you a programmer?
Check my profile before asking silly questions. I retract my well played - you didn't play well at all.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. Those who seek perfection will only find imperfection nils illegitimus carborundum me, me, me me, in pictures
-
Franc Morales wrote:
How much time do you spend "beautifying with your eyes" tens of thousands of lines of legacy code?
None: you never mentioned legacy code.
Franc Morales wrote:
You seem to be missing the point.
See above: you have not clearly stated your point or have mis-stated it.
Franc Morales wrote:
Are you a programmer?
Check my profile before asking silly questions. I retract my well played - you didn't play well at all.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. Those who seek perfection will only find imperfection nils illegitimus carborundum me, me, me me, in pictures
C'mon guys, you are missing the point!! What are you looking for? something free or paid? have you tried www.narrange.net/[^]
-
My god.
Franc Morales wrote:
My god.
Indeed I am.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. Those who seek perfection will only find imperfection nils illegitimus carborundum me, me, me me, in pictures
-
I would, but Japan is a little too far and I don't waste my time with humorless numptys.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. Those who seek perfection will only find imperfection nils illegitimus carborundum me, me, me me, in pictures
-
C'mon guys, you are missing the point!! What are you looking for? something free or paid? have you tried www.narrange.net/[^]
Link fail!
Keep Clam And Proofread -- √(-1) 23 ∑ π... And it was delicious.
-
I would, but Japan is a little too far and I don't waste my time with humorless numptys.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. Those who seek perfection will only find imperfection nils illegitimus carborundum me, me, me me, in pictures
It sounded like you were saying that there's something wrong with him using a program to format his code instead of doing it himself manually. Is that the humor you say he is missing?
The difficult we do right away... ...the impossible takes slightly longer.
-
I've been using the VS2012 extensions for AStyle and Uncrustify. The first does not quite work for me and the second does work somewhat but removes bookmarks and breakpoints every time it's run. What do you guys use?
CP has gone down the drain. Let me rephrase. A question for those of you that actually know what a code beautifier is (and does) and can't be bothered to waste time digging themselves into a hole pretending to be "smart", what do you guys use for C#? I would like to do better than AStyle/Uncrustify. Thank you in advance.
-
CP has gone down the drain. Let me rephrase. A question for those of you that actually know what a code beautifier is (and does) and can't be bothered to waste time digging themselves into a hole pretending to be "smart", what do you guys use for C#? I would like to do better than AStyle/Uncrustify. Thank you in advance.
Franc Morales wrote:
A question for those of you that actually know what a code beautifier is (and does) and can't be bothered to waste time digging themselves into a hole pretending to be "smart", what do you guys use for C#? I would like to do better than AStyle/Uncrustify.
I have no idea as I don't code in C# or much at all really now. But Paulo Kunzel a couple of replies up pointed you to http://www.narrange.net/[^], he just messed up his link.
Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
-
Franc Morales wrote:
A question for those of you that actually know what a code beautifier is (and does) and can't be bothered to waste time digging themselves into a hole pretending to be "smart", what do you guys use for C#? I would like to do better than AStyle/Uncrustify.
I have no idea as I don't code in C# or much at all really now. But Paulo Kunzel a couple of replies up pointed you to http://www.narrange.net/[^], he just messed up his link.
Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
Thank you both. EDIT: Too simple a tool.
-
I've been using the VS2012 extensions for AStyle and Uncrustify. The first does not quite work for me and the second does work somewhat but removes bookmarks and breakpoints every time it's run. What do you guys use?
Check everything inside Tools->Options->Text Editor->C#->Formatting->General (at least for VS2010, VS2012 could be a little different, I have not tried), Open the file, click Ctrl-A, Ctrl-K and Ctrl F, then it formats the code in a nice way. However you have to open the code files to do it. I am not sure is this what you actually wanted though ...
Auto generated data services for querying stackExchange's GIS and ServerFault data sets. Email searcher Email Aggregation Manager[^].
-
Check everything inside Tools->Options->Text Editor->C#->Formatting->General (at least for VS2010, VS2012 could be a little different, I have not tried), Open the file, click Ctrl-A, Ctrl-K and Ctrl F, then it formats the code in a nice way. However you have to open the code files to do it. I am not sure is this what you actually wanted though ...
Auto generated data services for querying stackExchange's GIS and ServerFault data sets. Email searcher Email Aggregation Manager[^].
Yes, the built-in beautifier has improved somewhat but I'm afraid it is still not flexible enough. Thank you, though.
-
I've been using the VS2012 extensions for AStyle and Uncrustify. The first does not quite work for me and the second does work somewhat but removes bookmarks and breakpoints every time it's run. What do you guys use?
I had to stop using such lovely tools because ... everyone here has their own preferred style and so Source Code Comparisons noted almost every line as a change. If you find a tool that prettifies C# on user preferences, but manages to avoid the issue with source control code comparisons - let me know!
MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')
-
I had to stop using such lovely tools because ... everyone here has their own preferred style and so Source Code Comparisons noted almost every line as a change. If you find a tool that prettifies C# on user preferences, but manages to avoid the issue with source control code comparisons - let me know!
MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')
A workaround it to keep two user preferences, one shared by everyone and one for yourself. Use the first one before a commit or a diff. Beautifiers save so many keystrokes that it is plain evil to have to give them up...
-
A workaround it to keep two user preferences, one shared by everyone and one for yourself. Use the first one before a commit or a diff. Beautifiers save so many keystrokes that it is plain evil to have to give them up...
Yeah - in another work environment I'd insist on that - here it's all too hard! We get some devs just manually going through code changing the bracketing to their preference. I suggested automating the build process on check in and was met with such negativity I've pretty much given up suggesting any improvements in process. Sorry - feeling particularly cynical today!
MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')
-
Franc Morales wrote:
My god.
Indeed I am.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. Those who seek perfection will only find imperfection nils illegitimus carborundum me, me, me me, in pictures
*Grabs popcorn*
You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."
-
Link fail!
Keep Clam And Proofread -- √(-1) 23 ∑ π... And it was delicious.
Lol, I've got no idea of what happened..... I may have written something wrong.. Well, here it goes again, but copied and pasted this time.. :-D http://www.narrange.net/[^]