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. Visual Studio Lag When Typing

Visual Studio Lag When Typing

Scheduled Pinned Locked Moved The Lounge
visual-studiocsharphelpquestion
10 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.
  • K Offline
    K Offline
    Kevin Marois
    wrote on last edited by
    #1

    I'm using VS2022. This also happens in 2019. While typing there are frequent lags from the time a key is pressed to when you see the results. This only seems to happen in VS. Other Windows apps are not doing this. It could be an extension. Is there a way to confirm that? Anyone else seeing this?

    If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

    P S Kornfeld Eliyahu PeterK G B 5 Replies Last reply
    0
    • K Kevin Marois

      I'm using VS2022. This also happens in 2019. While typing there are frequent lags from the time a key is pressed to when you see the results. This only seems to happen in VS. Other Windows apps are not doing this. It could be an extension. Is there a way to confirm that? Anyone else seeing this?

      If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

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

      In my opinion... it's doing too danged much in the background. Checking syntax and rubbish like that, which I didn't ask it to do. I prefer VS 2010 -- the last usable version -- when I use VS at all.

      L 1 Reply Last reply
      0
      • K Kevin Marois

        I'm using VS2022. This also happens in 2019. While typing there are frequent lags from the time a key is pressed to when you see the results. This only seems to happen in VS. Other Windows apps are not doing this. It could be an extension. Is there a way to confirm that? Anyone else seeing this?

        If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

        S Offline
        S Offline
        Super Lloyd
        wrote on last edited by
        #3

        Do you have Resharper? Or some other 3rd party extensions? Try disable them all!

        A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

        R 1 Reply Last reply
        0
        • K Kevin Marois

          I'm using VS2022. This also happens in 2019. While typing there are frequent lags from the time a key is pressed to when you see the results. This only seems to happen in VS. Other Windows apps are not doing this. It could be an extension. Is there a way to confirm that? Anyone else seeing this?

          If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu Peter
          wrote on last edited by
          #4

          I experience a lag when opening new type of files, and that is obviously because the 'background' loading of all the needed libraries for the new type... No such lag while typing I can see...

          "Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid." ― Albert Einstein

          "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

          1 Reply Last reply
          0
          • K Kevin Marois

            I'm using VS2022. This also happens in 2019. While typing there are frequent lags from the time a key is pressed to when you see the results. This only seems to happen in VS. Other Windows apps are not doing this. It could be an extension. Is there a way to confirm that? Anyone else seeing this?

            If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

            G Offline
            G Offline
            Gjeltema
            wrote on last edited by
            #5

            Despite what some luddites may say about newer versions, VS2022 has been very responsive for me since I first installed it last November - I've liked this version a lot. MS has been doing some really good things with VS lately. A couple of versions ago (VS2017 I think) I noticed VS getting very laggy for me all the time. At the time I used Resharper. I disabled that and everything was nice and responsive again. So I wrote a small extension that did a couple of things I mostly was using Resharper for, and uninstalled Resharper and haven't looked back. My colleagues have done the same - enough of the really useful Resharper functionality has been added to vanilla VS to make living without Resharper doable. My first suggestion is that if you have Resharper, disable that and see if your issues go away. Resharper has gotten quite bloated over the years. If there's some Resharper functionalities that you really need, but only from time to time, one of my colleagues uses my extension and then just keeps Resharper disabled, enabling it only when he needs to use those functionalities, then disables it again. If you're not using Resharper, then try disabling all extensions, see if the issue goes away, then if so, re-enable extensions one at a time until you get the lag. If it's not extensions, one of my colleagues had issues with VS lag due to the company-installed anti-virus doing constant checks against some VS-used files that get changed frequently by it, which would lock the files when doing the checks, causing the lag. Might be worth checking that out and getting some folders excluded from the antivirus check if so.

            N 1 Reply Last reply
            0
            • G Gjeltema

              Despite what some luddites may say about newer versions, VS2022 has been very responsive for me since I first installed it last November - I've liked this version a lot. MS has been doing some really good things with VS lately. A couple of versions ago (VS2017 I think) I noticed VS getting very laggy for me all the time. At the time I used Resharper. I disabled that and everything was nice and responsive again. So I wrote a small extension that did a couple of things I mostly was using Resharper for, and uninstalled Resharper and haven't looked back. My colleagues have done the same - enough of the really useful Resharper functionality has been added to vanilla VS to make living without Resharper doable. My first suggestion is that if you have Resharper, disable that and see if your issues go away. Resharper has gotten quite bloated over the years. If there's some Resharper functionalities that you really need, but only from time to time, one of my colleagues uses my extension and then just keeps Resharper disabled, enabling it only when he needs to use those functionalities, then disables it again. If you're not using Resharper, then try disabling all extensions, see if the issue goes away, then if so, re-enable extensions one at a time until you get the lag. If it's not extensions, one of my colleagues had issues with VS lag due to the company-installed anti-virus doing constant checks against some VS-used files that get changed frequently by it, which would lock the files when doing the checks, causing the lag. Might be worth checking that out and getting some folders excluded from the antivirus check if so.

              N Offline
              N Offline
              Nelek
              wrote on last edited by
              #6

              Gjeltema wrote:

              If it's not extensions, one of my colleagues had issues with VS lag due to the company-installed anti-virus doing constant checks against some VS-used files that get changed frequently by it, which would lock the files when doing the checks, causing the lag. Might be worth checking that out and getting some folders excluded from the antivirus check if so.

              That's hitting me hard, and not only with VS

              M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

              1 Reply Last reply
              0
              • K Kevin Marois

                I'm using VS2022. This also happens in 2019. While typing there are frequent lags from the time a key is pressed to when you see the results. This only seems to happen in VS. Other Windows apps are not doing this. It could be an extension. Is there a way to confirm that? Anyone else seeing this?

                If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

                B Offline
                B Offline
                BernardIE5317
                wrote on last edited by
                #7

                It happens to me w/ some regularity. I always utilize the latest Preview version. I have few extensions installed. The swirling blue circle I quite dislike. Why everything does not happen instantly I do not understand. Maybe it is my pig of a machine.

                O 1 Reply Last reply
                0
                • B BernardIE5317

                  It happens to me w/ some regularity. I always utilize the latest Preview version. I have few extensions installed. The swirling blue circle I quite dislike. Why everything does not happen instantly I do not understand. Maybe it is my pig of a machine.

                  O Offline
                  O Offline
                  obermd
                  wrote on last edited by
                  #8

                  Preview versions tend to have a lot of debugging and telemetry enabled, which can cause them to be inconsistent in their responsiveness to keyboard and mouse inputs.

                  1 Reply Last reply
                  0
                  • S Super Lloyd

                    Do you have Resharper? Or some other 3rd party extensions? Try disable them all!

                    A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                    R Offline
                    R Offline
                    raddevus
                    wrote on last edited by
                    #9

                    Super Lloyd wrote:

                    Do you have Resharper?

                    Everyone uses Resharper at work. Install it & your life will change, they said. It certainly did. I had to wait 3 seconds after each keystroke for the hints & helps to popup. Uninstalled! :rolleyes:

                    1 Reply Last reply
                    0
                    • P PIEBALDconsult

                      In my opinion... it's doing too danged much in the background. Checking syntax and rubbish like that, which I didn't ask it to do. I prefer VS 2010 -- the last usable version -- when I use VS at all.

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

                      I imagine you using Notepad++, not an IDE.

                      Bastard Programmer from Hell :suss: "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