OK, I just found a workaround and possible answer.
I've got my main window (w/ tasks, files, projects) on my secondary screen and dragged my editor (my code) to my (larger) primary screen.
I still can't dock windows outside the main window, but since I want to have only one window outside it, it isn't really necessary.