When opening up the inline editor for a function that is defined above the current selection in the same file, adding/deleting lines in the inline editor makes the editor move. This is of course because the number of lines has been changed which then naturally would increase or decrease the position of the inline editor. However, I find it a bit annoying to work with an inline editor that moves around when I'm editing in it.
My proposal is to compensate the line changes by scrolling the main editor so that the inline editor always stays at the same position. This can of course only be done when the editor is positioned in a way that it is scrollable.
When opening up the inline editor for a function that is defined above the current selection in the same file, adding/deleting lines in the inline editor makes the editor move. This is of course because the number of lines has been changed which then naturally would increase or decrease the position of the inline editor. However, I find it a bit annoying to work with an inline editor that moves around when I'm editing in it.
My proposal is to compensate the line changes by scrolling the main editor so that the inline editor always stays at the same position. This can of course only be done when the editor is positioned in a way that it is scrollable.