{"id":252,"date":"2013-07-15T13:39:53","date_gmt":"2013-07-15T18:39:53","guid":{"rendered":"http:\/\/homepages.uc.edu\/~yaozo\/wordpress\/?p=252"},"modified":"2013-07-15T13:39:53","modified_gmt":"2013-07-15T18:39:53","slug":"10-notepad-tips-for-fast-development","status":"publish","type":"post","link":"https:\/\/zhuoyao.net\/index.php\/2013\/07\/15\/10-notepad-tips-for-fast-development\/","title":{"rendered":"10+ Notepad++ Tips For Fast Development"},"content":{"rendered":"<p><a href=\"http:\/\/notepad-plus-plus.org\/\" target=\"_blank\" rel=\"nofollow external noopener\">Notepad++<\/a>\u00a0is an open-source text editor for Windows. I have to work on different technologies, It\u2019s not possible to install all editors (like Dreamweaver, Visual studio 2010, \u2026etc) on my old machine. So I use Notepad++ as my default text-editor. It\u2019s simple and fast. Here are some tips for web developer and designer to use it effectively.<\/p>\n<h3>1. Box Selection:<\/h3>\n<p>Similar to VS 2010, Box Selection (aka column selection, block selection, or rectangular selection) exists in Notepad++. You need to hold down the\u00a0<strong>Alt key<\/strong>\u00a0while doing a selection; you can select a block horizontally.<\/p>\n<p><a href=\"http:\/\/homepages.uc.edu\/~yaozo\/wordpress\/wp-content\/uploads\/2013\/07\/box-selection.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-256\" alt=\"box selection\" src=\"http:\/\/homepages.uc.edu\/~yaozo\/wordpress\/wp-content\/uploads\/2013\/07\/box-selection.jpg\" width=\"357\" height=\"220\" \/><\/a><\/p>\n<h3>2. Extended Search Mode:<\/h3>\n<p>Generally, It is needed to convert new line\/tab character. Suppose you have to remove new line character:<br \/>\nPress<strong>\u00a0Ctrl+H<\/strong>\u00a0, Select the \u2018<strong>Extended Search Mode<\/strong>\u2019. Use\u00a0<strong>\\n<\/strong>\u00a0in\u00a0<strong>find what<\/strong>\u00a0and nothing in\u00a0<strong>replace with<\/strong>\u00a0textbox. Click\u00a0<strong>Replace All<\/strong>\u00a0to remove new line character.<\/p>\n<h3>3. Vertical Tab View:<\/h3>\n<p>Suppose you have to see two files and compare manually. You can open tab in vertical tab view. For this, Right click on tab &gt; \u201c<strong>Move to Other View<\/strong>\u201d. Use F8 to toggle the views.<\/p>\n<p><a href=\"http:\/\/homepages.uc.edu\/~yaozo\/wordpress\/wp-content\/uploads\/2013\/07\/vertical-tab-view.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-258\" alt=\"vertical tab view\" src=\"http:\/\/homepages.uc.edu\/~yaozo\/wordpress\/wp-content\/uploads\/2013\/07\/vertical-tab-view.jpg\" width=\"467\" height=\"254\" \/><\/a><\/p>\n<h3>4. Minify JS:<\/h3>\n<p>You can remove unnecessary space in your js file and can minify before deploying.<\/p>\n<p><strong>Edit &gt; Blank Operations &gt; Trim Header and Trailing Space<\/strong><br \/>\n<strong>Edit &gt; Blank Operations &gt; Remove Unnecessary Blank and EOL<\/strong><\/p>\n<h3>5. Delete Line Numbers or First word:<\/h3>\n<p>Generally when we copy code from website and paste it we get line numbers or special char, we need to remove this. You can do this in Notepad++ easily.<br \/>\n<strong>TextFX &gt; TextFX Tools &gt; Delete Line Numbers or First word<\/strong><\/p>\n<h3>6. Add Line Numbers:<\/h3>\n<p>You can add line numbers by\u00a0<strong>Edit &gt; Column Editor &gt; Number to Insert &gt; Set Initial Number and Increase By &gt;OK<\/strong><br \/>\nYou can add any text also.<\/p>\n<h3>7. AutoClose HTML\/XML tags:<\/h3>\n<p>If you\u2019re working with HTML or XML files, it closes every HTML tag as you type.<br \/>\n<strong>TextFX &gt; TextFX Settings&gt;Autoclose XML\/HTML tags<\/strong><\/p>\n<h3>8. HTML Encode:<\/h3>\n<p>As a blogger, I have to post html source code. I need html encode before posting. It\u2019s very easy in Notepad++<br \/>\n<strong>TextFX &gt; TextFX Convert &gt; Encode HTML<\/strong><\/p>\n<h3>9. Generate Dynamic Controls Quickly:<\/h3>\n<p>Suppose you have to create html controls dynamically.For this, First create static Html layout. Select Proper Language and<br \/>\n<strong>TextFX &gt; TextFX Convert &gt; Convert Text to Code Command<\/strong><br \/>\nIt will take care of Quotes and line breaks.<\/p>\n<h3>10. Setup HTML Tidy:<\/h3>\n<p>Suppose you have html body content only and you have to create proper html file then it is very handy to use html tidy.<\/p>\n<p><strong>TextFX &gt; TextFX HTML Tidy &gt; Tidy(Most Recent HTMLTIDY.CFG)<\/strong><\/p>\n<h3>11. Launch in Browser:<\/h3>\n<p>You can test html file in browser by clicking RUN and select Launch in Browser.<\/p>\n<h3>12. Align Lines:<\/h3>\n<p>It\u2019s my favorite feature. You can line up multiple lines by ,(comma), = (equal sign) or clipboard character. It is very useful and helpful in Box selection.<br \/>\n<strong>TextFX &gt; TextFX Edit &gt; line up multiple lines by \u2026<\/strong><\/p>\n<p><a href=\"http:\/\/homepages.uc.edu\/~yaozo\/wordpress\/wp-content\/uploads\/2013\/07\/align.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-257\" alt=\"align\" src=\"http:\/\/homepages.uc.edu\/~yaozo\/wordpress\/wp-content\/uploads\/2013\/07\/align.jpg\" width=\"428\" height=\"400\" \/><\/a><\/p>\n<h3>13. Others:<\/h3>\n<p>Remove Blank Lines:<br \/>\nTextFX &gt; TextFX Edit &gt; Delete Blank Lines<br \/>\nTextFX &gt; TextFX Edit &gt; Delete Surplus Blank Lines<\/p>\n<p>Change Case:<br \/>\nTextFX &gt; TextFX Characters &gt; select the case in which you want to convert.<\/p>\n<p>The major inbuilt options can be performed using extended search mode. If you have other tips, leave a comment.<\/p>\n<p>Enjoy Notepad++!!!<\/p>\n<p>&nbsp;<\/p>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Notepad++\u00a0is an open-source text editor for Windows. I have to work on different technologies, It\u2019s not possible to install all editors (like Dreamweaver, Visual studio&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,16],"tags":[],"class_list":["post-252","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-notepad"],"_links":{"self":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts\/252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/comments?post=252"}],"version-history":[{"count":0,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"wp:attachment":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}