Add tab auto completion to terminal
This can be achieved by leveraging the existing tab autocompletion mechanism of the editor. When the user presses tab, create a fake file with the contents of the current terminal prompt and send a "textDocument/completion" request to the language server.
If there's only one completionItem, complete the current prompt with its content. If there are multiple possible completionItems, display them on the terminal.
Issue: https://github.com/mathworks/MATLAB-extension-for-vscode/issues/104
Thanks for this pull request! We actually had this in our pipeline for the 1.3.3 release ourselves, although with a slightly different design. I'm going to close this pull request, but I'd be curious what you think about the difference in UX design approaches.