vscode editor with flutter give incorrect errors - flutter

While typing in vscode with flutter, I get incorrect errors. it seems the editors has incorrect text and the problem is solved only when i close and open the file again
It happens all the time now.
I attached image presenting what happens when i am typing code in flutter.
There is nothing wrong with the function but i get errors
When I close and open the evetyhing is ok
Tried allready to reopen flutter, reinstall flutter, flutter clean, reinstall vscode, download the project again from github

Related

Unable to cut or copy VSCode popups

I have been using VSCode for a long while now and am suddenly unable to cut or copy the VSCode popups that appear whenever you hover over something like a variable, class, function, module and especially errors.
This is a new issue which wasn't present earlier. Restarting VSCode or restarting the computer itself doesn't solve this issue. Is this an issue caused by changing keyboard shortcuts or cause of an extension??
Any idea on how to solve this?

Randomly the Save menu item greyed out when editing files in VS Code

I encounter the "Save" and "Save As" menu items greyed out randomly and regularly while editing files in VS Code. Been happening for a few years. Most of the time it's while I'm editing Golang code but it has happened for other file types. If I click on the x to the right of the file name tab for the open file, I then get the option to save the file. Ditto if I try and close VS Code.
So VS Code knows there are unsaved changes. Closing VS Code completely and restarting it "fixes" the issue until the next time. Did a search and I don't see any "recent" issues like this that others have experienced. Running on macOS. Happened under Big Sur, Monterey and now on Ventura. Currently running VS Code 1.72.2. I tried to narrow it down by disabling some extensions but it still happens.
Tried removing extensions. Still happens. Uninstalled and re-installed VS Code.

Visual Studio Code theme issue

I am irritated by this. I tried uninstalling all the themes (I guess), but still the theme does not seem to be working.
How do I fix this?
When the IDE is untouched for few seconds, this comes up like the old screen saver we had in Windows covering up the entire VS Code slowly.
It doesn't seem to be a theme in my opinion. Perhaps, some issue with the display driver.
You can always try reinstalling vscode, just make sure to sync your settings if you've customized vscode .
If the issue persists, you can try changing the graphics settings by selecting display settings from Window's right click context menu -> selecting graphics settings and adding VScode to the list by browsing to its exe location, and then select power saving to make vscode use the integrated GPU if you're on a laptop.

VSCode Shortcut Ctrl+Shift+e renders as unknown instead of navigating to explorer window

I am trying to navigate to the explorer window via Ctrl+Shift+e but this sequence of keystrokes is not recognizable by VSCode 1.55.2.
I checked this two ways. First, via trying to check what Ctrl+Shift+w and Ctrl+Shift+e were binded to via keyboard shortcuts (Ctrlk, Ctrls) and then recording the keystrokes to reveal what they were binded to.
You will observe that ctrl+shift+w is recognized. Then, in the gif, when I press ctrl+shift+e it renders as ctrl+shift+unknown.
Then, whenever in a saved open file in the editor, when I press ctrl+shift+e hoping that the explorer navigator opens up on the left, that does not happen. Instead the file becomes unsaved with an underscore e appearing in the file.
This is completely new and strange behavior of the editor. I did not encounter this before.
Any help is appreciated.
Edited to add update: VSCode folks indicate that this is a known issue. Ctrl+shift+e translates into insertion of an emoji, it seems. See their comment here.
Same thing happened to me, using linux (ubuntu).
I installed it from the snap store, and tried reinstalling from there and the problem was still there.
Uninstalled and installed it manually from de .deb package at their webpage and it was solved.
Maybe it's an issue they have solved in the latest version (1.15.8) but it's still unsolved in the snap version (1.15.2 in your case, i didn't pay attention on what was my version).
Same problem. Installing vscode from .tar.gz - works perfectly fine, installing from snap leads to unexpected behaviour on Ctrl+Shift+E

VS code annoying pop up

I am using VS code to do my development.
Can anyone help me to get rid of this annoying popup.
I get the following popup.
This info pop up get triggered every time when i open the VS code editor,
Even if i click Don't show again i am getting this pop up again everytime when i reopen the VS code.
Thanks in advance
Have you tried installing the Python extension?