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 Offline
    V Offline
    V 0
    wrote on last edited by
    #1

    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 B OriginalGriffO A L 14 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)

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

      I wouldn't want to have that per line of code. Imagine the PM demanding that you add the relevant Use Case / Requirement paragraph per LOC. Requirements Engineers, Testers and so on aren't developers, this being the reason why they write a documents and not code. Linking these roles might become a problem. Think about persistence.

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

      V B 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)

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

        Interesting idea. And how should those attachments be noted in the code? A path in the comments? (With something like ATTACHMENT: starting it?) should paths be relative to the solution directory or the project directory? Should they be absolute (would break on other systems)?

        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???

        V 1 Reply Last reply
        0
        • M Marco Bertschi

          I wouldn't want to have that per line of code. Imagine the PM demanding that you add the relevant Use Case / Requirement paragraph per LOC. Requirements Engineers, Testers and so on aren't developers, this being the reason why they write a documents and not code. Linking these roles might become a problem. Think about persistence.

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

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

          I think having an attachment cover a section of code (say a method or a class) was what V. was getting at.

          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
          • M Marco Bertschi

            I wouldn't want to have that per line of code. Imagine the PM demanding that you add the relevant Use Case / Requirement paragraph per LOC. Requirements Engineers, Testers and so on aren't developers, this being the reason why they write a documents and not code. Linking these roles might become a problem. Think about persistence.

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

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

            :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 1 Reply Last reply
            0
            • B Brisingr Aerowing

              Interesting idea. And how should those attachments be noted in the code? A path in the comments? (With something like ATTACHMENT: starting it?) should paths be relative to the solution directory or the project directory? Should they be absolute (would break on other systems)?

              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???

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

              I can think of several options :-) They're part of the solution and thus (in my opinion) relative to that.

              V.
              (MQOTD rules and previous solutions)

              B 1 Reply Last reply
              0
              • V V 0

                I can think of several options :-) They're part of the solution and thus (in my opinion) relative to that.

                V.
                (MQOTD rules and previous solutions)

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

                I see. I just thought of linking to a solution item from a comment. Basically the file is included in the solution (using add item) and referenced in a comment by name. No more path issues.

                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)

                  OriginalGriffO Offline
                  OriginalGriffO Offline
                  OriginalGriff
                  wrote on last edited by
                  #8

                  Getting some people to add XML comments to methods is hard enough - can you imaging just what pictures some people are going to attach to their code? X| I'll give it a miss, thanks.

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

                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                  B V 2 Replies Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    Getting some people to add XML comments to methods is hard enough - can you imaging just what pictures some people are going to attach to their code? X| I'll give it a miss, thanks.

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

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

                    Good point(s).

                    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
                    • OriginalGriffO OriginalGriff

                      Getting some people to add XML comments to methods is hard enough - can you imaging just what pictures some people are going to attach to their code? X| I'll give it a miss, thanks.

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

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

                      That's not a real argument is it? :-D Question is, if it was available, would you use it. Don't shift responsibility to someone else now ;P .

                      V.
                      (MQOTD rules and previous solutions)

                      OriginalGriffO 1 Reply Last reply
                      0
                      • V V 0

                        That's not a real argument is it? :-D Question is, if it was available, would you use it. Don't shift responsibility to someone else now ;P .

                        V.
                        (MQOTD rules and previous solutions)

                        OriginalGriffO Offline
                        OriginalGriffO Offline
                        OriginalGriff
                        wrote on last edited by
                        #11

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

                        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                        V 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)

                          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
                                          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