Sublime Forum

Hide LSP from context menu

#1

Hi, is it possible to hide/remove the LSP from the context menu?

0 Likes

#2

Yes, in the packages folder (Preferences > Browse Packages) create a subdirectory LSP and therein a Context.sublime-menu file with content

[]

https://www.sublimetext.com/docs/packages.html#overriding-files-from-a-zipped-package

0 Likes

#3

This way is like resetting? But I only want to remove the LSP and leave the rest.

0 Likes

#4

That would only remove any menu entries from the context menu applied by the LSP package (assuming that the package puts the file at that location).

It would not touch context menu entries by any other package because the file location you use here would be specific to LSP.

1 Like