Cursor highlights everyline on a single click VSCODE - visual-studio-code

When ever i open VsCode in my PC, It automatically higlights all the lines in that particular file. When i double click it selects the word i clicked on but as soon as I single click on the text it selects everything again.
I have tried Restarting VsCode and my computer but cant seem to figure it out.
Here is a loom to help understand what exactly the problem is
https://www.loom.com/embed/617f4e958e694a09a09fb3fa038649ce

The problem was that the SQL Tools extension was highlighting all the queries. so by simply disabling it in the VsCode settings the query highlighting stopped
SQL Tools Extension

Related

vscode: pasting autocomplete with return key sometimes doesn't work

VSCode often suggests symbols as you type e.g. a variable or field name. When the correct variable name is suggested, usually I can press return to paste the suggestion.
This used to work all the time, now it only works often. And it's driving my crazy. Now, sometimes, when I press return, it actually enters a return character instead of the selected symbol.
Any ideas how to troubleshoot?
Relevant info:
I'm writing rust, with the popular rust-anayzer extension.
I'm on Ubuntu 22.04 LTS
Not sure what I should google for, or where to look for potential problems.
I had this issue before.
One possible reason why VSCode is occasionally inserting a return character instead of the selected symbol is due to conflicts with keyboard shortcuts. It's possible that another application or system function is also using the same keyboard shortcut as the "Enter" key, causing it to be triggered unexpectedly.
I solved it by resetting VSCode settings to their default values.
You can do this by going to the VSCode "Settings" page (File > Preferences > Settings) and clicking the "Open Settings (JSON)" button at the top right. Then, delete all the contents of the JSON file and save it. This will reset all your VSCode settings to their default values.

Visual Studio Code Jupyter Notebooks: Keyboard shortcuts not working

I am trying to get the integrated Jupyter environment up and running for my VSCode installation. I have the Jupyter extension enabled and can edit and run Python and Markdown cells without issue. However, none of the default keyboard shortcuts work when I am in edit mode. For example, in the below screenshot, I am trying to advance to the next cell using 'Ctrl+Alt+]' but nothing happens when I am in the editor. I believe the criteria for using the shortcut in the "when" column are met which is why I am confused. Am I not in the right context for the shortcut, or am I missing something?
https://imgur.com/a/HjIxAoX
I tried all the stated keyboard shortcuts, making my own keyboard shortcut, reinstalling the extension, looking for similar issues online. This issue does not appear to exist in the same form here.

VSCode - Disable selection on auto-complete suggestion

Whenever I use autocomplete, VSCode automatically puts whatever I type in a selection, it didn't happen before and it only started happening recently.
Here's what happens:
I type something like this and suggestion comes up:
Then I press enter to auto complete:
All of this is fine, but when I start typing in the quotes:
VSCode automatically puts my text in a selection. This causes multiple problems. Suggestions get disabled in selection and I have to press Esc everytime I want the selection disabled.
Is there any way to fix this?
The question was already answered by #Anton Solomin and #devanil. The issue is VS code auto-suggestion is not working when text is highlighted, because some of your code snippet is preventing quick suggestion by VS code.
So just tell VS code that don't disable quick suggestion if some snippets askes you to do it.
Go to VScode settings page, in settings search bar type editor.suggest.snippetsPreventQuickSuggestions
Uncheck Controls whether an active snippet prevents quick suggestion

is there a way to toggle search window results in eclipse

I am not sure if this is a bug, I tried uninstalling and reinstalling eclipse but seems like the problem has been saved in cache somewhere. Whenever I do a file search or C/C++ search with eclipse (either by clicking on the icon, or by typing ctrl+H), I do not see a search window pop up with results.
Same thing when I right click on a term and look for references or declarations in the workspace/project. I only see the occurrences Highlighted in the files, but that means I would need to manually check each file, which is just not doable. I also tried resetting the perspective, no luck!
Results in highlights, but no result window on the right side like there normally is:
I do not understand why this happens, I wonder if I disabled the search windows with a shortcut, this already happened with disabling the breakpoints and it took me a while to figure it out. Is there a way to toggle the appearance of the window? And if it really is a bug, how can I destroy all of the program's cache, because uninstalling by itself didn't work, there was a few settings that remained with the fresh installation.
Thanks!
There is a setting in the Search Preferences:
Window->Preferences --> General->Search
Then the search view should open up after starting the search.

Choose-Command popup in Eclipse

I would like to ask if there exists some functionality in eclipse where it's possible to choose all available commands, instead of having to remember all the shortcuts.
Something like the command palette in sublime text 2. Where you by pressing ctrl+shift+p (windows/linux) get an input popup box where all availble commands can be choosen.
Does such a feature exists for eclipse, or should I develop it by myself?
Thanks in advance.
I just bumped into this feature by accident but looking up to see if I figure how to get to it. it looked like it popped up when I started typing after having launched eclipse without focusing on any particular view... more to come as soon as I find out for sure.
EDIT: Apparently when you first launch Eclipse the focus is on the "Quick Action" search box on the top right of the tool bar and that's where you can start typing command names for it to list and let you pick in good Sublime Text style. Not sure how to shortcut into the box other than clicking it, but apparently there's the feature.
EDIT#2: http://www.vogella.com/tutorials/EclipseShortcuts/article.html#shortcuts_overview describes Ctrl+3 as being the shortcut to get there, on the Mac it translates to Cmd+3.
I haven't been able to find anything, so I have started on developing my own plugin.