Editing the file "context Menu.xml" how to add a submenu to the context menu?
-
I added in the “context Menu.xml” selection of switching language files.
Can I add submenus to reduce the size of the context menu?
To make it look like the “Style token” menu
-
yes, like so
<Item FolderName="Heureka" PluginEntryName="Python Script" PluginCommandItemName="format_json" ItemNameAs="JSON Format"/> -
@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) -
@Ekopalypse I need a simple switch between syntax.

-
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. -
-
:-) this is what we call “you don’t see the forest because of the trees” - happens to me always!! :-)
-
@Ekopalypse Now I understand where my error with “ItemNameAs”

-
sorry - I thought you already knew it.
Yes, that is its usage. -
@Ekopalypse said:
:-) this is what we call “you don’t see the forest because of the trees” - happens to me always!! :-)
100%!!!
-
@andrecool-68 - gotcha :-D
-
@Ekopalypse
There is a Russian proverb:
“Смотришь в книгу …а видишь фигу”
I do not know how beautiful it is to translate into English))) -
-
@Ekopalypse I was talking about myself)))
-
:-D doesn’t matter - the same is true for me :-D
-
@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))) -
@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 :-) -
S 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
