The Analysis Service API supports this, but VSCode API doesn't directly. Related issue for VSCode [here](https://github.com/Microsoft/vscode/issues/10133#issuecomment-237775779).