Often I’m working in Chrome and I copy the line of css from chrome into the find of sublime (or now atom) to find that line of code in the css).
Chrome automatically indents the css to make it look best however the actual css may have extra spaces or line returns.
So say I search for:
<li><a href"#">Test it</a></li></ul>
Atom says 0 results even though I can see it in the code. The reason being in the actual code it’s display as:
<li><a href"#">Test it</a></li> </ul>
Is there a way to get search to find results and ignore spaces and line returns when not in text. That is search should respect the space between “Test” and “it” but should be insensitive to the spaces and and returns in the actual code since the code renders identically eitherway and is simply a styling choice. Also I realize this could be do with regex but that would defeat the point of saving time and being able to simply copy and paste a line of css from chrome inspector.
Or does anyone know of plugin to accomplish this?