Often it is highly desirable to search for text that contains special characters (e.g., CRLF, tab, etc) and/or replace with text that includes such characters. For example, suppose one wants to insert a common sub call following the appearance of a Try block. It is possible to distinguish instances of "Try" from "End Try" by including the leading tab character in the search, and it's possible to replace this with Try followed by a carriage return and a new line of code. This can be done in Notepad++ as follows:
For example, one can search for \n or \r in the text to match code that breaks across lines, or replace a line of code with two or more lines of code.
Right now, I copy the code to Notepad++, make the change, then copy it back, but would be awfully nice to have this feature integrated. Perhaps something comparable already exists in the IDE but I haven't found it.
For example, one can search for \n or \r in the text to match code that breaks across lines, or replace a line of code with two or more lines of code.
Right now, I copy the code to Notepad++, make the change, then copy it back, but would be awfully nice to have this feature integrated. Perhaps something comparable already exists in the IDE but I haven't found it.