A small improvement: Don't print newline character at the end of message, so that users don't have to
type ENTER manually after running the python script.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I'm not entirely sure if jumping cursors are a good user interface. It will completely throw the user out of context, which is exactly what we want to avoid with include-fixer.
Comment Actions
+1 to not throwing users around by default. Can we make it configurable if folks want it?
Comment Actions
FWIW, I think I'd like this behavior as it shows me what is actually being done. I can undo/redo to double-check or C-O to get back to where I was. Of course making it configurable seems like the right thing to do.
include-fixer/tool/clang-include-fixer.py | ||
---|---|---|
102 ↗ | (On Diff #64004) | Seems seems very hacky. Can't you extract it out of the diff sequence above? |