( Ctrl + / ) Shortcut does not work properly in VSC - visual-studio-code

I am using Visual Studio Code on Windows.
ctrl + / does not work after a while I started VSC, so I have to restart in every few minutes.
Sometimes, it suddenly works again even though I didn't restart it, so I have no idea why is this happening.
Just in case, I've checked my keyboard shortcuts,
but nothing other than the default one is bound on Ctrl + /.
My installed extensions on VSC are listed below.
Beautify
Dracula Official
ES7 React/Redux/GraphQL/React-Native snippets
HTML to JSX
One Dark Pro
open in browser
I haven't installed any other extensions in my knowledge.

I had the same problem on Linux. Perhaps you have keybinding conflicts with the toggleExplaneMode function. This function allows you to deploy a more detailed description of tags or functions in the dialog box. I changed my keyboard shortcuts "ctrl + /" also attached to toggleExplaneMode and this problem did not appear anymore.
How to see keybinding conflicts - https://code.visualstudio.com/docs/getstarted/keybindings

Related

Updating vscode doesn't show user code snippets

Updating vscode doesn't show user code snippets.
If I move the cursor after entering the prefix, it appear only then.
This issue can be resolved by following these steps:
Close Visual Studio Code.
Go to your user snippets folder, usually located at ~/.config/Code/User/snippets (for Linux), %APPDATA%\Code\User\snippets (for Windows) or ~/Library/Application Support/Code/User/snippets (for Mac).
Backup your user snippets folder by renaming it to something like snippets_backup.
Reopen Visual Studio Code.
Check if your user snippets are appearing now.
If the above steps don't solve the problem, you can try clearing the Visual Studio Code's cache:
Go to the Command Palette (Ctrl + Shift + P on Windows, or Cmd + Shift + P on Mac).
Type in "Developer: Delete Settings File".
Select the option "Developer: Delete Settings File" from the dropdown.
Confirm the deletion of the settings file by clicking on the "Yes" button.
Reopen Visual Studio Code.
These steps should resolve the issue with your user code snippets not appearing after updating Visual Studio Code.

Visual studio code ctrl + ~ doesn't open terminal in KDE plasma

Currently on Ubuntu I'm running KDE version 5.18.8, and I've just started coding in Visual Studio Code, but when toggling the console, I just get an old notification on the top right corner of my screen informing me how old it is, not using the shortcut entirely.
*(I toggled the terminal manually in the settings)
Is this a shortcut I have to change in vscode or KDE? Since there isn't anything online I can seem to find for this. It's a bit of an annoyance.

Does Vim overwrite all my VS code keyboard shortcuts?

I installed the Vim extension from vs code marketplace just today to use it. I wanted to use Vim's shorctuts for modifying the code. I was unaware that using Vim would disable me to use VS code's shortcuts like Ctrl + K , Ctrl + O which opens a folder. How can I solve this issue?

Shortcut for Copy/Paste not work in VSCode

Now I'm using the latest Visual Studio Code on Ubuntu 20.04 and face the problem with the Copy/Paste shortcut. When I use Ctrl+C, it is not Copy the chosen code to the clipboard, it has been changed to Insert mode instead. And I even not be able to use Ctrl+X and Ctrl+V.
I have tried to reinstall the program but the problem still there. With other IDE, it still works normally.
So, please help to fix this problem!
look at
File -> Preferences -> Keyboard Shortcut
Or
Press Ctrl+k Ctrl+s
You may well be experiencing this bug... https://github.com/microsoft/vscode/issues/124296
Uninstall vim in extension of vs code.
Go to extension of vs code
You see a list of extension you have installed in vs. You should scroll through for vim extension.
click on vim extension.
click on uninstall.
Hope this solves your problem

Sublime Text 3 has integrated terminal?

I normally use the WebStorm IDE for Node.js and FE JavaScript development. However I was thinking of using Sublime Text 3 since I am running out of computing power on a crappy old Macbook Pro and ST3 should be lighter on memory and CPU.
However, my one hangup is that ST3 doesn't seem to have a command line terminal integration possible. I find this to be a very useful feature that's available in Eclipse and WebStorm.
I did some Googling and I don't see any great terminal integration plugins for ST3, is there such a thing or not?
Here is WebStorm with the terminal integrated:
Terminus does this. Supports both Unix and Windows. Works great. 👍
In View (on Windows)
Ctrl + Shift + P --> Terminus: Open Default Shell in Tab (View)
In Panel (on Unix)
Ctrl + Shift + P --> Terminus: Open Default Shell in Panel
Type exit to exit and close the terminal opened in a panel.
I installed the Sublime package TerminalView that can show a terminal window within Sublime in a separate tab.
It works with MacOS or Linux but is no longer actively supported.
Installation:
Open the command palette (Cmd+Shift+P on Mac, Ctrl+Shift+P on Windows) and find Package Control: Install Package
Search for TerminalView and hit Return to install.
The terminal windows has a few flaws (at least on macOS) as it seems to conflict with Sublime's keyboard shortcuts. I however use it only to automatically run unit tests when the edited program code changes. Therefore it works just fine. In that case it works best if I show the terminal window below the text editor. You can do so in the menu View > Layout > Rows: 2.
In sublime 3,
ctrl + shift + p search Package Control: Install Package
Search and install TerminalView
to set shortcuts,
go to Preferences -> Key Bindings
on right side Pane paste this,
[
{ "keys": ["ctrl+shift+t"], "command": "terminal_view_open" }
]
Now ctrl+shift+t is your shortcuts
I prefer Terminus and it's the first cross platform terminal for Sublime Text. Check this video it might help you
I tried Sublime package - TerminalView, quickly realized I couldn't copy paste things. Tried on MacOS.
Terminus(https://github.com/randy3k/Terminus ) looks good to me, it has two options
(i) opens in a tab(view)
(ii) opens also in a panel. (which I prefer most)
The below original answer is now outdated; see below answer by Svish.
I was wondering the same thing a while back, and I believe the answer is: no.
There's no good terminal integration in ST3, except, maybe, for Terminal, which simply takes you to the terminal from any given project folder.
Works ok, but not sure how much it really saves.
No way to have it in the ST3 window AFAIK.