Slightly embarrassing that I never noticed that there was further semantic handling concerning those statements needed regarding completion and symbol resolution:
with(X) {
bar();
}
equals
X.bar();
But yay, now there’s completion available when using this:
All members of X will be shown additionally in the completion list now.
Further info: http://dlang.org/statement.html#WithStatement