Visual Studio Code extension alternative for GitHub copilot - github

I recently came across GitHub copilot which finish the code and also give a short explanation of what is happening in the function, but there is a waiting list for us to use GitHub copilot. So I want to ask is there any more alternative which can do that for us?

The waiting list have been removed now, you can try now.

It's Oct.2022 now and Copilot is not free anymore. There is another open-source alternatives to it called CodeGeeX. The code is available at https://github.com/THUDM/CodeGeeX. Check out the VSCode extension at https://marketplace.visualstudio.com/items?itemName=aminer.codegeex
Also, the model weights can be applied and download.

Related

How can I hide "start discussion" line in vscode

I want to hide the vertical line as shown in How to hide/disable VSCode LiveShare "Start Discussion".
However, since I have not started a Live Share session, I do not know how to do this.
I would appreciate it if anyone here could help us solve this problem!
I am a new user here and it doesn't appear I can comment yet, so I am posting this as an answer instead, apologies if it is not applicable or for any confusion: More information on what extensions you're using would be helpful. Do you use the GitHub Pull Requests and Issues extension? I recently had the same issue you describe (and had not started LiveShare) and after examination I concluded the vertical line related to the GitHub Pull Requests and Issues extension (which I was not using in practice anyway) and so I uninstalled the aforementioned GitHub extension and that eliminated the unwanted discussion vertical lines. So, if you've been using aforementioned GitHub extension, perhaps the solution relates to that.

Is it possible to view VsCode extensions history?

Is it possible to see which extensions I have recently removed in VsCode?
I removed a whole bunch of extensions today, and discovered that I removed one which I need for expo to run, but I do not know which one it is.
Any help would be appreciated.

What is the difference between many cursor-word-related commands in VS Code?

I am customizing cursor-word-related commands with new keybindings. And there are many cursor-word-related commands in VS code. I know the command with Part has something to do with _ in words in a VS Code GitHub issue. But what is the difference between all the other commands? Say, what is the difference between cursorWordLeft and cursorWordStartLeft?
I have been googling for a while, but I cannot find docs or anything official on this topic. And it is really timing-consuming to test out every command. So is there anything on this topic that I can look into?
Also, which two commands correspond to the operation we normally do with Ctrl+Right and Ctrl+Left on Windows?
I'm going to answer your question partially. The difference between cursorWord vs cursorWordStart is that cursorWord is what the VSCode developer team created for the VSCode editor (they can make it work however they want). While cursorWordStart is essentially what Visual Studio IDE uses and it was added to VSCode, made to work exactly the same (so they don't touch it).
My answer is expanded upon what Alex Dima posted on GitHub (a Microsoft developer working on VSCode). I don't think it gets much more official than that. Source

How can I show all non-theme extensions installed in VSCode?

I have many themes installed in visual studio code. Now and then, I want to be able to look at all the other extensions (everything that is not a theme) so that I might disable one or two.
How can I do this? The documentation shows how to use filters, but I don't see any way to tell it to NOT show something.
This filter shows me all the installed themes:
#installed #category:themes
I've tried using ~ and ! and NOT in various places, just guessing there might be a feature implemented to understand something like that, but they don't work.
This is a know issue, currently at the backlog waiting for development.
You can track it here.
This need has been raised here. Note in the last comment:
#49374 is tracking the feature of having exclusion filters for your scenario of seeing non theme extensions.

Listen for editor commands in VS Code

I am building an extension for VS Code. My extension will show the key bindings associated to a recently action (I am a fan of this for helping me learn key bindings).
Looking through the documentation there seems to be a way to access the commands in the editor, but no way that I can find to listen for actions / commands as they are invoked.
Is this possible with the current API? Or should I create a feature request in Github?
This isn't possible with the current release 0.10.3. I opened an issue in Github and was told by one of the devs that its not possible right now. It is a feature request for future versions. If it becomes available I'll update it here.