You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is not a bug report. (please use a different template for reporting a bug)
This issue is not a duplicate of an existing issue. (please use the search to find existing issues)
Description
I don't see any easy way to move / delete items from the context menu. I'm having issues moving 'Peek Definition' out of the Peek context submenu and into the main navigation menu. Since I only have 1 option inside the peek submenu I find it annoying to even have a submenu for it. Is there an easy way to move this into the navigation menu? Ideally it would go right under Go To Definition.
Edit:
I was able to get my desired result by iterating over the peek context menu items to remove the peek menu, then manually adding a new action that just triggers the peek action. There must be a better way?? The playground link shows the hack I had to do.
Context
Description
I don't see any easy way to move / delete items from the context menu. I'm having issues moving 'Peek Definition' out of the Peek context submenu and into the main navigation menu. Since I only have 1 option inside the peek submenu I find it annoying to even have a submenu for it. Is there an easy way to move this into the navigation menu? Ideally it would go right under Go To Definition.
Edit:
I was able to get my desired result by iterating over the peek context menu items to remove the peek menu, then manually adding a new action that just triggers the peek action. There must be a better way?? The playground link shows the hack I had to do.
Monaco Editor Playground Link
https://microsoft.github.io/monaco-editor/playground.html?source=v0.50.0#XQAAAAKZBAAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw64U3RgmSaumWUF-TBOsVJ4S4FwfCDQb5-2uUHXTVAefbVSd9IzaZ_vv9VR9KugsKimARHSWlrTPOQHROITHxmAeFEs9_m3VHdSe7_Etv6WpgzlH4suqcRwO2cnFLtaZLR4F0JFm8KVkxk-4Ch5aQ5cUcW42GDEo1TLlRBA6ZuApl5HQvRce9vFBHq-nuG9Nsza8eABif3xxAynXtZ66klrxMxOOBdRgwC_p0bCI3uVg9_wpXuzaz2FQwYVXRsSY1isaTy1ClRWhGxr6BxU2PeuMmoPennuZ9024KwNVp1y5Lv1UKWmTAdleICWTVujNm5C59_tfpgDVVxRPjzDWNG61yDhHmv_rppNm8E2gGzNCokxsmpAe_QYHp9_2rbpWXWbXOODxIyvfDhTnIO0INzlfTAtJ6Wj-JCRie4998mZTQyMw1D6368CZh61DZIbqNLGjQWQ56jBRIjRXoC3dVqkTYAKjyXy_08RXlCF5LEw9wbu7G6ZyWV4y8HYQXAOqXMBsIgGcaMYwi3abgoCsnE6wLYhbzDiyv5wOgc-yxcTocpXQD_hRGFcKBDHIY6LuPJswMsnejaESXpia2du_R8_DxBfCpb-SefOod70SNIKzP99aCZ3YNTNojnxQCGqGgURjrMt17l-Z849XU-j6pEaQAf4IrAdEf_1uEutwClgWDQwJjgMxGiLEZIJLFHY_zGu1zholxLZmwc8mSibntbTTI9yIdkyqCiIwRyUBJlsEn87lBqWIwUo81oU7UmAMUo9YDgvXTR_N_eX5FhjDM-u_bc_VZjCx0IRJ-o-JblzIw7AZ9nmLpkuQI__kyeLE
Monaco Editor Playground Code
No response
The text was updated successfully, but these errors were encountered: