refactor: move registering AI completion out of extension.ts
This MR moves implementation details of registering AI completion into a separate class, out of the activate()
and out of extension.ts
.
We try to keep the extension.ts
file minimal because it's an entry file to the whole extension, and it needs to register/initialize all the components.
Edited by Tomas Vik (OOO back on 2024-11-19)