Themost common shortcut, "go to definition" F12 and "auto fix" ctrl+dotI tested it on another computer with 1.40.1. It works properly.I have follow the key binding troubleshooting guide. When I record my key ctrl+dot.It shows ctrl+oem_period. Looks like the OS is sending the correct keys to VSCode.
Press the short cut keys that are not working (in my case "cmd+k cmd+0" ). This will list all the instances of that shortcut keys. And there are probably multiple instances of the same keybindings with some of them being used by an "Extension" as shown under the "Source" column.
You may also need to check the when clause of the Keybinding. In my case, I was struggling with why "Command+R" wasn't reloading the window on my Mac. By right-clicking on the row of the relevant command in Keyboard Shortcuts, then clicking "Change When Expression" and removing the expression completely, the keybinding now works as expected.Source: -706215895
In my case, I have installed some "vim keyboard extensions" and others. so I have uninstalled all the extensions related to the "keyboard" i.e. "vim keyboard extension" and now it is working fine. it is recommended to check if you have downloaded any extensions for the "keyboard" in the extensions and uninstall it. It might solve the issue.
Extensions you add to VSCode also can override the ordinary behavior of shortcuts. I faced to this problem, I've noticed that the ordinary shortcut command + L which selects the whole line, does not work, and the reason was Live Server extension, which overrides that shortcut, after its deletion shortcut became work properly
I have tried many methods to solve this problem ,not every problem of mine got solved so I use this method after I cant find the solution.
you can first uninstall the VS code and then delete the .vscode file from C=>user=>admin=>.vscodeafter that reinstall vscode ,from my end its working fine after doing this.
In my case, my Ctrl keys were mapped to the Toggle extension and this extension could not overwrite one of my settings in the settings.json because I had pending changes that hadn't been saved. Once I saved the file, I was able to use the toggle keyboard binding again. I used the guidance from Martin above to determine the cause of the issue.
Woo, found my issue was Razor Naga stuff. After I updated some of the Razor apps (it has Synapse, Cortex, etc), this issue started happening. Now, I saw these apps are running in the background although I am not using the devices at this time, and once I quit them, VSCode went back to normal thankfully.
Control + z is not working in visual studio code.I have opened the VS code keyboard shortcut detector, ctrl can get detected, z can get detected, z+ ctrl can get detected, ctrl+ z failed. It seems after I press ctrl, z will get blocked. However, for others key combinations, they are all good in VS code.I even tried to use on-screen keyboard to input ctrl-z to VS code, still not detecting.
What I have tried:I have tried changing language to reset keyboard, not workingI have tried clean boot of win 10, not workingI have tried creating a new windows user, it works! But, I don't want to use another account and migrate all my data and programs, besides, I don't want to lose my current account email.
I had the issue as well. For me it was that I have a German keyboard layout (z and y changed position in comparison to English layout). While typing in the editor z and y were in the correct position but for whatever reason they were flipped again when hitting ctrl in advance. So I worked around it by changing the commands. Typing ctrl+z resulted in ctrl+y and vice versa.
I am currently trying to migrate to VS Code (on Mac) for creating and editing tex files. Everything has been working just fine except that, when I build and preview, I do not seem to be able to use the "Go to source" feature. In other words, I have a side by side split window, tex file on the left and PDF on the right, and what I wish do is to be able to click on the PDF preview and be taken to the source code on the left. Likewise, I would like to click on the code and be taken to the PDF on the right.
I have the LaTeX Preview extension installed which is supposed to do that, but the 'Show in Preview' button is absolutely inert, as well as double-clicking (or ctrl+click) the PDF. I have even considered the hypothesis that the name of the files might have had special characters, so I ran a test with a file named 'test.tex', and it still doesn't work.
Another possible cause for the problem is the (automatic) deletion of the synctex files. Some people dislike the cluttering due to the number of auxiliary files that are generated, and might modify the tex build to remove them. If the synctex files are deleted, this functionality is no longer provided, and the fix is simply to keep these files. I feel like this is a particularly easy problem to unknowingly create for newbies (talking from personal experience here), but did not find this answer on StackExchange.
My story with Visual Studio Code (aka VS Code and vscode) hasn't been the typical love story but more of a toxic relationship. We've broken up and got back together so many times I can't even tell. But after all this time and all the experience behind us, I think we're both more mature now and it's the perfect time for this relationship to finally work.
Jokes aside, it's a fact that when we get used to working with a specific tool, in the end we all tend to fall in love with it. And this is perfectly normal, you feel more productive and everything feels really easy to do. You can do the exact same thing with many different tools, but with your favourite one you just do it faster and better, it boosts your productivity.
When I began to work as a developer, my IDE was Eclipse until one awesome day I discovered the JetBrains suite and it was love at first sight. Since then, I've been working mostly with IntelliJ for the backend stuff and WebStorm for the frontend.
I just used VS Code for personal projects mostly to try something new, both the IDE and the project itself. But every time I tried to use VS Code in my job, I ended up frustrated, but it was because I wasn't feeling productive. The truth is that I wasn't using the right setup for me.
At Codegram most of the team use VS Code, on twitter there are many people that I follow (and that I look up to) that use it too, so the real question is, why not? I had given several tries in the past, why not another one?
I can't count how many times this has saved the day. With WebStorm or any JetBrains IDE you just right click on any file and go to Local History > Show History and a new windows pop ups with all the changes you've made, so if you want to back an hour ago, you can! Just a minor reminder with this plugin, add .history/ to .gitignore.
You can open the terminal on VS Code with a shortcut, but in WebStorm there's always a tab for that. For once I got used to a button instead of a shortcut. This plugin does the trick by adding a toggle button to your interface.
With WebStorm you could create components with the UI, so you could add a new Vue component, or Angular component, with the base structure empty in the created file. There are several snippets for VS Code depending on the framework you work with. In my case, I work with Vue so I'm using Vue VS Code Snippets. I also have Vetur for Syntax-highlighting among other features to help coding with Vue.
One of the things that made me go back to WebStorm in the past was the shortuts. There are some keyboard shortcuts that once you get used to them, you just can't change them. Well, you could, but you'd rather not. So what I did to make the migration process less painful was to keep the shortcuts that I use the most.
I must say that there is an IntelliJ IDEA keybinding plugin, but it has a huge bug in my opinion. You cannot open files with a shortcut! In the JetBrains suite you hit Double SHIFT to open a file, the equivalent in VS Code would be CMD+P. The problem is that Double SHIFT is not a possible command in VS Code, so since the plugin overrides the VS Code keymap, you end up without being able to open a file neither with Double SHIFT nor CMD+P.
The first one wasn't doing me any good really, cause I was so used to JetBrains UI for Git that it made me dependant on it. It boosted my productivity, and I find features like Project Update (CTRL/CMD+T) really helpful. This would do git fetch && git pull just with a keyboard shortcut. But in the end you forget what's really going on and that can be dangerous.
Opening files with Double SHIFT. It might sound silly, but once you get used to the double shift everything else feels like it's taking too much time. I still hit Double SHIFT a lot of times before going with the CMD+P ?. There is an issue open, hopefully they will pay attention to it some day! (which probably would happen once I'm used to the CMD+P command)
The fact that I can work without burning my fingers cause the CPU is using all the resources available ?and also that I can work without being plugged in all the time cause my laptop runs out of battery. ?
I never did pair programming before, and I have done it just a couple of times so far but it's a really nice feature to have. And especially helpful when you work remotely, so now that most people are working remotely due to COVID I think it's essential.
Even though I had it in the cons list as "lack of features out of the box", since it comes with no Git UI, I'm finding it really good for me, cause now thanks to the plugins I have all the visual support that I need but also I have control over git again through the command line. Just as I said above, I think that it can be dangerous to rely 100% on a GUI for git.
Finally, there's a tiny miny feature on VS Code that means the world to me. When it comes to formatting code, IntelliJ IDEA has so many configurable options in the .editor file, with VS Code you can just set a few of them in that file. That's why I used to think JetBrains did it better, cause it allowed you to set more options. There are other formatting options like formatting code based on ESLint or Prettier, the most used one. But in the end is usually a pain in the ass, people work with different IDEs, different formatting options and in my experience the result usually is a mess. When you do a Pull Request there are 100 changes and 99 are because of the formatting. Setting the "Editor: Format On Save Mode" to "modifications" has saved my life. With that set, it only formats the lines you modify! ?? How cool is that, right?!
3a8082e126