Solved completion issue with ASTs not being applied to the inner document if a file is not bound to a project.