Community
    • Login

    Some function key doesn't work as a shortcut

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    11 Posts 4 Posters 910 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.
    • EkopalypseE
      Ekopalypse @Gregory D.
      last edited by

      @Gregory-D

      are you sure that your func_item array holds those in a reasonable way?

      1 Reply Last reply Reply Quote 0
      • Gregory D.G
        Gregory D.
        last edited by

        Sorry I just realized that another plugin was using the same keys !

        Alan KilbornA 1 Reply Last reply Reply Quote 1
        • Alan KilbornA
          Alan Kilborn @Gregory D.
          last edited by

          @Gregory-D

          Plugins mapping ANY keycombox is a “bad idea”.
          Leave them unassigned, let users map them in Shortcut Mapper

          1 Reply Last reply Reply Quote 3
          • Gregory D.G
            Gregory D.
            last edited by

            Can’t they unassign or assign them to other keys if they want ?

            EkopalypseE 1 Reply Last reply Reply Quote 0
            • EkopalypseE
              Ekopalypse @Gregory D.
              last edited by

              @Gregory-D said in Some function key doesn't work as a shortcut:

              Can’t they unassign or assign them to other keys if they want ?

              Of course you can, but imagine I set up npp the way I want and then I install a plugin and my settings are screwed up because the plugin overwrites them.

              1 Reply Last reply Reply Quote 2
              • Gregory D.G
                Gregory D.
                last edited by

                Then you just have to modify shortcut for my plugin no ? Or it also remove already assigned shortcuts ?

                Alan KilbornA PeterJonesP 2 Replies Last reply Reply Quote 0
                • Alan KilbornA
                  Alan Kilborn @Gregory D.
                  last edited by

                  @Gregory-D said in Some function key doesn't work as a shortcut:

                  Then you just have to modify shortcut for my plugin no ?

                  We’ve already told you why this is less than good.
                  TWICE.
                  It’s getting tiring.

                  Or it also remove already assigned shortcuts ?

                  By this do you mean?: “If my plugin assigns some shortcuts, and those shortcuts are already set up in Notepad++, will my plugin remove them?”
                  I know the answer to this.
                  If you don’t, it literally takes 2 minutes of experimentation to get to to an answer.

                  1 Reply Last reply Reply Quote 1
                  • Gregory D.G
                    Gregory D.
                    last edited by

                    Alan, you definitively don’t like the forum concept, so why do you still make all that bad to yourself ? Just don’t replay, this is useless, and create more useless reply like this one.

                    @Alan-Kilborn said in Some function key doesn't work as a shortcut:

                    We’ve already told you why this is less than good.
                    TWICE.
                    It’s getting tiring.

                    You just said it’s bad, maybe you think you explain but no, you never. Ekopalypse started to explain but with you useless post maybe he won’t try to reply.

                    @Alan-Kilborn said in Some function key doesn't work as a shortcut:

                    I know the answer to this.
                    If you don’t, it literally takes 2 minutes of experimentation to get to to an answer.

                    2 minutes ? You’re probably true, but it took that to you to answer that you just “know the answer” and not giving it, this is 2 lost minutes for both. Again just don’t reply. I can ask and someone can reply or not, but replying to say yo have the answer is just…

                    EkopalypseE 1 Reply Last reply Reply Quote 0
                    • PeterJonesP
                      PeterJones @Gregory D.
                      last edited by

                      @Gregory-D said in Some function key doesn't work as a shortcut:

                      Then you just have to modify shortcut for my plugin no ? Or it also remove already assigned shortcuts ?

                      So I install your plugin, then you break my keyboard shortcuts, then you think it’s okay to make me fix something you broke? Interesting philosophy.

                      I personally am not bothered when a plugin defines one or two shortcuts, as long as they don’t overwrite standard shortcuts. But you’ve chosen F5, F9, and F10, which are all shortcuts defined by the main Notepad++ application. By re-defining those, a user will reasonably infer that not only do you think your plugin is more important than any other plugin or user-defined configuration choices, but that your plugin is more important than standard Notepad++ workflow.

                      1 Reply Last reply Reply Quote 1
                      • EkopalypseE
                        Ekopalypse @Gregory D.
                        last edited by

                        @Gregory-D

                        aside from what @PeterJones has said, what if your plugin is installed for multiple users?

                        In the end it’s your plugin and you can do whatever you want,
                        but ask yourself if you’re happy if your nicely set up application
                        suddenly behaves strangely.
                        It might take some time before you realize that a newly installed plugin
                        is the cause of the behavior.
                        If you don’t believe this, take some time and search the forum,
                        you will probably find a plethora of problems where help was asked for
                        and where in the end the problem was caused by a newly installed plugin.
                        Just a friendly advice - nothing more.

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