• Login
Community
  • Login

"Intellisense" suggesting wrong words

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
11 Posts 4 Posters 551 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.
  • P
    Petr Demuth
    last edited by Mar 20, 2023, 10:49 AM

    Hi team,
    not quite sure if there is a bug or if the logic has changed recently.
    The “intellisense” is not taking the first letters accordingly.
    For example:
    Write in the beginning of the file:

    Backround
    BA
    Balance
    BI
    Business
    

    Then when you start typing “BA” on the new line you’re going to get recommended the “Background”
    I would have expected BA and only if I type further add the other words accordingly.
    Is there a way to change it or is this a bug?
    I’m pretty possitive it didn’t happen before
    NP++ 8.4.8

    A M 2 Replies Last reply Mar 20, 2023, 11:29 AM Reply Quote 0
    • A
      Alan Kilborn @Petr Demuth
      last edited by Mar 20, 2023, 11:29 AM

      @Petr-Demuth

      The feature you are talking about is called Auto-completion.

      FWIW, here’s what I get with 8.5 and default settings:

      4ae2e1fb-bd60-43c4-b9a8-291299be7aec-image.png

      ( I’m not sure the point of the list including BA, as I’ve already got that right at the caret. )

      This is an important setting for the discussion:

      d3d995ef-d3d1-4221-aaad-234ac95bf9f7-image.png

      What this means is that auto-completion will not trigger until you have the indicated number of characters in your word. As the default is 1, the choice list pops up as soon as you type the B (in your BA). If you want something different, change it.

      Overall, I’m not really sure I’m getting to the root of your problem/question, so sorry if I seem off base or I’m not really answering what you’re asking.

      P 1 Reply Last reply Mar 22, 2023, 8:11 AM Reply Quote 2
      • P
        Petr Demuth @Alan Kilborn
        last edited by Mar 22, 2023, 8:11 AM

        @Alan-Kilborn
        Thank you for your reply. I have the default configuration.
        My problem is though that when ty BA np++ highlights Background first.

        2f85303b-afec-4e98-8eec-0e4e627f2f15-image.png

        A 1 Reply Last reply Mar 22, 2023, 11:10 AM Reply Quote 0
        • A
          Alan Kilborn @Petr Demuth
          last edited by Mar 22, 2023, 11:10 AM

          @Petr-Demuth said in “Intellisense” suggesting wrong words:

          My problem is though that when I try BA np++ highlights Background first.

          Interesting; I have no explanation why we get different results. I’m trying it on a fresh 8.5. Maybe someone else seeing this will have ideas on that and will comment.

          Actually, I don’t see any highlighting of a selection in yours; could be a dark-mode or dark-theme issue (of low contrast)…?

          E 1 Reply Last reply Mar 22, 2023, 12:14 PM Reply Quote 0
          • E
            Ekopalypse @Alan Kilborn
            last edited by Mar 22, 2023, 12:14 PM

            @Petr-Demuth
            The respective autoCompletion files have an ignoreCase attribute that affects this. See here for more details on this topic.

            A 1 Reply Last reply Mar 22, 2023, 12:41 PM Reply Quote 2
            • A
              Alan Kilborn @Ekopalypse
              last edited by Mar 22, 2023, 12:41 PM

              @Ekopalypse said in “Intellisense” suggesting wrong words:

              respective autoCompletion files have an ignoreCase attribute

              Ah, that’s the key.
              I should have noticed in the OP’s recent screenshot that his N++ Language is driven by the .bas extension on his file.

              P 1 Reply Last reply Mar 22, 2023, 4:47 PM Reply Quote 0
              • P
                Petr Demuth @Alan Kilborn
                last edited by Mar 22, 2023, 4:47 PM

                @Alan-Kilborn That was just another tab open the file I use is *.txt

                1 Reply Last reply Reply Quote 0
                • M
                  Michael Vincent @Petr Demuth
                  last edited by Michael Vincent Mar 22, 2023, 5:47 PM Mar 22, 2023, 5:44 PM

                  @Petr-Demuth said in “Intellisense” suggesting wrong words:

                  I’m pretty possitive it didn’t happen before
                  NP++ 8.4.8

                  Please post your “?” => “Debug Info…”

                  N++ 8.5 made a few changes to the way autocomplete works around case sensitivity .

                  A default N++ 8.5.1 RC2 for me does not exhibit this behavior, just like @Alan-Kilborn states above.

                  Cheers.

                  P 1 Reply Last reply Mar 23, 2023, 9:10 AM Reply Quote 3
                  • P
                    Petr Demuth @Michael Vincent
                    last edited by Petr Demuth Mar 23, 2023, 9:11 AM Mar 23, 2023, 9:10 AM

                    @Michael-Vincent

                    Notepad++ v8.4.8   (64-bit)
                    Build time : Dec 24 2022 - 19:40:27
                    Path : C:\Program Files\Notepad++\notepad++.exe
                    Command Line : "C:\Users\pdemuth\Desktop\tmp\Stability Reports\VBA\Simple Timing macro.bas"
                    Admin mode : OFF
                    Local Conf mode : OFF
                    Cloud Config : OFF
                    OS Name : Windows 11 (64-bit) 
                    OS Version : 22H2
                    OS Build : 22621.1413
                    Current ANSI codepage : 1250
                    Plugins : 
                        CSVLint (0.4.6.2)
                        mimeTools (2.9)
                        NppConverter (4.5)
                        NppExport (0.4)
                        XMLTools (3.1.1.13)
                    

                    Anyway, if that works for you guys by default I will re-install fully and re-test. Is there any clear setup/cache? :)

                    M 1 Reply Last reply Mar 23, 2023, 11:43 AM Reply Quote 0
                    • M
                      Michael Vincent @Petr Demuth
                      last edited by Mar 23, 2023, 11:43 AM

                      @Petr-Demuth said in “Intellisense” suggesting wrong words:

                      Notepad++ v8.4.8 (64-bit)

                      That’s the problem. If you want the behavior we are seeing, upgrade to 8.5 or newer.

                      On a fresh 8.4.8 portable, I observe the same behavior as you do.

                      Cheers.

                      P 1 Reply Last reply Mar 23, 2023, 12:01 PM Reply Quote 3
                      • P
                        Petr Demuth @Michael Vincent
                        last edited by Mar 23, 2023, 12:01 PM

                        @Michael-Vincent said in “Intellisense” suggesting wrong words:

                        @Petr-Demuth said in “Intellisense” suggesting wrong words:

                        Notepad++ v8.4.8 (64-bit)

                        That’s the problem. If you want the behavior we are seeing, upgrade to 8.5 or newer.

                        On a fresh 8.4.8 portable, I observe the same behavior as you do.

                        Cheers.

                        Kudos!
                        Now works OK :)
                        01331bb5-6b6c-41b0-aef7-a4882c501a94-image.png

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