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. VS2022 Code Collapse/Expand Problem Figured Out

VS2022 Code Collapse/Expand Problem Figured Out

Scheduled Pinned Locked Moved The Lounge
helpvisual-studioquestion
13 Posts 10 Posters 1 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 posted on this problem a few weeks ago, now it's back = but I figured it out! For some strange reason, code collapse/expand just stopped working. I use this all the time. I use regions and always put them in same order in each file. That way, when I open a code file, all the regions are there and collapsed. That makes it really easy to find what I'm looking for. Anyhow, for some reason CTRL+M,M just no longer worked. If I Right-Clicked the code, went down to Outlining, and selected 'Toggle Outline Expansion', it works. This shortcut menu option is marked with CTRL+M. It just doesn't work via the keyboard. Well, I figured it out. While working I have Skype open and I'm on a call. During the call the Mute was activated. The other person on the call was like 'Are you there???'. I go look, and Skype is muted. When I hover over the mute button it's hot key it CTRL+M. While in VS and coding, and when I press CTRL+M,M - Skype intercepts that keypress and mutes the call - even though Skype isn't active. :mad::mad::mad:

    In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

    Richard Andrew x64R S P T 4 Replies Last reply
    0
    • K Kevin Marois

      I posted on this problem a few weeks ago, now it's back = but I figured it out! For some strange reason, code collapse/expand just stopped working. I use this all the time. I use regions and always put them in same order in each file. That way, when I open a code file, all the regions are there and collapsed. That makes it really easy to find what I'm looking for. Anyhow, for some reason CTRL+M,M just no longer worked. If I Right-Clicked the code, went down to Outlining, and selected 'Toggle Outline Expansion', it works. This shortcut menu option is marked with CTRL+M. It just doesn't work via the keyboard. Well, I figured it out. While working I have Skype open and I'm on a call. During the call the Mute was activated. The other person on the call was like 'Are you there???'. I go look, and Skype is muted. When I hover over the mute button it's hot key it CTRL+M. While in VS and coding, and when I press CTRL+M,M - Skype intercepts that keypress and mutes the call - even though Skype isn't active. :mad::mad::mad:

      In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

      Richard Andrew x64R Offline
      Richard Andrew x64R Offline
      Richard Andrew x64
      wrote on last edited by
      #2

      You get a ten for having the presence of mind to notice the hot-key when mousing over the mute button! Sounds to me as if Microsoft cares more about Skype users than Developers! Developers! Developers!

      The difficult we do right away... ...the impossible takes slightly longer.

      K Mike HankeyM 2 Replies Last reply
      0
      • Richard Andrew x64R Richard Andrew x64

        You get a ten for having the presence of mind to notice the hot-key when mousing over the mute button! Sounds to me as if Microsoft cares more about Skype users than Developers! Developers! Developers!

        The difficult we do right away... ...the impossible takes slightly longer.

        K Offline
        K Offline
        Kevin Marois
        wrote on last edited by
        #3

        It sounds like crappy programming to me. An app's hot keys should be in force whenever the app has the focus. The idea that Skype intercepts key strokes when its not active is stupid.

        In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

        O 1 Reply Last reply
        0
        • Richard Andrew x64R Richard Andrew x64

          You get a ten for having the presence of mind to notice the hot-key when mousing over the mute button! Sounds to me as if Microsoft cares more about Skype users than Developers! Developers! Developers!

          The difficult we do right away... ...the impossible takes slightly longer.

          Mike HankeyM Offline
          Mike HankeyM Offline
          Mike Hankey
          wrote on last edited by
          #4

          Without developers there would be no Skype!

          As the aircraft designer said, "Simplicate and add lightness". PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com Latest Article: SimpleWizardUpdate

          Richard Andrew x64R K 2 Replies Last reply
          0
          • Mike HankeyM Mike Hankey

            Without developers there would be no Skype!

            As the aircraft designer said, "Simplicate and add lightness". PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com Latest Article: SimpleWizardUpdate

            Richard Andrew x64R Offline
            Richard Andrew x64R Offline
            Richard Andrew x64
            wrote on last edited by
            #5

            Of course, you're correct. But are the Microsoft employed developers included in Developers Developers Developers?

            The difficult we do right away... ...the impossible takes slightly longer.

            1 Reply Last reply
            0
            • Mike HankeyM Mike Hankey

              Without developers there would be no Skype!

              As the aircraft designer said, "Simplicate and add lightness". PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com Latest Article: SimpleWizardUpdate

              K Offline
              K Offline
              Kevin Marois
              wrote on last edited by
              #6

              Of course. But it begs the question why the team at MS that works on Skype, using Visual Studio, would not be aware of this??

              In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

              D 1 Reply Last reply
              0
              • K Kevin Marois

                I posted on this problem a few weeks ago, now it's back = but I figured it out! For some strange reason, code collapse/expand just stopped working. I use this all the time. I use regions and always put them in same order in each file. That way, when I open a code file, all the regions are there and collapsed. That makes it really easy to find what I'm looking for. Anyhow, for some reason CTRL+M,M just no longer worked. If I Right-Clicked the code, went down to Outlining, and selected 'Toggle Outline Expansion', it works. This shortcut menu option is marked with CTRL+M. It just doesn't work via the keyboard. Well, I figured it out. While working I have Skype open and I'm on a call. During the call the Mute was activated. The other person on the call was like 'Are you there???'. I go look, and Skype is muted. When I hover over the mute button it's hot key it CTRL+M. While in VS and coding, and when I press CTRL+M,M - Skype intercepts that keypress and mutes the call - even though Skype isn't active. :mad::mad::mad:

                In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

                S Offline
                S Offline
                StarNamer work
                wrote on last edited by
                #7

                I think it makes sense. If you're on a call, but mostly listening and doing something else, you may want to quickly unmute a call to make a comment then mute again, without the added hassle of first having to give Skype focus; hence it needs to be Global hotkey. Whatever hotkey was chosen as Mute might conflict with something else, so it might as well be easy to remember and then those who want to use that hotkey for something else can change the default to one which doesn't conflict.

                1 Reply Last reply
                0
                • K Kevin Marois

                  Of course. But it begs the question why the team at MS that works on Skype, using Visual Studio, would not be aware of this??

                  In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

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

                  Either they don't use Skype, or they don't use VS. :~ (AKA not eating your own dogfood)

                  Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

                  R 1 Reply Last reply
                  0
                  • K Kevin Marois

                    It sounds like crappy programming to me. An app's hot keys should be in force whenever the app has the focus. The idea that Skype intercepts key strokes when its not active is stupid.

                    In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

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

                    Sounds like a bug to me.

                    G 1 Reply Last reply
                    0
                    • O obermd

                      Sounds like a bug to me.

                      G Offline
                      G Offline
                      Gary R Wheeler
                      wrote on last edited by
                      #10

                      Not necessarily. If you are sharing your screen via Skype, it may be filtering keystrokes globally to help manage the sharing. This might just be an unfortunate circumstance that could be solved by setting a different hot key in Visual Studio.

                      Software Zen: delete this;

                      1 Reply Last reply
                      0
                      • K Kevin Marois

                        I posted on this problem a few weeks ago, now it's back = but I figured it out! For some strange reason, code collapse/expand just stopped working. I use this all the time. I use regions and always put them in same order in each file. That way, when I open a code file, all the regions are there and collapsed. That makes it really easy to find what I'm looking for. Anyhow, for some reason CTRL+M,M just no longer worked. If I Right-Clicked the code, went down to Outlining, and selected 'Toggle Outline Expansion', it works. This shortcut menu option is marked with CTRL+M. It just doesn't work via the keyboard. Well, I figured it out. While working I have Skype open and I'm on a call. During the call the Mute was activated. The other person on the call was like 'Are you there???'. I go look, and Skype is muted. When I hover over the mute button it's hot key it CTRL+M. While in VS and coding, and when I press CTRL+M,M - Skype intercepts that keypress and mutes the call - even though Skype isn't active. :mad::mad::mad:

                        In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

                        P Offline
                        P Offline
                        Peter Adam
                        wrote on last edited by
                        #11

                        Nice catch, AMD's tray app is always another candidate, it keep itself reset to use global hotkeys. It was "cool" when Vista relegated Ctrl+Shift+0 to the IME, saying hello to all Delphi 7 developers (setting the 0th bookmark).

                        1 Reply Last reply
                        0
                        • D Daniel Pfeffer

                          Either they don't use Skype, or they don't use VS. :~ (AKA not eating your own dogfood)

                          Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

                          R Offline
                          R Offline
                          Rich Shealer
                          wrote on last edited by
                          #12

                          Originally Skype was written in Delphi. I assume it was converted, but maybe not?

                          1 Reply Last reply
                          0
                          • K Kevin Marois

                            I posted on this problem a few weeks ago, now it's back = but I figured it out! For some strange reason, code collapse/expand just stopped working. I use this all the time. I use regions and always put them in same order in each file. That way, when I open a code file, all the regions are there and collapsed. That makes it really easy to find what I'm looking for. Anyhow, for some reason CTRL+M,M just no longer worked. If I Right-Clicked the code, went down to Outlining, and selected 'Toggle Outline Expansion', it works. This shortcut menu option is marked with CTRL+M. It just doesn't work via the keyboard. Well, I figured it out. While working I have Skype open and I'm on a call. During the call the Mute was activated. The other person on the call was like 'Are you there???'. I go look, and Skype is muted. When I hover over the mute button it's hot key it CTRL+M. While in VS and coding, and when I press CTRL+M,M - Skype intercepts that keypress and mutes the call - even though Skype isn't active. :mad::mad::mad:

                            In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

                            T Offline
                            T Offline
                            Thornik
                            wrote on last edited by
                            #13

                            MS architects were too narrow mind when they allow so much in Win. 1. Any app can intercept keyb focus. WHY?? I'm busy w Word, I don't give a hell IE cannot connect internet! But no, idiotic message will appear above the word and annoy me. 2. Any app can intercept DLL calls. THANK YOU for this Mars-size hole, MS smarties!! 3. Global keyb shortcuts. Again, nobody use 'em! Who the hell will remember all those Ctrl+Alt+FCKMETWICE, especially when they can be THE SAME in different app?? MS are such a clowns!

                            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