There are enough of text editors available for programmers, but near of the people frequently direct Notepad++ every bit an alternative to Notepad since it is free, user-friendly too feature-rich. If y'all are non familiar alongside Notepad++ for Windows PC, y'all should know that it is possible to write dissimilar languages including .html, .css, .php, .asp, .bash, .js, too more. Here are a few Notepad++ tips too tricks that y'all may operate to larn started.
Notepad++ Tips too Tricks
1] Perform sure things automatically
This is likely the near time-saving characteristic that Notepad++ has, since it volition allow y'all exercise a repeat a business to a greater extent than than i time without genuinely doing it again. You tin tape a Macro too perform an human activeness automatically. Let’s assume that y'all want to supercede a sure text inward dissimilar files too salve it inward a item format. You precisely demand to tape the whole procedure too play it later on whenever y'all want to perform that task. It is possible to salve every bit many macros every bit y'all want. To tape a Macro, precisely caput over to the Macro section inward the navigation carte du jour of Notepad++.
2] Launch code inward item browser
Let’s assume that y'all direct keep written a few lines of code inward HTML too CSS. Now, y'all want to banking enterprise jibe the hold off of that page without applying it on a alive website. You direct keep 2 options. First, y'all tin salve that code alongside the respective extension (here it is .html), too opened upwards the file inward whatever spider web browser. Or, y'all tin precisely launch the code inward a item browser without doing whatever of this. Just write downward your code, select Run > Launch inward Firefox/IE/Chrome/Safari. Now, the page volition opened upwards straight inward your desired spider web browser.
3] Change preference
If y'all mean value that the default interface of Notepad++ is boring, too it needs closed to customization, y'all tin for certain exercise that without using whatever tertiary political party software or plugin. It is possible to modify the theme, font family, font size, font style, font weight, font color, background color, too more. If y'all direct keep installed a font from tertiary political party sources, y'all tin even hence operate it every bit your default font inward Notepad++. To modify the preferences, precisely click on Settings > Style Configurator. You volition encounter a screen, where y'all tin direct everything mentioned earlier. Select your preference too identify a tick-mark inward the checkbox on the same page. Otherwise, the modify volition non hold upwards effected.
4] Create too gear upwards ain Notepad++ theme
If y'all exercise non similar the default themes of Notepad++, y'all tin brand i according to your wishing too gear upwards it every bit your default theme. The principal requirement is that y'all direct keep to salve the topic file alongside a .xml extension, too identify it within the next folder:
C:\Users\user_name\AppData\Roaming\Notepad++\themes
Don’t forget to supercede user_name alongside your actual username. Having done this, larn to Settings > Style Configurator. You volition encounter the topic within the Select Theme drop-down menu.
5] Open latterly opened files apace too modify the number
Suppose, y'all direct keep a folder total of your codes, too y'all demand to opened upwards a item file. It volition for certain accept fourth dimension if y'all direct keep to navigate a long path. At such times, y'all tin precisely click on File and banking enterprise jibe your latterly opened files. You tin larn upwards to xv files inward the listing alongside the actual path. If y'all mean value that this characteristic is useful, too y'all want to growth the lay out of “Recently Opened” files, hither is a fob to growth or decrease the number. Open Settings > Preferences. Under the Recent Files History, y'all volition larn the pick to modify the number.
6] Open file inward tree view
If y'all are developing a theme, apparently in that location are to a greater extent than than i files. It is quite hard to opened upwards too closed dissimilar files inward a item folder. To solve this problem, Notepad++ has an awesome characteristic called Folder every bit Workspace, which helps users to sentiment all the files too folders inward the tree view. You tin encounter a sidebar on the left-hand side that volition allow y'all opened upwards a item folder too file. To opened upwards a folder, click on File > Open Folder every bit Workspace, too direct the folder that y'all want to demo inward a tree view.
7] Open all files inward a folder at once
If y'all want to opened upwards all the files inward a folder at i time inward Notepad++, y'all tin exercise 2 things. You tin precisely opened upwards a folder, select all the files too hitting Enter. Or y'all tin click on File > Open Containing Folder > Explorer, select the files too hitting Enter. Both actions volition perform the same task.
8] Find give-and-take or text inward multiple files
Suppose, y'all direct keep made a error inward writing a item word. For instance, y'all direct keep written ABC instead of XYZ. To observe all the wrongly written words, y'all exercise non direct keep to opened upwards i file at a fourth dimension too banking enterprise jibe them. Instead, y'all tin precisely opened upwards all the files at i time using the guide mentioned above. Then, press Ctrl + F too larn to Find tab. Now, write downward what y'all want to observe too hitting the Find All inward All Opened Documents button. You volition larn the resultant inward the bottom of your Notepad++ window. From here, y'all tin larn to that item file too observe the error.
9] Replace give-and-take or text inward multiple files
If y'all want to supercede a item give-and-take or text alongside closed to other word, inward multiple files, opened upwards all the files inward Notepad++. Press Ctrl + H, type the give-and-take y'all want replaced, too the novel give-and-take inward the given fields too click on the Replace All inward All Opened Documents. To salve all the files at once, press Ctrl + Shift + S.
10] Find changes side past times side
Let’s assume that y'all direct keep made few changes inward a item file or say y'all want to brand 2 instances of a unmarried file. To exercise this, opened upwards or exercise the file that y'all want to identify next or brand closed to other instance. Then, right-click on the tab too select Clone to Other View.
10] Make a file edit-proof
If y'all frequently press buttons past times mistake, hither is a solution that volition assistance y'all to edit a item file too brand other files edit-proof when y'all direct keep placed 2 files side past times side. Right-click on the file’s tab that y'all want to Read Only too then, select Read Only.
Notepad++ is available for download from its homepage.
Bonus Tip: You tin every bit good access FTP server using Notepad++.
Hope y'all observe these Notepad++ tips useful.
Source: https://www.thewindowsclub.com/
comment 0 Comments
more_vert