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. IDE poll

IDE poll

Scheduled Pinned Locked Moved The Lounge
visual-studiocsharpcomgraphicstools
36 Posts 15 Posters 3 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.
  • V V 0

    Am I the only one who wants a feature in visual studio (or any other IDE) that can have images as comments? The idea would be that you have some sort of button in the side bar (when an image was attached at that location) and if you hover over it you see the image you attached. This image could contain a use-case, a drawing or a print out of a file you read in as example, ... If we think further you could attach paragraphs of the functional/technical documentation that are relevant for this piece of code. (but that might be overdoing it too) Just thinking out loud, but I feel the plain text comment is not sufficient ;-) What do you think?

    V.
    (MQOTD rules and previous solutions)

    A Offline
    A Offline
    AlexCode
    wrote on last edited by
    #12

    In my opinion you need to separate things. Code comments serve a different purpose than technical specs and to make it "worse", they have different life-cycles. They can change separately without a strict need to one affect the other. So in your code comments you can eventually refer to a section in the technical spec, but attaching pieces of documentation directly to code would be a maintenance mess.

    1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      Think of it this way: if you could post images in the Lounge, I probably would. But...so would spammers, viagra salesmen, trolls, and general morons. Which is why we don't have it! And do you really want your source code to expand that much? My backups are big enough as it is, without potentially adding an image per line of code (or even per method). You and I both know that if you can, some idiot on the team will do it...

      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

      V Offline
      V Offline
      V 0
      wrote on last edited by
      #13

      I'm pretty sure the risk is limited. It isn't a website and most teams are limited in size. You could build in a feature that seriously limits the file size per "attachment" and it will always remain more tedious to add an image than to write a comment.

      V.
      (MQOTD rules and previous solutions)

      B 1 Reply Last reply
      0
      • V V 0

        Am I the only one who wants a feature in visual studio (or any other IDE) that can have images as comments? The idea would be that you have some sort of button in the side bar (when an image was attached at that location) and if you hover over it you see the image you attached. This image could contain a use-case, a drawing or a print out of a file you read in as example, ... If we think further you could attach paragraphs of the functional/technical documentation that are relevant for this piece of code. (but that might be overdoing it too) Just thinking out loud, but I feel the plain text comment is not sufficient ;-) What do you think?

        V.
        (MQOTD rules and previous solutions)

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

        My code is self explanatory ;)

        V P 2 Replies Last reply
        0
        • V V 0

          Am I the only one who wants a feature in visual studio (or any other IDE) that can have images as comments? The idea would be that you have some sort of button in the side bar (when an image was attached at that location) and if you hover over it you see the image you attached. This image could contain a use-case, a drawing or a print out of a file you read in as example, ... If we think further you could attach paragraphs of the functional/technical documentation that are relevant for this piece of code. (but that might be overdoing it too) Just thinking out loud, but I feel the plain text comment is not sufficient ;-) What do you think?

          V.
          (MQOTD rules and previous solutions)

          A Offline
          A Offline
          Amarnath S
          wrote on last edited by
          #15

          Nice idea. Had felt this need sometime ago. One thing though. Would mean that source control should also include some kind of parental control - regarding image content. Or ratings like General, PG, etc. :-)

          1 Reply Last reply
          0
          • L Lost User

            My code is self explanatory ;)

            V Offline
            V Offline
            V 0
            wrote on last edited by
            #16

            :laugh:

            V.
            (MQOTD rules and previous solutions)

            1 Reply Last reply
            0
            • V V 0

              Am I the only one who wants a feature in visual studio (or any other IDE) that can have images as comments? The idea would be that you have some sort of button in the side bar (when an image was attached at that location) and if you hover over it you see the image you attached. This image could contain a use-case, a drawing or a print out of a file you read in as example, ... If we think further you could attach paragraphs of the functional/technical documentation that are relevant for this piece of code. (but that might be overdoing it too) Just thinking out loud, but I feel the plain text comment is not sufficient ;-) What do you think?

              V.
              (MQOTD rules and previous solutions)

              P Offline
              P Offline
              peterchen
              wrote on last edited by
              #17

              I use case number or Wiki ID as a comment. VisualAssist SourceLinks[^] plugin turns these comments into links.

              // Just double click bugz:12345 to see a nice picture of a aardvark

              N 1 Reply Last reply
              0
              • L Lost User

                My code is self explanatory ;)

                P Offline
                P Offline
                peterchen
                wrote on last edited by
                #18

                I know! I've seen it, it explains, in no uncertain terms, All hope abandon ye who enter here. The "variable" "naming" "convention" is particulary convincing in this aspect.

                1 Reply Last reply
                0
                • V V 0

                  :wtf: You write so many comments then? I doubt there will be many managers enforcing the developers to include every single line of documentation to the code. In short, this can never be the goal ?

                  V.
                  (MQOTD rules and previous solutions)

                  M Offline
                  M Offline
                  Marco Bertschi
                  wrote on last edited by
                  #19

                  V. wrote:

                  You write so many comments then

                  No. But we're discussing enough about what and how to commente, imagine Requirement & Use Case Engineering people being dragged into the very same discussion.

                  "A property doesn't have to be a Property to be a property." - PIEBALDConsult

                  1 Reply Last reply
                  0
                  • V V 0

                    Am I the only one who wants a feature in visual studio (or any other IDE) that can have images as comments? The idea would be that you have some sort of button in the side bar (when an image was attached at that location) and if you hover over it you see the image you attached. This image could contain a use-case, a drawing or a print out of a file you read in as example, ... If we think further you could attach paragraphs of the functional/technical documentation that are relevant for this piece of code. (but that might be overdoing it too) Just thinking out loud, but I feel the plain text comment is not sufficient ;-) What do you think?

                    V.
                    (MQOTD rules and previous solutions)

                    N Offline
                    N Offline
                    Nagy Vilmos
                    wrote on last edited by
                    #20

                    How about an IDE that loads all the crap *after* it has opened and not before? That way if I want to check a file I don't have to wait three days and slaughter a small chicken just to check how something was done. Bastard coders, too smart for there own godo!

                    veni bibi saltavi

                    L V 2 Replies Last reply
                    0
                    • P peterchen

                      I use case number or Wiki ID as a comment. VisualAssist SourceLinks[^] plugin turns these comments into links.

                      // Just double click bugz:12345 to see a nice picture of a aardvark

                      N Offline
                      N Offline
                      Nagy Vilmos
                      wrote on last edited by
                      #21

                      I'm going to have to ding you for poor commenting! The indeffinate article before a vowel is 'an' not 'a'!

                      veni bibi saltavi

                      P 1 Reply Last reply
                      0
                      • V V 0

                        Am I the only one who wants a feature in visual studio (or any other IDE) that can have images as comments? The idea would be that you have some sort of button in the side bar (when an image was attached at that location) and if you hover over it you see the image you attached. This image could contain a use-case, a drawing or a print out of a file you read in as example, ... If we think further you could attach paragraphs of the functional/technical documentation that are relevant for this piece of code. (but that might be overdoing it too) Just thinking out loud, but I feel the plain text comment is not sufficient ;-) What do you think?

                        V.
                        (MQOTD rules and previous solutions)

                        D Offline
                        D Offline
                        Daniel Pfeffer
                        wrote on last edited by
                        #22

                        This still doesn't solve the problem of changing requirements, changing code, etc. 1. How do you ensure that comments remain current when requirements have been added / deleted? 2. ditto when code has been modified.

                        If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill

                        V N 2 Replies Last reply
                        0
                        • N Nagy Vilmos

                          How about an IDE that loads all the crap *after* it has opened and not before? That way if I want to check a file I don't have to wait three days and slaughter a small chicken just to check how something was done. Bastard coders, too smart for there own godo!

                          veni bibi saltavi

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

                          Nagy Vilmos wrote:

                          too smart for there own godo!

                          I was waiting for that :)

                          PooperPig - Coming Soon

                          1 Reply Last reply
                          0
                          • N Nagy Vilmos

                            How about an IDE that loads all the crap *after* it has opened and not before? That way if I want to check a file I don't have to wait three days and slaughter a small chicken just to check how something was done. Bastard coders, too smart for there own godo!

                            veni bibi saltavi

                            V Offline
                            V Offline
                            V 0
                            wrote on last edited by
                            #24

                            Now that's something one can agree on :thumbsup:

                            V.
                            (MQOTD rules and previous solutions)

                            1 Reply Last reply
                            0
                            • D Daniel Pfeffer

                              This still doesn't solve the problem of changing requirements, changing code, etc. 1. How do you ensure that comments remain current when requirements have been added / deleted? 2. ditto when code has been modified.

                              If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill

                              V Offline
                              V Offline
                              V 0
                              wrote on last edited by
                              #25

                              Go live in Utopia, there the specs are not changed afterwards :rolleyes:. I'm a bit surprised that everyone is worried about bloating or about the maintainence of this. I wouldn't have thought about putting these attachments everywhere I go, rather use it where normal comments don't really cut it. But I admit, I do live in my own private small world were none can enter ;-)

                              V.
                              (MQOTD rules and previous solutions)

                              1 Reply Last reply
                              0
                              • N Nagy Vilmos

                                I'm going to have to ding you for poor commenting! The indeffinate article before a vowel is 'an' not 'a'!

                                veni bibi saltavi

                                P Offline
                                P Offline
                                peterchen
                                wrote on last edited by
                                #26

                                "Anise Aardvark" is the name of the office mascot. She's humble, that's why all lowercase.

                                1 Reply Last reply
                                0
                                • D Daniel Pfeffer

                                  This still doesn't solve the problem of changing requirements, changing code, etc. 1. How do you ensure that comments remain current when requirements have been added / deleted? 2. ditto when code has been modified.

                                  If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill

                                  N Offline
                                  N Offline
                                  Nagy Vilmos
                                  wrote on last edited by
                                  #27

                                  85 million years ago, we had a simple submission check tool. The rules where that every file had a comment header with mod history and every public method had one too; this is all pre XML clever type doc/comments. If they were not there, or unchanged, the change could not be submitted. Simple yet effective.

                                  veni bibi saltavi

                                  D 1 Reply Last reply
                                  0
                                  • V V 0

                                    I'm pretty sure the risk is limited. It isn't a website and most teams are limited in size. You could build in a feature that seriously limits the file size per "attachment" and it will always remain more tedious to add an image than to write a comment.

                                    V.
                                    (MQOTD rules and previous solutions)

                                    B Offline
                                    B Offline
                                    Brisingr Aerowing
                                    wrote on last edited by
                                    #28

                                    Or just make a link that, when clicked, opens the file. Shouldn't be all that hard to do. I don't know anything about Visual Studio AddIns/Extensions/etc, though.

                                    What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???

                                    1 Reply Last reply
                                    0
                                    • V V 0

                                      Am I the only one who wants a feature in visual studio (or any other IDE) that can have images as comments? The idea would be that you have some sort of button in the side bar (when an image was attached at that location) and if you hover over it you see the image you attached. This image could contain a use-case, a drawing or a print out of a file you read in as example, ... If we think further you could attach paragraphs of the functional/technical documentation that are relevant for this piece of code. (but that might be overdoing it too) Just thinking out loud, but I feel the plain text comment is not sufficient ;-) What do you think?

                                      V.
                                      (MQOTD rules and previous solutions)

                                      Richard DeemingR Offline
                                      Richard DeemingR Offline
                                      Richard Deeming
                                      wrote on last edited by
                                      #29

                                      Something like this[^], or this[^]?


                                      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                                      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                                      V 1 Reply Last reply
                                      0
                                      • Richard DeemingR Richard Deeming

                                        Something like this[^], or this[^]?


                                        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                                        V Offline
                                        V Offline
                                        V 0
                                        wrote on last edited by
                                        #30

                                        Exactly. Just tried and googled and none of them is working... unfortunately.

                                        V.
                                        (MQOTD rules and previous solutions)

                                        1 Reply Last reply
                                        0
                                        • V V 0

                                          Am I the only one who wants a feature in visual studio (or any other IDE) that can have images as comments? The idea would be that you have some sort of button in the side bar (when an image was attached at that location) and if you hover over it you see the image you attached. This image could contain a use-case, a drawing or a print out of a file you read in as example, ... If we think further you could attach paragraphs of the functional/technical documentation that are relevant for this piece of code. (but that might be overdoing it too) Just thinking out loud, but I feel the plain text comment is not sufficient ;-) What do you think?

                                          V.
                                          (MQOTD rules and previous solutions)

                                          M Offline
                                          M Offline
                                          Marc Clifton
                                          wrote on last edited by
                                          #31

                                          Heck, I want a 3 dimensional code editor. You have an if statement? The code branches orthogonally to the main code "vector". If-else? Same idea, but with two orthogonal branches. nested loops? Again, you can render that in 3D rather than a 2D "one inside the other" surface. It would really be quite fascinating to see code represented three dimensionally and be able to fly around it, zoom in/out, etc. Marc

                                          Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                                          S 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