Community
    • Login

    Editing the file "context Menu.xml" how to add a submenu to the context menu?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    17 Posts 2 Posters 4.4k Views 1 Watching
    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 Offline
      Ekopalypse @andrecool-68
      last edited by

      @andrecool-68

      yes, like so

      		<Item FolderName="Heureka" PluginEntryName="Python Script" PluginCommandItemName="format_json" ItemNameAs="JSON Format"/>
      
      andrecool-68A 2 Replies Last reply Reply Quote 2
      • andrecool-68A Offline
        andrecool-68 @Ekopalypse
        last edited by

        @Ekopalypse I don’t need to format anything!
        I need to switch between the syntax of languages
        (in one file there may be html and css … but two syntaxes do not work at the same time)

        1 Reply Last reply Reply Quote 0
        • andrecool-68A Offline
          andrecool-68 @Ekopalypse
          last edited by

          @Ekopalypse I need a simple switch between syntax.

          Imgur

          EkopalypseE 1 Reply Last reply Reply Quote 0
          • EkopalypseE Offline
            Ekopalypse @andrecool-68
            last edited by

            @andrecool-68

            seems I wasn’t clear. The tag you are looking for is FolderName.
            So something like

            <Item FolderName="SWITCH" MenuEntryName="Language" MenuItemName="CSS"/>
            <Item FolderName="SWITCH" MenuEntryName="Language" MenuItemName="HTML"/>
            

            would do what you want.
            In case you want to have a different name you can use the ItemNameAs tag.

            andrecool-68A 1 Reply Last reply Reply Quote 2
            • andrecool-68A Offline
              andrecool-68 @Ekopalypse
              last edited by

              @Ekopalypse Thank you very much!

              What the doctor ordered!

              Imgur

              This option probably I misunderstood)

              Imgur

              EkopalypseE 1 Reply Last reply Reply Quote 1
              • EkopalypseE Offline
                Ekopalypse @andrecool-68
                last edited by

                @andrecool-68

                :-) this is what we call “you don’t see the forest because of the trees” - happens to me always!! :-)

                andrecool-68A 2 Replies Last reply Reply Quote 2
                • andrecool-68A Offline
                  andrecool-68 @Ekopalypse
                  last edited by

                  @Ekopalypse Now I understand where my error with “ItemNameAs”

                  Imgur

                  EkopalypseE 1 Reply Last reply Reply Quote 1
                  • EkopalypseE Offline
                    Ekopalypse @andrecool-68
                    last edited by

                    @andrecool-68

                    sorry - I thought you already knew it.
                    Yes, that is its usage.

                    1 Reply Last reply Reply Quote 1
                    • andrecool-68A Offline
                      andrecool-68 @Ekopalypse
                      last edited by andrecool-68

                      @Ekopalypse said:

                      :-) this is what we call “you don’t see the forest because of the trees” - happens to me always!! :-)

                      100%!!!

                      EkopalypseE 1 Reply Last reply Reply Quote 1
                      • EkopalypseE Offline
                        Ekopalypse @andrecool-68
                        last edited by

                        @andrecool-68 - gotcha :-D

                        andrecool-68A 1 Reply Last reply Reply Quote 1
                        • andrecool-68A Offline
                          andrecool-68 @Ekopalypse
                          last edited by

                          @Ekopalypse
                          There is a Russian proverb:
                          “Смотришь в книгу …а видишь фигу”
                          I do not know how beautiful it is to translate into English)))

                          EkopalypseE 1 Reply Last reply Reply Quote 1
                          • EkopalypseE Offline
                            Ekopalypse @andrecool-68
                            last edited by

                            @andrecool-68

                            I see :-D (https://lyricstranslate.com/hu/смотришь-в-книгу-а-видишь-фигу#n2203547)

                            andrecool-68A 1 Reply Last reply Reply Quote 1
                            • andrecool-68A Offline
                              andrecool-68 @Ekopalypse
                              last edited by

                              @Ekopalypse I was talking about myself)))

                              EkopalypseE 1 Reply Last reply Reply Quote 1
                              • EkopalypseE Offline
                                Ekopalypse @andrecool-68
                                last edited by

                                @andrecool-68

                                :-D doesn’t matter - the same is true for me :-D

                                andrecool-68A 1 Reply Last reply Reply Quote 1
                                • andrecool-68A Offline
                                  andrecool-68 @Ekopalypse
                                  last edited by andrecool-68

                                  @Ekopalypse I found the file “contextMenu.xml” on the Internet with full Russification of comments
                                  … everything is described in detail and clearly how to edit the context menu.
                                  It’s too bad that I know English … because of this, all the problems)))

                                  EkopalypseE 1 Reply Last reply Reply Quote 1
                                  • EkopalypseE Offline
                                    Ekopalypse @andrecool-68
                                    last edited by

                                    @andrecool-68
                                    sometimes I feel the same, but most IT documentation is in English, so … we have to live with it … until the Chinese take over operating system development :-) then we have to learn Mandarin :-)

                                    1 Reply Last reply Reply Quote 1
                                    • StoopidoManS StoopidoMan referenced this topic on

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    • First post
                                      Last post
                                    The Community of users of the Notepad++ text editor.
                                    Powered by NodeBB | Contributors