Brackets: Let users scroll past the content in editor

Created on 8 Jun 2014  路  8Comments  路  Source: adobe/brackets

When editing code at the very end of a long file, I have to look at the bottom of my screen. This is a bit annoying:

a

I would like to be able to scroll past the content so that the code I'm editing appears roughly in the center of my screen.

b

I guess, you could add padding-bottom to the editor area to achieve this.

Most helpful comment

You can already do this by setting the scrollPastEnd flag in your brackets.json file.

Refer to https://github.com/adobe/brackets/wiki/How-to-Use-Brackets#preferences for more info.

There is also an extension called "Preferences setup UI" that adds a window to the editor menu that allows you to set the brackets preferences visually instead of having to manually type them in, if you'd rather that way.

All 8 comments

You can already do this by setting the scrollPastEnd flag in your brackets.json file.

Refer to https://github.com/adobe/brackets/wiki/How-to-Use-Brackets#preferences for more info.

There is also an extension called "Preferences setup UI" that adds a window to the editor menu that allows you to set the brackets preferences visually instead of having to manually type them in, if you'd rather that way.

@UncleAcid I've added a brackets.json file to the root of my project with this content:

{
    "scrollPastEnd": true
}

Didn't work :(

@simevidas Rename brackets.json to .brackets.json (mind the beginning dot!) and then reload Brackets.

@sbruchmann Ah my mistake. It works now :)

This feature should be enabled by default, I think.

@simevidas Instead of adding it just to .brackets.json in your project go to Debug -> Open Preferences File, and add the same code there. Then it will be enabled by default on every project.

@TomMalbran Thanks :)

@TomMalbran Thank you, i really don't like the fact of this important feature is turned off by default!

@simevidas Instead of adding it just to .brackets.json in your project go to Debug -> Open Preferences File, and add the same code there. Then it will be enabled by default on every project.

seems to work for me, relieved:) thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Codigo-G picture Codigo-G  路  4Comments

AgamlaRage picture AgamlaRage  路  4Comments

asportnoy picture asportnoy  路  3Comments

macjabeth picture macjabeth  路  3Comments

ankushdas9 picture ankushdas9  路  3Comments