Open RonnyPfannschmidt opened 1 year ago
Several things to say about this:
entangled sync
starts to complain is a bit too strict, but its hard to single out a case where the decision logic can be clearly improved.code_reader.py#63
I suppose a few unit-tests regarding behaviour under code-formatters couldn't hurt.
If you are sure that the code formatters only changed the tangled files and no changes are present in the markdown (or you have everything committed to git) running entangled stitch --force
should get you out of the "can't sync" state.
I think part of this is related to having a edit loop running while using both pre-commit and a ide
I'll observe and try to get a example one could run with a script
when trying to sync example fragments with entangled, i took note that pre-commit fixup's like end of line, or back completely throw entangled off its "game"
that keeps dropping the tool into a "can't sync" state