Green play icon has disappeared after fresh install - visual-studio-code

I have recently changed my computer and now that I have reinstalled everything (including Miniconda3 and VSCode), I don't understand why the green play icon (top right corner) is gone. Right-clicking in the editor gets me the option of running current code in terminal, so the interpreter is linked right, but no green play icon.
Am I missing something? Do I need to do something particular in order to get that simple button back?

It was actually the version. My organization had an old version in its software center, I had to get IT manually update my VSCode to the last version (1.51.1) and everything is fine.

Related

How to get rid of GitLen+ Pro screen in VS Code?

I installed GitLens in VS Code. Then it asked if I wanted to try the GitLens+ features. I clicked "Yes". Now I am stuck at the welcome screen and can't get past it. Any ideas how to get rid of this annoying screen?
Uninstall gitlens extension. Productivity extensions shouldn't reduce productivity by putting up adds that can't easily be closed.
I had the same problem, but I was able to solve it by following the steps below.
Open the sidebar extension
Click the down arrow to the right of the uninstall
Install another version
Install 11.7.0
Reload
But there was no Gitlens in the sidebar
So next
"git lens: show welcome view" in the command palette
Select "git lenses layout" in "view" of "quick setup"
Gitlens is displayed in the sidebar
Then install the latest version
Gitlens is displayed in the sidebar
I hope it helps you even a little.
Go to VS Code command Pallete and select GitLens+: Sign out of Gitlens+
that should get you to the previous experience.
you can also use the the VSCode Command Pallete to display the views you want, such as
I think I had the same issue on Windows (now I'm on my mac) so I went back to Windows, created a new account, and started the trial since logging off of my account on Windows didn't result in that scenario.
I couldn't reproduce it on Windows either.
I'm thinking that might be a glitch, I'm sure you already tried to close VSCode and open again, so, maybe try to sign out and sign in again.
If you want to remove the "home" view, use the elipses on the top right and untick it. Also, check if the other views are enabled.
The problem here is that when we install GitLens extension then all the GitLens features and buttons are added under the generic source control tab (Ctrl+shift+G). Even though GitLens creates a new tab of its own and it looks like all features and buttons are hiding behind the welcome screen. This is not the case and everything but the welcome screen is under the generic source control tab. Poor design choice indeed.
Hide GitLens+ Features from the Command Palette GitLens+: Hide GitLens+ Features
To restore from the Command Palette GitLens+: Restore GitLens+ Features
Step 1. Uninstall GitLens
This avoids fiddling with settings to try to stop it being nag-ware.
Step 2. Install Git Graph
This has the nicest "railway-track" display of commits that I have come across, although the dev seems to be not responding to contact during 2022.
An alternative is Git History, which remains under active development, although its railway-track display is less compact and efficient.

No Tile Palette option available in Unity editor

The Unity documentation clearly shows Tile Palette available under Window > 2D.
But I don't have the option available:
Where can I access the Tile Palette menu?
I'm on OSX 10.13.6 and Unity version 2019.2.1f1
#AJP I was just having a similar issue using 2019.2 Personal.
I found that I needed to add the tile map package to the project, then "Tile Palette" appeared as an option under "Window".
To do this:
Go to Window > Package Manager.
Click 2d Tilemap Editor on the left of the pop up.
Then click install in the lower right hand corner (Install will be replaced with "Remove" once installed).
2dTileMapPackage
Update 2020/08/03
The issue is fixed in Unity 2019.3 and beyond, where the tile palette option shows up as expected on iOS, making it likely the issue was caused by a bug in 2019.2
As per AJP's own findings: Tile Palette is not available on Mac OSX. But if it was this would be a work around for any menu not showing up in the toolbar.
(I could only test this on windows, but I assume this works on a mac aswel, under the same locations.)
Under Edit there is the option "shortcuts". Go into this window and search for "Tile pallete". Click the Tile palette command and set your custom shortcut. You should now be able to open it without it showing up under the Window > 2D tab.
If it doesn't show up there either then my only guess would be that it isn't installed in your current Unity version (which appears to be the case on mac OSX)
If you're like me and no solution is working please READ THIS!
The problem is with Unity Hub and not Unity as a whole. I discovered this late late last night when I was reinstalling for the 5th time.
On my 5th install and reboot, I opened "Unity" instead of "Unity Hub" and sure enough there it was. I closed "Unity" and opened "Unity Hub" and sure enough when I booted into "Unity" it was gone. There is something wrong with the back end loading it would seem when loading from Unity Hub.
For a problem that seems to have plagued people for years. I'm shocked Unity developers haven't come across this solution and patched it.
You will have to install the according package like RobC and Jere already mentioned..
It's the same if you miss Sprite Editor.
You just have to install the according package which in your case is 2D Tilemap Editor
Window > Package Manager search for the according package,
in this case 2D Tilemap Editor.
If you miss the Sprite Editor the package to install is:
-"2D Sprite", I guess

Visual Studio Code window is not appearing

I've encountered a very strange bug with Microsoft Visual Studio Code. I've been using VSCode for a few months now and never had this issue. When I open VSCode, the window just doesn't appear. The app is definitely open, because when I hover over the icon on my taskbar I can see what is being displayed in the app:
Unfortunately, when I click on it, the window does not appear.... I've uninstalled and reinstalled, deleted cache, tried older versions and nothing has worked. Has anyone else encountered this and fixed it? Any advice?
hover over VSCode icon in taskbar
right click on it
click on "New Window"
That should do it.
I had something similar. It appears that the window is just off-screen. I've used my DisplayFusion display manager - to move windows to center/top where I could handle it myself. I expect it'll also work using <Win> + <←> (maximize window to left side of screen).
In my case, the issue went away when uninstalling the GlassIt-VSC extension. I tried modifying the opacity of the window and then it disappeared. I highly suggest you try uninstalling this extension.
In my case I had connected HDMI cable but due to power off my monitor was off, but when I disconnected hdmi cable; VS code visible on my screen.
Got the answer since no one was helping.
Go to view.
Click solution explorer.
It should show the name of your project.
Click the small arrow at the beginning of the heading of your project.
Click source files.
Click yourproject.cpp.
Thank you.
I encountered a similar issue with a plugin called GlassIt while I was playing with a property called "glassit.alpha" somehow it went to 1 (possibly I changed it accidentally) and nothing showed up. (here's an image where you can slightly see that I set alpha to 20)
what i did was to just edit the %appdata%\..\Roaming\Code\User\Settings.json and set "glassit.alpha": 1, to 255
UPDATE I just realised there was already an answer I didn't see while I was writing this post
I had this issue during a remote desktop session and could bring the VSC window back via hitting F11 (via the onscreen keyboard in my case, since the F11 key on my keyboard was being captured by the host system).
In my case, I have a dual monitor setup, and the laptop was in clamshell mode. However, the laptop's built-in monitor was recognized as a third monitor, and VsCode was going there.

Complete Removal of Eclipse plugin

I use Eclipse Neon under Windows 10.
I installed a plugin (MonjaDB) using Eclipse Market Place. As I didn't find the plugin to be very useful I uninstalled it using Help->About->Installation Details->Installed Software->Uninstall. Sadly, however, this didn't seem to fully remove the plugin.
I now have a small red square on the right hand side of my workspace in the shortcut toolbar. This cannot be removed using the close option. I went so far as to remove my installation of Eclipse and the .eclipse directory in my home area but after a reinstall the square is still there.
Presumably this means that it is somehow associated with the project in my workspace?? Does anyone have any ideas how to remove this annoying square?
EDIT:
I have noticed two things
The MonjaDB perspective is hanging around somehow and
If I press the little red square on the right it opens an empty tab in the tab set to the right (where mylyn sits) with the title of DB Tree but I cannot remove it.
I have added three screen shots
MonjaDb perspective Partly Active
It seems like your current perspective is the one that was uninstalled. Just try opening a new one via the Open Perspective toolbar button that's close to thevred square, and then you can try right-click > Close on the red square.
At least a part of this is intentional...when the implementation class of a view no longer exists we leave the view 'open' but are supposed to show an "Error Part'. The reason to leave it up is to handle cases where a user has installed a new eclipse and opens his old workspace before installing the extensions. If we were to remove the views the user would have to set up their perspectives again once they had installed the extension.
Note that resetting the perspective won't work because the class implementing IPespectiveFactory no longer exists.
Closing the perspective and opening a new, different, one should work. If the perspective you open has visible views that are no longer available you should just close them.

Eclipse: workspace is completely invisible

Something quite strange has happened: The whole Eclipse main window disappeared while I was debugging a Play Framework project. The Eclipse symbol in the applications bar still shows up as usual (from where I still can force Eclipse to quit).
My System (Ubuntu 14.04.) still behaves as if Eclipse was there, e. g. other applications get unfocused when choosing Eclipse in the applications bar. Meanwhile I have re-started Eclipse (that didn't help) and even re-started Ubuntu (still the same behaviour).
When I start Eclipse the workspace selection window shows regularly up. If I select another workspace, it also shows up regularly (I have created a second one to test that). Eclipse even still reacts properly on any shortcut as well as well as F10 & F11. It seems like the Eclipse main application window was "transparent". Therefore I assume that it is a problem of Eclipse resp. its workspace rather than an Ubuntu problem.
Does anybody have an idea where to maybe re-configure the workspace? Or is there even a secret function for all that?
Thanks a lot!!
Meanwhile I was able to re-get the window: I clicked on a shadow effect that sometimes showed up. I resized that shadow with my mouse. As an effect the Eclipse window top bar (the one above the menu) showed up again. Afterwards I could "pull out" the window from the bar - and there it all was again... But I have still no idea, how that happened - and what might be the solution if someone runs into that issue without having a shadow.