I’m currently using programmer’s notepad for programming in Java and working on our project in Software Engineering because I’m not really a fan of visual editors wherein you will have just to drag an element into a canvas to make your design.
PN is nice because, it automatically closes a statement:
It also features code folding and line numbers:
And all the other features which are common to text-editors.
Now, what I want to point out here is the use of the find and replace tool. Which can be use in many different ways depending on what you want to perform.
I mainly use the find and replace tool to search for lines of code which I want to replace so that I won’t replace them manually.
For example, I want to replace the ul tag here, with an ol tag:
<html> <head> </head> <body> <ul> <li></li> </ul> <ul> <li></li> </ul> <ul> <li></li> </ul> </body> </html>
What I would do is to press ctrl + h on my keyboard. That’s a shortcut for find and replace. And I would just do something like this:
And click on replace all, so that all the ul tags would be replace by an ol tag.
There are still many uses of this tool, it depends upon you on how to use it effectively. Thanks for reading.