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. Counting Lines of Code

Counting Lines of Code

Scheduled Pinned Locked Moved The Lounge
csharphtmlvisual-studiocomwindows-admin
24 Posts 10 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.
  • D Dario Solera

    Do you know of any add-in for Visual Studio 2008 (excluding this one[^]) that allows to count lines of code in your solution and projects? I used to use PLC (linked above) but I can't manage to install it for VS08 because it requires registry tweaking (I succeeded on another machine, but on my current PC). Any idea?

    If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

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

    I use source monitor. this tool not only provide the LOC but also the complexity of code. This tool is not a plug in for VS.

    Regards Aman Bhullar www.arlivesupport.com[^]

    1 Reply Last reply
    0
    • D Dario Solera

      Yes, I've seen that, but it feels way too complex for my needs. I mean, when PLC worked I just had to click a button and get the results.

      If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

      S Offline
      S Offline
      Single Step Debugger
      wrote on last edited by
      #14

      It’s not so complicated and what I like is that it excludes the comments and blanks from the result, so you get the real picture. What’s bugging me with this tool is that you need to select manually every source file from the check list box and if the files are thousands…

      The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

      1 Reply Last reply
      0
      • D Dario Solera

        Do you know of any add-in for Visual Studio 2008 (excluding this one[^]) that allows to count lines of code in your solution and projects? I used to use PLC (linked above) but I can't manage to install it for VS08 because it requires registry tweaking (I succeeded on another machine, but on my current PC). Any idea?

        If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

        R Offline
        R Offline
        Robert Surtees
        wrote on last edited by
        #15

        How something as basic as counting lines would require registry tweaking is beyond me. No help other than suggesting grep ";" *.[ch] | wc. :-O

        D 1 Reply Last reply
        0
        • R Robert Surtees

          How something as basic as counting lines would require registry tweaking is beyond me. No help other than suggesting grep ";" *.[ch] | wc. :-O

          D Offline
          D Offline
          Dario Solera
          wrote on last edited by
          #16

          Robert Surtees wrote:

          How something as basic as counting lines would require registry tweaking is beyond me.

          The VS add-in I used to use (linked in my original post) was built for VS05 and never updated for VS08. You could get it working in VS08 with some registry tweaking, but for some reason I'm no more able to make it work on my new PC.

          If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

          R 1 Reply Last reply
          0
          • D Dario Solera

            Robert Surtees wrote:

            How something as basic as counting lines would require registry tweaking is beyond me.

            The VS add-in I used to use (linked in my original post) was built for VS05 and never updated for VS08. You could get it working in VS08 with some registry tweaking, but for some reason I'm no more able to make it work on my new PC.

            If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

            R Offline
            R Offline
            Robert Surtees
            wrote on last edited by
            #17

            You'll have to forgive my ranting. I'm one of them luddites that still uses a simple text editor and the command line for development.

            D P 2 Replies Last reply
            0
            • R Robert Surtees

              You'll have to forgive my ranting. I'm one of them luddites that still uses a simple text editor and the command line for development.

              D Offline
              D Offline
              Dario Solera
              wrote on last edited by
              #18

              :omg: Really?

              If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

              R 1 Reply Last reply
              0
              • D Dario Solera

                :omg: Really?

                If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

                R Offline
                R Offline
                Robert Surtees
                wrote on last edited by
                #19

                Really. I kinda like it. Can't think of a single crash or problem my development environment has given me in the last 30 years. This year I'm upgrading to gcc from my Watcom compiler. Should be exciting.

                1 Reply Last reply
                0
                • D Dario Solera

                  Do you know of any add-in for Visual Studio 2008 (excluding this one[^]) that allows to count lines of code in your solution and projects? I used to use PLC (linked above) but I can't manage to install it for VS08 because it requires registry tweaking (I succeeded on another machine, but on my current PC). Any idea?

                  If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

                  D Offline
                  D Offline
                  dch3
                  wrote on last edited by
                  #20

                  Have you seen this one Line Counter - Writing a Visual Studio 2005 & 2008 Add-In[^]

                  1 Reply Last reply
                  0
                  • R Robert Surtees

                    You'll have to forgive my ranting. I'm one of them luddites that still uses a simple text editor and the command line for development.

                    P Offline
                    P Offline
                    PIEBALDconsult
                    wrote on last edited by
                    #21

                    Preach it, man! VS is for designing Forms; I don't do much of that.

                    1 Reply Last reply
                    0
                    • D Dario Solera

                      Do you know of any add-in for Visual Studio 2008 (excluding this one[^]) that allows to count lines of code in your solution and projects? I used to use PLC (linked above) but I can't manage to install it for VS08 because it requires registry tweaking (I succeeded on another machine, but on my current PC). Any idea?

                      If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

                      P Offline
                      P Offline
                      PIEBALDconsult
                      wrote on last edited by
                      #22

                      First, define a "line of code" . Counting statements might make sense, but then you still need to define a statement . You should be able to remove all the linfeeds from a C-family program without affecting it ( unfortunately, precompiler directives break that :mad: ) .

                      1 Reply Last reply
                      0
                      • D Dario Solera

                        Do you know of any add-in for Visual Studio 2008 (excluding this one[^]) that allows to count lines of code in your solution and projects? I used to use PLC (linked above) but I can't manage to install it for VS08 because it requires registry tweaking (I succeeded on another machine, but on my current PC). Any idea?

                        If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

                        W Offline
                        W Offline
                        wmallory
                        wrote on last edited by
                        #23

                        Visual SlickEdit Gadgets has a SLOC Report as one of the gadgets. I have it working in VS2008. See: http://www.slickedit.com/content/view/441/#SLOCReport[^]

                        D 1 Reply Last reply
                        0
                        • W wmallory

                          Visual SlickEdit Gadgets has a SLOC Report as one of the gadgets. I have it working in VS2008. See: http://www.slickedit.com/content/view/441/#SLOCReport[^]

                          D Offline
                          D Offline
                          Dario Solera
                          wrote on last edited by
                          #24

                          Thanks for the links, seems promising!

                          If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

                          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