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. Productivity Killer of the Day

Productivity Killer of the Day

Scheduled Pinned Locked Moved The Lounge
game-devtoolshelp
36 Posts 21 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.
  • C Offline
    C Offline
    Chris Maunder
    wrote on last edited by
    #1

    Looking for the line of code that has a tiny squiggle at the end because StyleCop analysers found a trailing whitespace and your code won't compile until you fix it. It's like a 12hr game of Where's Wally (or Where's Waldo for the North Americans)

    cheers Chris Maunder

    R D Richard DeemingR Sander RosselS J 15 Replies Last reply
    0
    • C Chris Maunder

      Looking for the line of code that has a tiny squiggle at the end because StyleCop analysers found a trailing whitespace and your code won't compile until you fix it. It's like a 12hr game of Where's Wally (or Where's Waldo for the North Americans)

      cheers Chris Maunder

      R Offline
      R Offline
      RickZeeland
      wrote on last edited by
      #2

      Luckily we have "There's Wally" as an alternative over here: Daar is Wally[^] ;)

      1 Reply Last reply
      0
      • C Chris Maunder

        Looking for the line of code that has a tiny squiggle at the end because StyleCop analysers found a trailing whitespace and your code won't compile until you fix it. It's like a 12hr game of Where's Wally (or Where's Waldo for the North Americans)

        cheers Chris Maunder

        D Offline
        D Offline
        dandy72
        wrote on last edited by
        #3

        Doesn't your editor have a button to bring you directly to the error(s) it's enumerating?

        C 1 Reply Last reply
        0
        • D dandy72

          Doesn't your editor have a button to bring you directly to the error(s) it's enumerating?

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #4

          If it does I can't find it. Plus I'm too lazy to look. So I'll just keep staring at that screen. Staring...

          cheers Chris Maunder

          W realJSOPR 2 Replies Last reply
          0
          • C Chris Maunder

            If it does I can't find it. Plus I'm too lazy to look. So I'll just keep staring at that screen. Staring...

            cheers Chris Maunder

            W Offline
            W Offline
            W Balboos GHB
            wrote on last edited by
            #5

            No problem! Simply write a parser to go over your code and trim trailing white spaces. What's wrong with an entire application to find a trailing space? Hmmmm?

            Ravings en masse^

            "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

            "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

            C 1 Reply Last reply
            0
            • W W Balboos GHB

              No problem! Simply write a parser to go over your code and trim trailing white spaces. What's wrong with an entire application to find a trailing space? Hmmmm?

              Ravings en masse^

              "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

              "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

              C Offline
              C Offline
              Chris Maunder
              wrote on last edited by
              #6

              Of course! Why didn't I think of that. It should probably be a VS extension, and should work with all current and future versions in all cultures. This could take weeks of procrastination productive time saving work.

              cheers Chris Maunder

              L 1 Reply Last reply
              0
              • C Chris Maunder

                Looking for the line of code that has a tiny squiggle at the end because StyleCop analysers found a trailing whitespace and your code won't compile until you fix it. It's like a 12hr game of Where's Wally (or Where's Waldo for the North Americans)

                cheers Chris Maunder

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

                If you're using Visual Studio, Mads Kristensen has you covered. :) Trailing Whitespace Visualizer - Visual Studio Marketplace[^]


                "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

                C 1 Reply Last reply
                0
                • C Chris Maunder

                  Looking for the line of code that has a tiny squiggle at the end because StyleCop analysers found a trailing whitespace and your code won't compile until you fix it. It's like a 12hr game of Where's Wally (or Where's Waldo for the North Americans)

                  cheers Chris Maunder

                  Sander RosselS Offline
                  Sander RosselS Offline
                  Sander Rossel
                  wrote on last edited by
                  #8

                  I recently took a morning debugging an application that for some reason didn't work. After hours I found a non printable character in an encrypted password in the web.config X| It's nothing short of a miracle that I found it at all :laugh:

                  Best, Sander Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                  W C 2 Replies Last reply
                  0
                  • C Chris Maunder

                    If it does I can't find it. Plus I'm too lazy to look. So I'll just keep staring at that screen. Staring...

                    cheers Chris Maunder

                    realJSOPR Offline
                    realJSOPR Offline
                    realJSOP
                    wrote on last edited by
                    #9

                    Solution - toss Style Cop where it belongs.

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                    R 1 Reply Last reply
                    0
                    • C Chris Maunder

                      Looking for the line of code that has a tiny squiggle at the end because StyleCop analysers found a trailing whitespace and your code won't compile until you fix it. It's like a 12hr game of Where's Wally (or Where's Waldo for the North Americans)

                      cheers Chris Maunder

                      J Offline
                      J Offline
                      jackbrownii
                      wrote on last edited by
                      #10

                      Productivity killer of the day: The Lounge?

                      1 Reply Last reply
                      0
                      • C Chris Maunder

                        Looking for the line of code that has a tiny squiggle at the end because StyleCop analysers found a trailing whitespace and your code won't compile until you fix it. It's like a 12hr game of Where's Wally (or Where's Waldo for the North Americans)

                        cheers Chris Maunder

                        D Offline
                        D Offline
                        David ONeil
                        wrote on last edited by
                        #11

                        Notepad++ - search for " \n" in extended character search mode. Or, if you want it a little more challenging, you can do the same thing in Microsoft Word, but that probably isn't the correct instruction for that program (and I'm not going to figure it out)! :laugh:

                        The forgotten roots of science | C++ Programming | DWinLib

                        1 Reply Last reply
                        0
                        • Sander RosselS Sander Rossel

                          I recently took a morning debugging an application that for some reason didn't work. After hours I found a non printable character in an encrypted password in the web.config X| It's nothing short of a miracle that I found it at all :laugh:

                          Best, Sander Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                          W Offline
                          W Offline
                          W Balboos GHB
                          wrote on last edited by
                          #12

                          Sander Rossel wrote:

                          After hours I found a non printable character

                          Non-printable occasionally end up in my php files from (I don't know where) - and when I try to start a session it gets rather cross with me. Three unprintable characters to start the file. Once I discovered the problem I only have the annoyance of opening it in HexEdit, replacing the characters with printable ones, saving, and then deleting them on the other side. Still, at least I know the cure, if not the cause.

                          Ravings en masse^

                          "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                          "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                          Richard DeemingR 1 Reply Last reply
                          0
                          • Sander RosselS Sander Rossel

                            I recently took a morning debugging an application that for some reason didn't work. After hours I found a non printable character in an encrypted password in the web.config X| It's nothing short of a miracle that I found it at all :laugh:

                            Best, Sander Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                            C Offline
                            C Offline
                            Chris Maunder
                            wrote on last edited by
                            #13

                            For some reason solving those types of issues give me the greatest satisfaction. I dunno why.

                            cheers Chris Maunder

                            L 1 Reply Last reply
                            0
                            • Richard DeemingR Richard Deeming

                              If you're using Visual Studio, Mads Kristensen has you covered. :) Trailing Whitespace Visualizer - Visual Studio Marketplace[^]


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

                              C Offline
                              C Offline
                              Chris Maunder
                              wrote on last edited by
                              #14

                              Nice!

                              cheers Chris Maunder

                              1 Reply Last reply
                              0
                              • W W Balboos GHB

                                Sander Rossel wrote:

                                After hours I found a non printable character

                                Non-printable occasionally end up in my php files from (I don't know where) - and when I try to start a session it gets rather cross with me. Three unprintable characters to start the file. Once I discovered the problem I only have the annoyance of opening it in HexEdit, replacing the characters with printable ones, saving, and then deleting them on the other side. Still, at least I know the cure, if not the cause.

                                Ravings en masse^

                                "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                                "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

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

                                W∴ Balboos wrote:

                                Three unprintable characters to start the file.

                                Let me guess - are they: 0xEF, 0xBB, and 0xBF? If so, that would be the UTF8 Byte Order Mark: Byte order mark - Wikipedia[^]


                                "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

                                W 1 Reply Last reply
                                0
                                • C Chris Maunder

                                  Looking for the line of code that has a tiny squiggle at the end because StyleCop analysers found a trailing whitespace and your code won't compile until you fix it. It's like a 12hr game of Where's Wally (or Where's Waldo for the North Americans)

                                  cheers Chris Maunder

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

                                  My editor trims trailing whitespace. Trailing whitespace is about the only kind I don't like. :D

                                  1 Reply Last reply
                                  0
                                  • C Chris Maunder

                                    Looking for the line of code that has a tiny squiggle at the end because StyleCop analysers found a trailing whitespace and your code won't compile until you fix it. It's like a 12hr game of Where's Wally (or Where's Waldo for the North Americans)

                                    cheers Chris Maunder

                                    R Offline
                                    R Offline
                                    Rick York
                                    wrote on last edited by
                                    #17

                                    Visual Studio's editor used to have a rather convenient way of finding trailing whitespace using regular expressions. The newer releases have made it far less convenient.

                                    1 Reply Last reply
                                    0
                                    • C Chris Maunder

                                      For some reason solving those types of issues give me the greatest satisfaction. I dunno why.

                                      cheers Chris Maunder

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

                                      Chris Maunder wrote:

                                      For some reason solving those types of issues give me the greatest satisfaction. I dunno why.

                                      Cause they come with a free soy, decaf, almond milk latte?

                                      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

                                      C R D 3 Replies Last reply
                                      0
                                      • L Lost User

                                        Chris Maunder wrote:

                                        For some reason solving those types of issues give me the greatest satisfaction. I dunno why.

                                        Cause they come with a free soy, decaf, almond milk latte?

                                        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

                                        C Offline
                                        C Offline
                                        Chris Maunder
                                        wrote on last edited by
                                        #19

                                        One can dream...

                                        cheers Chris Maunder

                                        J 1 Reply Last reply
                                        0
                                        • C Chris Maunder

                                          Looking for the line of code that has a tiny squiggle at the end because StyleCop analysers found a trailing whitespace and your code won't compile until you fix it. It's like a 12hr game of Where's Wally (or Where's Waldo for the North Americans)

                                          cheers Chris Maunder

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

                                          Ctrl-H, "; "

                                          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                                          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