pep8online
pep8online copied to clipboard
[Improvement] Code placement and buttons
""' When I first ran the checker, I had at least a page worth of things to fix. Therefore, I had to scroll from the top of the list of Check Results to the Code box and keep on scrolling down like this as long as the list of results was more than a page.
So, I thought I would try another approach: I would fix the Check Results items at the end of the Check Results list first, so I could keep the Code and the last few Check Results in view at the same time. I scrolled to the end of my code to edit it.
When I made my first fix then did a check again (to remove the last item from the results), the code window had reset so that the beginning of the code was in the code window. Therefore, to return to the end of the code, I needed to scroll down to the end again.
Some people (those with fewer results to fix) may prefer to work on the code at the beginning of their program and others (with more to fix) may want to work from the end, so maybe this would work for most people: after the Check button is clicked, then the code could remain in the same position in the code window. This way, wherever the user had been editing, that would still be visible. """