
In the Save As dialog box, change the file extension from. Installation is via a downloadable executable installer. Next, go to the File menu and select Save As. Notepad++ is licensed under the GNU Public License (GPL), and the source is available on GitHub.

You can use them to very literally 'repeat yourself' by recording yourself performing a task once, and then playing it back to repeat that action wherever and whenever you want! Once you record a macro you can save it and even assign it to a shortcut.File Edit Search View Encoding Language Settings Tools Macro Run Plugins Window? userinfo javaauthenticationsystem.java X ackage authenticationsyste import import java.iO.IOException: import curity. To save a notepad file as java, you will need to first open the notepad file. But sometimes there are things that you can't avoid repeating and which you can't create a function for - this is where macros come in. This saves you time and hassle and makes your code less bulky and more readable. The golden rule of programming is DRY - don't repeat yourself - but macros are the one exception to this rule! If you find yourself writing the same piece of code over and over again you should generally create a function which you can call to run that code for you. Macros are a very handy tool that can automate boring repetitive tasks. OK, so I know that most beginners opening up Notepad++ for the first time and looking about at the various features will be wondering what the hell 'Macros' are and what those play and record buttons are doing in a text editor. For my example of Python code, PyNPP is a good tool which lets you run your code from Notepad++ rather than having to go over to the GUI or shell to run it, and Python Indent is great for helping you with formatting.ĭon't Repeat Yourself, Unless Using Macros You won't find every plugin that could be relevant to your language like this, but it's a good place to start. For example, if you are learning Python then scrolling down to the letter P will bring up at least three plugins for Python programmers. If the file extension you need is not included in the list, select customize. Select File Association, and add your needed file extensions one by one to the Registered extensions list. Click on Settings in the main menu bar, and click on Preferences.

You can set it up to automatically save your document according to whatever time schedule you prefer the default setting is once per minute. My first suggestion is to install AutoSave.If the list is too long for you to want spend the time reading the descriptions which are provided for each plugin to find something useful then don't worry, I have a couple of suggestions: Review of the EnergyQC Portable Power Banks
