Josee9988 / MinifyAll

A 𝗩𝗦𝗖𝗼𝗱𝗲 𝗺𝗢𝗻𝗢𝗳𝗢𝗲𝗿 for JS, JSON/C, CSS, and HTML, you will love its simplicity! 🌟 π˜Ύπ™€π™’π™₯π™§π™šπ™¨π™¨ and π™œπ™―π™žπ™₯ files and folders πŸ“¦ Reduce your bundle and file sizes with lightning speed ⚑
https://minifyall.jgracia.es/
GNU General Public License v3.0
73 stars 13 forks source link

Configuration options `disableCodeContextMenu` and `disableFileExplorerContextMenu` #121

Closed Cube707 closed 3 years ago

Cube707 commented 3 years ago

Configuration options disableCodeContextMenu and disableFileExplorerContextMenu, which allow the user to disable the respective contextmenus

This PR implements the feature requested in #120

Description

Two new options have been added: disableCodeContextMenu and disableFileExplorerContextMenu. They can be used to disable the respective contextmenues.

They are evaluated inside the package.json inside the contextmenues when statements. The statmens where also shortend to ease reading and reduce redundentcy.

Additional context

brackates are not posible inside when statments at the moment. See https://github.com/microsoft/vscode/issues/91473 for more information.

If brackates are implemented, the logic can be further simplefied.

welcome[bot] commented 3 years ago

Thanks for opening this pull request! Please check out our contributing guidelines and make sure to follow the pull request template.

Josee9988 commented 3 years ago

Hey @Cube707 I'll check your work later.

Thanks for the great effort!

Josee9988 commented 3 years ago

The code works as expected. I'm merging it and publishing a new vscode update rn.

Thanks for your great effort, I really appreciate your job, dude!

Cheers ;)

welcome[bot] commented 3 years ago

Congrats on merging your first pull request! Keep making great things with us, thanks!!