14

Whenever I'm doing some coding in Notepad++ i need to add some lines at the bottom so if i scroll down, the code doesn't stop at the bottom at the window. The problem is that I sometimes forget to take out the lines :/.

I need to know if there's some kind of plugin or feature that I may have missed that adds some vertical space at the bottom without being actual lines.

Or I have it all wrong and i should just resize the window?

3
  • 1
    Is having a little whitespace really that bad? (Unless you're coding in whitespace, of course, then your program's screwed)
    – Phoshi
    Commented Oct 15, 2009 at 18:16
  • What's wrong with the extra few empty lines?
    – hasen
    Commented Nov 7, 2009 at 8:36
  • 1
    they don't show up nicely in version control and while doing compares :D
    – Prozaker
    Commented Dec 23, 2009 at 20:17

3 Answers 3

13

Scroll past end of file plugin has been updated.

4
  • OMG OMG OMG YES, IT WORKS tyvm sir, how did you find it? lol
    – Prozaker
    Commented Dec 23, 2009 at 20:13
  • Unfortunately this plugin has not been updated for Npp 5.9 Commented Jun 3, 2011 at 19:58
  • This plugin causes infinite hangs in newer versions of Notepad++, apparently due to a conflict between it and the 'clickable links' feature. Disabling clickable links (in the MISC. options) lets the plugin work properly.
    – Cameron
    Commented Mar 26, 2014 at 14:25
  • @Cameron I am working with it and it is fiine.
    – Ghasan
    Commented Jun 15, 2015 at 6:07
9

There's now (version 7 onwards I think) a setting to enable what you want:

In Settings > Preferences > Editing, select 'Enable scrolling beyond last line'.

Enable scrolling beyond last line settings

0

What about setting up a macro in Notepad++ ?

Maybe you can record : Ctrl+end, enter, enter, enter, enter etc

Either that or create a batch/shell script that appends blank lines to your file(s)?

Hope this helps

2
  • 1
    yeah maybe i can try some autohotkey macro that does it. ty
    – Prozaker
    Commented Oct 23, 2009 at 22:39
  • @Prozaker Using AHK, you can send some commands directly to the Scintilla component used by NP++. It has an extended (and a bit complex) set of settings for scroll policy that probably allows to do that without changing the text at all.
    – PhiLho
    Commented Dec 21, 2012 at 11:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .