Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. How bad...

How bad...

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studioquestion
54 Posts 33 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Ariel Kazeed

    ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

    Kazz


    "Users are there to click on things, not think. Let the archs do the damn thinking."

    B Offline
    B Offline
    Bob1000
    wrote on last edited by
    #18

    Be more happy if MS spent time making VS work correctly and not crash so often (or ever!) :)

    1 Reply Last reply
    0
    • C Christian Graus

      That would totally suck. It would constantly add them where you don't want them. How can it tell where you want braces ? Semicolons would also not be fool proof.

      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      B Offline
      B Offline
      Bijesh
      wrote on last edited by
      #19

      Rational Application Studio auto-inserts closing braces for java. It can get really annoying..

      1 Reply Last reply
      0
      • J Judah Gabriel Himango

        The ReSharper add-in has an option for this. I really didn't like it and ended up turning it off. My fingers type the semicolon without using the brain. :-)

        Life, family, faith: Give me a visit. From my latest post: "And you think, 'To keep my anti-Judaic theology alive I must reinterpret this verse too as being a blessing for Christians and not for Jews. I know it strains all manner of principles of interpretation. I don’t read the newspaper this sloppily, but, man, I have a theology to defend.'" Judah Himango

        M Offline
        M Offline
        Mohamed Meligy
        wrote on last edited by
        #20

        Yeah, once you try Resharper, just semicolons and parentheses become very small part in editor features :). But yeah, it takes time to get used to, and to stop getting used to as well! For me, it was really painful at beginning. I ended up adding duplicate semicolons and having to delete them instead of just writing one! After a while, it became just the nature of things. I learned what to expect and then stopped thinking about it while typing. The funny thing is that when I sat on VS without Resharper later, it was really painful to miss all the functionality there. This is the problem with non standard tools!

        1 Reply Last reply
        0
        • D DaveX86

          Write your code in Visual Basic, that way you don't have to worry about the unnecessary punctuation :)

          S Offline
          S Offline
          SimonRigby
          wrote on last edited by
          #21

          Good point apart from the fact that the ; is not unnecesary in the same way that the _ isn't in VB :)

          The only thing unpredictable about me is just how predictable I'm going to be.

          K 1 Reply Last reply
          0
          • J Jeremy Tierman

            I would like to see it autoname my variables...I sure they can figure out what I want the variable for :laugh:

            S Offline
            S Offline
            SimonRigby
            wrote on last edited by
            #22

            For a small fee a will write that for providing you are happy with var1, var2, var3 etc :laugh:

            The only thing unpredictable about me is just how predictable I'm going to be.

            1 Reply Last reply
            0
            • S Super Lloyd

              it's so 3rd millenium, ppff.... I'd like VS to write the code for me from a few fuzzy directives!

              A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

              S Offline
              S Offline
              SimonRigby
              wrote on last edited by
              #23

              Yeah afer all thats exactly what my clients expects me to do from their "few fuzzy directives"

              The only thing unpredictable about me is just how predictable I'm going to be.

              1 Reply Last reply
              0
              • B Brady Kelly

                ReSharper, and other aids do stuff like that. Wonderful. :rose:

                T Offline
                T Offline
                Tim Yen
                wrote on last edited by
                #24

                I second this. I love resharper!!!:rose:

                1 Reply Last reply
                0
                • A Ariel Kazeed

                  ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

                  Kazz


                  "Users are there to click on things, not think. Let the archs do the damn thinking."

                  F Offline
                  F Offline
                  ftw melvin
                  wrote on last edited by
                  #25

                  VS studio inserting closing tags still irritates me to this day; please don't encourage THEM to second guess what a coder intends to do.

                  1 Reply Last reply
                  0
                  • D DaveX86

                    Great minds think alike :)

                    C Offline
                    C Offline
                    ClockMeister
                    wrote on last edited by
                    #26

                    I'll concur with that, too! -CB ;)

                    1 Reply Last reply
                    0
                    • A Ariel Kazeed

                      ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

                      Kazz


                      "Users are there to click on things, not think. Let the archs do the damn thinking."

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #27

                      God no, I want to write my own code and not an editor to write it for me. The VS team can add the feature as long as they give the option to disable it :laugh:

                      1 Reply Last reply
                      0
                      • A Ariel Kazeed

                        ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

                        Kazz


                        "Users are there to click on things, not think. Let the archs do the damn thinking."

                        K Offline
                        K Offline
                        Kalvin Work
                        wrote on last edited by
                        #28

                        Can you write a plug-in for VS that will do that for you, or is VS not extensible that way? Just curious. Kalvin

                        1 Reply Last reply
                        0
                        • S Super Lloyd

                          it's so 3rd millenium, ppff.... I'd like VS to write the code for me from a few fuzzy directives!

                          A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                          N Offline
                          N Offline
                          nalorin
                          wrote on last edited by
                          #29

                          a few fuzzy directives

                          Isn't that why we have fuzzy logic systems? :P

                          "Silently laughing at silly people is much more satisfying in the long run than rolling around with them in a dusty street, trying to knock out all their teeth. If nothing else, it's better on the clothes." - Belgarath (David Eddings)

                          1 Reply Last reply
                          0
                          • A Ariel Kazeed

                            ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

                            Kazz


                            "Users are there to click on things, not think. Let the archs do the damn thinking."

                            C Offline
                            C Offline
                            chaiguy1337
                            wrote on last edited by
                            #30

                            I'm sick of semicolons too;

                            “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

                            P 1 Reply Last reply
                            0
                            • P Paul Watson

                              TextMate and most text-editors I've used do matching parentheses and tags and does it reasonably well. It doesn't do semi-colons though, I doubt it would know when you are finished a line of code accurately enough to be useful.

                              regards, Paul Watson Ireland & South Africa

                              Fernando A. Gomez F. wrote:

                              At least he achieved immortality for a few years.

                              C Offline
                              C Offline
                              chaiguy1337
                              wrote on last edited by
                              #31

                              How bout the Enter key? :P

                              “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

                              P 2 Replies Last reply
                              0
                              • C chaiguy1337

                                How bout the Enter key? :P

                                “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

                                P Offline
                                P Offline
                                Paul Watson
                                wrote on last edited by
                                #32

                                Good coders wrap lines of code :)

                                regards, Paul Watson Ireland & South Africa

                                Fernando A. Gomez F. wrote:

                                At least he achieved immortality for a few years.

                                C 1 Reply Last reply
                                0
                                • P Paul Watson

                                  Good coders wrap lines of code :)

                                  regards, Paul Watson Ireland & South Africa

                                  Fernando A. Gomez F. wrote:

                                  At least he achieved immortality for a few years.

                                  C Offline
                                  C Offline
                                  chaiguy1337
                                  wrote on last edited by
                                  #33

                                  Good editors wrap it for us. :)

                                  “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

                                  P 1 Reply Last reply
                                  0
                                  • C chaiguy1337

                                    How bout the Enter key? :P

                                    “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

                                    P Offline
                                    P Offline
                                    Paul Watson
                                    wrote on last edited by
                                    #34

                                    Of course, better coders don't write long lines of code that need to be wrapped :-D (Though if you are in the .NET world then I don't see how you can write three lines before having to wrap. All those namespaces and class structures.)

                                    regards, Paul Watson Ireland & South Africa

                                    Fernando A. Gomez F. wrote:

                                    At least he achieved immortality for a few years.

                                    C D 2 Replies Last reply
                                    0
                                    • C chaiguy1337

                                      Good editors wrap it for us. :)

                                      “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

                                      P Offline
                                      P Offline
                                      Paul Watson
                                      wrote on last edited by
                                      #35

                                      Not even good editors know where to wrap and we are back to the original problem ;)

                                      regards, Paul Watson Ireland & South Africa

                                      Fernando A. Gomez F. wrote:

                                      At least he achieved immortality for a few years.

                                      C 1 Reply Last reply
                                      0
                                      • P Paul Watson

                                        Of course, better coders don't write long lines of code that need to be wrapped :-D (Though if you are in the .NET world then I don't see how you can write three lines before having to wrap. All those namespaces and class structures.)

                                        regards, Paul Watson Ireland & South Africa

                                        Fernando A. Gomez F. wrote:

                                        At least he achieved immortality for a few years.

                                        C Offline
                                        C Offline
                                        chaiguy1337
                                        wrote on last edited by
                                        #36

                                        I actually rarely wrap lines. The only time I do is when I'm calling a method with a ton of parameters, or variable parameters like String.Format, or if I write a really funky long logic expression. That's about it tho; I always import namespaces rather than reference them directly unless there's a conflict.

                                        “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

                                        P 1 Reply Last reply
                                        0
                                        • C chaiguy1337

                                          I actually rarely wrap lines. The only time I do is when I'm calling a method with a ton of parameters, or variable parameters like String.Format, or if I write a really funky long logic expression. That's about it tho; I always import namespaces rather than reference them directly unless there's a conflict.

                                          “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

                                          P Offline
                                          P Offline
                                          Paul Watson
                                          wrote on last edited by
                                          #37

                                          Yeah. The problem is an "insert semicolon on enter" feature will irritate you more for the times it does it wrong than make you feel good for the times it does it wrong. A lot of things in life are like that. Gravity really annoys me but I'd bet if it went into a sulk and switched off for being under-appreciated I'd quickly realise how good it is.

                                          regards, Paul Watson Ireland & South Africa

                                          Fernando A. Gomez F. wrote:

                                          At least he achieved immortality for a few years.

                                          C 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups