Community
    • Login

    Improve auto-suggest/intellisense: Press space or non-alphanumeric keys for selecting keywords automatically

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 2.1k 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.
    • Leonard MarvillaL
      Leonard Marvilla
      last edited by Leonard Marvilla

      I suggest that aside from pressing ENTER key for selecting keyword in intellisense/autosuggest list. I suggest that pressing SPACE or non-alphanumeric key will automatically selects the selected suggested word and appended by SPACE or non-alphanumeric characters. This is characteristics is the same as intellisense of Visual Basic or Visual Studio. This features makes coding or typing even more faster.

      For example:

      On existing features:

      1. Type a keyword (if the predicted keyword found on the suggestion the user press enter).
      2. Enter space.

      On proposed features:

      1. Type a keyword (if the predicted keyword found on the suggestion the user press space and it selects the suggested keyword and the space or non-alphanumeric characters is already appended).

      On the following comparison, the suggested features saves 2 keystrokes. The proposed featured must be enabled by default and can be disabled by the user.

      I hope that you may consider this suggested features.

      Thank you

      1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank
        last edited by Claudia Frank

        From my point of view, if this should be implemented, it should be disabled by default.
        The reason why explained on a viusal basic example.

        CreateObject is a keyword but if I want to define a Function like

        Private Function Create () As Boolean 
        

        it would repalce it to

        Private Function CreateObject 
        

        The same applies to comments like

        'create a hash to compare results
        

        or defining strings like

        "Create a hash"
        

        @Leonard Marvilla, your proposal saves one keystroke whereas it might generate more keystrokes
        to revert it if it wasn’t supposed to use it.

        But as said, this is my opinion.

        Cheers
        Claudia

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