• Login
Community
  • Login

2 improvements!

Scheduled Pinned Locked Moved General Discussion
opend file name
21 Posts 4 Posters 1.3k Views
Loading More Posts
  • 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.
  • W
    W TX @Alan Kilborn
    last edited by May 8, 2021, 12:44 AM

    @Alan-Kilborn Thank you for your response! Great!
    Your response resolved my problem 2c). Your response also gave me a chance to more clearly express my problem 2.

    If I select in preference --> General --> Tab Bar --> Hide, no Tab bar is shown. Excellent! That is what I really want during my coding as shown below

    Screenshot (402).png

    Now it generates a problem: How to fast switch from the current file to the next opened file when Tab Bar is selected at “Hide mode”?

    I suggest a new method.
    That provides a fast icon (icon name assuming “List all opened file names”) in the above selection so one can click the icon “List all opened file names” and all opened file names are listed in a new window; after a selection is made in the new window the newly selected file becomes the current main file.

    1 Reply Last reply Reply Quote 0
    • A
      Alan Kilborn @W TX
      last edited by Alan Kilborn May 8, 2021, 2:50 AM May 8, 2021, 2:49 AM

      @W-TX said in 2 improvements!:

      I talked about the situation after “Find Next” key in Find Window is pressed!

      It’s true, you did – but I was trying to say that you see the effect you complained about, even before running a search.
      But even after Find Next, the effect is the same:

      • the find will select (grey background) the exact match (for example, whole-word, matched-case)
      • the Smart Highlighting effect will highlight (light green background) according to the settings I showed (which may or may not be the same as the Find settings)
        So, you can definitely have a mix of the grey and light-green coloring.
        If you don’t like the light-green, you can turn off Smart Highlighting by unticking its Enable.
        Maybe best to do for your case would be to tell Smart Hightlighting to Use Find dialog settings so that you won’t have a difference.

      I suggest a new method.
      That provides a fast icon (icon name assuming “List all opened file names”) in the above selection so one can click the icon “List all opened file names” and all opened file names are listed in a new window; after a selection is made in the new window the newly selected file becomes the current main file.

      There is at least one plugin that makes this easy.
      Look for the plugin called Navigate To

      A 1 Reply Last reply May 8, 2021, 4:26 PM Reply Quote 1
      • A
        Alan Kilborn @Alan Kilborn
        last edited by May 8, 2021, 4:26 PM

        @Alan-Kilborn said in 2 improvements!:

        Look for the plugin called Navigate To

        But…if you want to stay “native” to Notepad++, I think maybe also the Ctrl+Tab “doc switcher” meets your need?

        When you press Ctrl+Tab you get a popup list of all tabs in the middle of your window, and choosing a different tab is just a matter of continuing to press Ctrl+Tab until the one you want gets hightlighted, and then you release the keys.

        It looks like this:

        38360c9f-8f9f-407a-8e9a-ad683437e7d1-image.png

        W 1 Reply Last reply May 8, 2021, 10:31 PM Reply Quote 1
        • W
          W TX @Alan Kilborn
          last edited by May 8, 2021, 10:31 PM

          @Alan-Kilborn Your “Ctrl+Tab” method works differently from mine; pressing “Ctrl+Tab” in my case it switches to the first file, and then back and forth, no list tables you show appears. My version is:
          Notepad++ v7.9.5 (32-bit)
          Build time : Mar 21 2021 - 02:09:07
          Path : C:\Program Files (x86)\Notepad++\notepad++.exe
          Admin mode : OFF
          Local Conf mode : OFF
          OS Name : Windows 10 Home (64-bit)
          OS Version : 2004
          OS Build : 19041.928
          Current ANSI codepage : 1252
          Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll NppExport.dll

          I want to add plugin Navigate as you suggest, but I don’t know how to download it. Please help.

          Smart highlighting function works excellent, and I find that check Setting --> Preference --> Highlighting --> Use Find Find Dialog Seeting resolves my problem!

          Screenshot (404).png

          So now I have 1 problem to be resolved: Download Navigate plugin.

          Thank.

          A 1 Reply Last reply May 8, 2021, 10:35 PM Reply Quote 0
          • A
            Alan Kilborn @W TX
            last edited by May 8, 2021, 10:35 PM

            @W-TX said in 2 improvements!:

            Your “Ctrl+Tab” method works differently from mine; pressing “Ctrl+Tab” in my case it switches to the first file, and then back and forth, no list tables you show appears.

            You might want to check this setting, although I believe it should be enabled by default:

            230f059a-8696-496b-a5bd-f40c1e806374-image.png

            W 1 Reply Last reply May 8, 2021, 10:39 PM Reply Quote 0
            • W
              W TX @Alan Kilborn
              last edited by May 8, 2021, 10:39 PM

              @Alan-Kilborn It is the default setting and I do not change it.

              Screenshot (405).png

              1 Reply Last reply Reply Quote 0
              • A
                Alan Kilborn
                last edited by Alan Kilborn May 8, 2021, 10:46 PM May 8, 2021, 10:46 PM

                So I discovered something odd.

                “Ctrl+Tab” seems to also be defined in the Shortcut Mapper:

                83458f4e-7fdd-4fcd-91e5-c29eb004462e-image.png

                Your “Ctrl+Tab” seems to be working like the one from Shortcut Mapper, and not like mine.

                Sorry, I don’t know why this is. :-(

                Maybe if you unmap it in Shortcut Mapper it would then work like mine to give you the yellowish popup list of tabs?

                P W 2 Replies Last reply May 8, 2021, 11:07 PM Reply Quote 0
                • P
                  PeterJones @Alan Kilborn
                  last edited by May 8, 2021, 11:07 PM

                  @Alan-Kilborn said in 2 improvements!:

                  So I discovered something odd.

                  “Ctrl+Tab” seems to also be defined in the Shortcut Mapper:
                  Your “Ctrl+Tab” seems to be working like the one from Shortcut Mapper, and not like mine.
                  Maybe if you unmap it in Shortcut Mapper it would then work like mine to give you the yellowish popup list of tabs?

                  I don’t think so… at least, not for me. Mine works like yours. If I unmap it in Shortcut Mapper, then Ctrl+TAB does not pull up the document switcher.

                  If I switch the shortcut to something like Ctrl+F12, then Ctrl+F12 pulls up the document switcher, but I have to hold down Ctrl and switch to Ctrl+TAB to cycle through (or Ctrl+arrows to control the up/down direction)

                  @W-TX,

                  In case you weren’t aware, you have to continue to hold Ctrl down after initiating the Ctrl+TAB, otherwise it will “drop” the document-switcher popup. Maybe you’re just letting go of the Ctrl too quickly on your machine. (I see it pop up, even if I’m going fast. But maybe you are faster or your display is slower.) maybe you could show us the equivalent screenshot to what @Alan-Kilborn shared – but after clicking on the Switch to next document entry, and including the whole dialog, so we can see if conflicts are shown…
                  43a0d7ac-010f-4126-bb70-b46017b5fb63-image.png
                  vs
                  ce13b911-fab1-47c4-a191-a937ae3c2244-image.png

                  W 1 Reply Last reply May 9, 2021, 8:44 AM Reply Quote 0
                  • W
                    W TX @Alan Kilborn
                    last edited by May 9, 2021, 8:18 AM

                    @Alan-Kilborn Thank you!

                    The problem seems to be fully resolved by using the following method which I accidentally come across.

                    Screenshot (407).png

                    I check the “Show Document List” box, a full document list is shown on the left side of the main edit window, and the full document window can be expanded or contracted as one wants. So I now can fully hide the document window; if I want to use it, I can expand it, select the next document, and hide it again.

                    The only improvement I hope for the document window is that one can divide the file list into groups by dragging files up or down and insert blank lines among groups.

                    1 Reply Last reply Reply Quote 0
                    • W
                      W TX @PeterJones
                      last edited by May 9, 2021, 8:44 AM

                      @PeterJones Thank you.

                      I now know why my “Next Document” function works differently from yours.

                      I have enabled “Sticky Key” in my Windows 10 OS. So if I want to enter “Ctrl+Tab”, I have to press the “Ctrl” key and the “Tab” key sequentially. And if I hold the “Ctrl” key and continuously press the “Tab” key I get the same effects like yours.

                      I feel that Notepad++ is the best code editor!

                      I like it very much!

                      1 Reply Last reply Reply Quote 1
                      • W
                        W TX
                        last edited by May 9, 2021, 9:36 AM

                        Now I know how to open the “Doc Switch” panel.

                        On the upright corner of the panel, there is an ‘X’ button to close the panel. I tried to click the ‘X’ button and purposely closed the panel. I viewed the “View” item to try to reopen it but failed. I checked “Shortcut Map”, and cannot find any command to open the “Doc Switch” panel.

                        If I can find a command to reopen the “Doc Switch” panel, I don’t have to drag it to open or hide it. After switching files, I can just close it and later reopen it. by a shortcut. If the command does not have a shortcut, I can redefine one.

                        Help!

                        P 1 Reply Last reply May 9, 2021, 6:37 PM Reply Quote 0
                        • P
                          PeterJones @W TX
                          last edited by PeterJones May 9, 2021, 6:38 PM May 9, 2021, 6:37 PM

                          @W-TX said in 2 improvements!:

                          I viewed the “View” item to try to reopen it but failed. I checked “Shortcut Map”, and cannot find any command to open the “Doc Switch” panel.

                          Items that are controlled by a setting in the Preferences dialog don’t usually also have an entry in View menu or Shortcut Mapper. Sorry. You are expected to control that panel in the Preferences dialog.

                          1 Reply Last reply Reply Quote 0
                          • G
                            guy038
                            last edited by May 10, 2021, 5:21 PM

                            Hello, @w-tx, @alan-kilborn, @peterjones and All,

                            @w-tx, you said, in a previous post :

                            Now it generates a problem: How to fast switch from the current file to the next opened file when Tab Bar is selected at “Hide mode”?

                            Very easy :

                            When the Tab bar is hidden ( option Settings > PReferences... > General > Tab bar > Hide ) instead of using the Ctrl + Tab / Ctrl + Shift + Tab method, just activate :

                            • The Ctrl + Page Up shortcut to switch to the previous tab

                            • The Ctrl + Page Down shortcut to switch to the next tab

                            Best Regards,

                            guy038

                            A 1 Reply Last reply May 10, 2021, 5:37 PM Reply Quote 1
                            • A
                              Alan Kilborn @guy038
                              last edited by May 10, 2021, 5:37 PM

                              @guy038 said in 2 improvements!:

                              How to fast switch from the current file to the next opened file…

                              Another quick way to do this:

                              A lot of mice have “forward” and “back” buttons.
                              When these buttons are actuated when Notepad++ has focus (any part of Notepad++, not just the editing area), it will perform the switch to the next/previous tab.

                              1 Reply Last reply Reply Quote 1
                              • W
                                W TX
                                last edited by May 10, 2021, 9:31 PM

                                I purposely create a new topic about the topic we have discussed here. After discussing I clearly know what I want and how to enhance the Doc Switch panel functions.

                                A 1 Reply Last reply May 11, 2021, 12:38 AM Reply Quote 0
                                • A
                                  Alan Kilborn @W TX
                                  last edited by May 11, 2021, 12:38 AM

                                  @W-TX said in 2 improvements!:

                                  I purposely create a new topic about the topic we have discussed here.

                                  I suppose you mean THIS.

                                  I clearly know what I want and how to enhance the Doc Switch panel functions

                                  Good luck with that.

                                  1 Reply Last reply Reply Quote 0
                                  15 out of 21
                                  • First post
                                    15/21
                                    Last post
                                  The Community of users of the Notepad++ text editor.
                                  Powered by NodeBB | Contributors