Sometimes you have a file with tens or hundreds of lines of text and you need to wrap each line with double quotes and a comma so that it can be easily put inside a javascript array. This can happen for example if your data is rows in a spreadsheet. Here’s how you can go from a list of lines to a quoted, comma separated list:
Continue reading “Convert lines of text to an array format”Examples of Brackets plus the Emmet extension
Here’s how the Emmet extension for Brackets can really speed up your workflow:
-type #mydiv and hit tab to get <div id=”mydiv”></div>
-type lorem and hit tab to get lorem ipsum text
-type #container>.col-sm-4*3 and hit tab to get
<div id=”container”>
<div class=”col-sm-4″></div>
<div class=”col-sm-4″></div>
<div class=”col-sm-4″></div>
</div>
How to automatically insert closing html tags in Notepad++
Notepad++ is a great editor for web pages, but for some reason it doesn’t auto-complete closing html tags by default. Here is how to turn this time saving feature on:
Written instructions:
Continue reading “How to automatically insert closing html tags in Notepad++”
How to remove all lines containing a certain character in Notepad++
In this quick video we demonstrate how to fix a situation in which your data contains lines that you need to remove and these lines can be identified by a string of characters. The method is easier than what you might think, since it doesn’t envolve any regular expressions or scripts.
Continue reading “How to remove all lines containing a certain character in Notepad++”