Hide Code Action#
Code actions may be disruptive or not needed. The following article describes various ways of hiding them.
Hide Specific Code Action#
Using Settings#
- Code action "Don't show ..."
-
Setting
"php.problems.exclude"
.Example:
``json "php.problems.exclude": { "***": [7103] }
disables all code hints (unless the code action is explicitly enabled using.editorconfig
file). - Setting""phpTools.suppressPremiumFeatures"": true
hides all premium features including code actions and code hints.