The "Smart End" function currently moves to the end of the line, excluding trailing whitespace, on the first press of End. The second press of End goes to the real end of the line.
Many languages allow "trailing comments", where everything following a certain character, up to the end of the line, is a comment. E.g. in C++:
Object.DoSomething(); // Does something
My idea for a "Smarter End" function is to have the first End keypress go to the end of the line, excluding trailing whitespace AND comments. So in the above example, the cursor would go to just after the semicolon.