I have a few plugins that help programmers navigate their code, and they use the
Script.Source property. I noticed a huge problem- they were displaying incorrect data. After some testing, I realized this is not a bug on my end but rather a undesirable side effect of how Team Create Drafts work.
When in Team Create, the
.Source property does not update until you commit the draft.
There is currently no way for plugins to read uncommitted sources.
This means that plugins are seeing sources that differ from what is actually on the user’s screen.
Because of this, these plugins are rather worthless in Team Create because they display old data until the user commits their changes.
It would be nice if
.Source behavior was changed to show the client’s version so I wouldn’t need to update my plugins, but adding a
.UncommittedSource or something would be fine as well.