I am using PhpStorm 2016.2 with a project that uses blade templates. In my Blade templates I use the html encoded character
. PhpStorm shows
as a space in the editor, I would like it to show
unchanged.
What setting do I need to change?
To enable this feature in IntelliJ, you must open the Settings dialog ( Ctrl+Alt+S ) and navigate to the Editor | General | Appearance tab. In this tab you need to enable the Show whitespace option. In addition, you can individually enable/disable which whitespaces to show: leading, trailing or inner.
In IntelliJ IDEA, to convert existing tabs to spaces or vice versa, use File → Edit → Convert Indents → To Spaces (or To Tabs). The Reformat code shortcut Ctrl + Alt + L will also do this, while applying other changes.
Tweak: Auto-remove trailing spacesGo to Settings . On the left side of the dialog, click on Editor -> General . On the right side, scroll to the On Save section. Change Remove trailing spaces on: to Modified lines .
This is only cosmetical.
Hover mouse over it to see the code preview. Click it to expand.
If you want to turn such code folding off altogether, go to:
Settings > Editor > General > Code Folding and uncheck XML entities
From here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With