Visual Studio Code can't open a folder on MacOS - macos

so I wanted to switch between projects in VSC on my MacBook Air (macOS Monterey) so, like usual, I went for a top bar, selected File, chose Open Folder. But then the Finder window that was prompted stopped responding for my touchpad clicks. It does respond when I try to crawl through folders with my keyboard but at the end I can't choose the folder to open. Any advice?

I'm also experiencing the same issue on my M1 Mac on OS Monterey 20.6 in other applications as well as VS Code. The only solution I found is the workaround posted here: https://discussions.apple.com/thread/253580300
Simply adjust the Finder window size by hovering the mouse over the corner/edge of the window then click & drag. This then makes the Finder window responsive to mouse clicks.

Related

Is there a way to use PyCharm on multiple monitors

I'm using PyCharm with multiple monitors on Mac OSX (10.10.5), normally you can drag windows off to a separate monitor. In PyCharm that works, but they (and in particular the Run window) snap back to the main monitor.
I've only seen this on the latest PyCharm 5 CE though its possible older versions also had the problem. I've searched all the settings and searched online, but can't find a setting that makes the window stay where it was placed.
Right click on the tab and select View Mode as Window.
Then you can move the window to another monitor.
It's crappy behaviour from the best python IDE out there.
There is a OSX solution but i'm not sure if you will like it:
You can enable old style multiple screen support again in OSX by going to System Preferences, Mission Control and uncheck "Displays have separate spaces". Now your floating windows will not snap back and you can even extend your PyCharm main window over the screens.
The downside of this solution is that you'll have the OSX dock and main menu only on your main monitor. I hope Jetbrains will fix this behaviour soon.
Another way to achieve what you want is to open multiple instances of the project. When you try to open the project for the second time you can choose "open project in new window". You can drag the new window to the second screen; it won't snap back to your primary monitor.
For Ubuntu and Windows users landing up here:
Press Shift + F4 or
Right-click and select 'Move Tab to New Window'
Drag the newly created window to the next screen
The best option is to detach an editor window and drag it to your second monitor.

Change Android Studio Icon in the Mac OS Dock

First up, I am not sure if this is the place to ask. Since there isn't a lot of Android-Studio tags on Super User and I know that a lot of people uses Android Studio on StackOverFlow. So please correct me if I'm wrong on the comment section to save me from the down votes.
So...
I tried changing the default icon of the Android Studio IDE on my Mac and I was able to do it. The problem is when I open it, it reverts to the original icon it has, then when I quit the IDE it returns to the icon I selected. Is it possible to make it always stay with the same icon I pasted in Finder Get Info?
Here is the icon I changed it to:
But it changes to this when it is opened:
In Mac OS X, there is an extra file for icons,
very commercial software always loads this file.
When you right-click the application "Android Studio",
and click on "Show Package Contents", then navigate to
Contents > Resources and replace "Android Studio.icns"
with an icon you created in a photo-editing or illustration
software (export to .icns or use a .icns icon converter).

Tabbing between Xcode project windows?

Basically I am supposed to press Command + the [`~] button that is above the Tab.
This question has been answered twice here:
Tabbing between Xcode projects?
and
Navigate Between Projects in XCode 4.0
But it just wont work for me, has anything changed in the xcode versions? or the way the mac behaves?
When I press this combination all I hear is the "invalid" sound.
I am using the newest Mac OS mountain lion.
Sorry if this belong to the super user stack overflow I just figured more Xcode users would be found here.
I can do the swipe on the mouse pad to bring the screen where I see all the active windows for the current application... but this is much slower than just tabbing between the 2 projects I'm usually working with.
Thanks
Do I infer from your comment about using the three finger swipe (for Mission Control) that the second window is not on the same desktop as the other windows? The command+` sequence only jumps between windows on the same desktop, not between different desktops (which is not to be confused with two physical monitors, which you can jump between, if you have multiple monitors hooked up to your computer).
The inability of command+` to not jump between desktops is a little curious, because command+tab, which jumps between apps, does go across desktops. If you want to jump between desktops, you can press control+1 or control+2 to jump to desktop 1 or 2, respectively. It should be noted, though, that while that might be a good alternative when trying to jump between your two desktops, though it admittedly selects the last active window in that other desktop, not necessarily a window from your current app in that other desktop. Also control+left and control+right let you jump between desktops, too.
This is a Mac OS "feature", not an Xcode issue, I believe. The command+` ability to jump between windows (but not windows across Mission Control desktops) is the same behavior across the Mac OS.
Update:
If this keyboard shortcut is not working at all, in any app, even within a single Mission Control desktop, then you don't need to worry about Xcode settings, but rather focus your attention on the keyboard settings:
You might want to look at your "Move focus to the next window" keyboard shortcut. There have been reported problems of people with international keyboards not getting this to work properly, but by clicking on (and thereby selecting) the command+` graphic, you can try using different keyboard shortcut, and see if that does it for you.
I have mountain lion as far as i know.
How about this?
control + down
You'll get the current application windows.
Below them there should be a horizontal list of recent projects for Xcode (both opened and closed). With arrows left or right choose the project (it should be highlighted with blue) and press enter.

Resizing debug bar freezes Xcode 4.3.3 on Retina MacBook Pro

I have been using Xcode 4.3.3 for a few days on my retina mac (Lion, of course). At work I always have my Xcode window on a Cinema Display and have never experienced any problems. However, I threw an Xcode window onto the pro's display and tried to resize the debug bar - Xcode hangs. 99-100% CPU and the cursor turns into the rainbow wheel of death. I tried deleting everything in ~/Library/Developer/Xcode/DerivedData because that has cleared up all of my issues with Xcode in the past, but that's a no go. I want to do some iOS development when I am not at work, but this makes it pretty hard to do since I don't have a cinema display or other monitor at home.
Here's the sample from the Activity Monitor:
http://pastebin.com/2Suz1b9v
I figured it out. By default, Apple opens Xcode in a resolution optimized for the Retina Display. You can force XCode (or any other application) to open with a lower resolution by doing the following:
Quit the application if it is currently open.
In the Finder, choose Applications from the Go menu.
In the Applications folder that opens, click the application's icon so it is highlighted.
Choose Get Info from the File menu.
Place a checkmark next to "Open in Low Resolution" to enable Low Resolution mode.
Close the window and double click the Application to reopen it.
And it works!

Xcode window positions when switching from dual to single monitor

When I'm working at home I plug my MacBook in to my 20" monitor as a second (right side) monitor. I do all my editing in Xcode on the larger monitor, and leave the menu bar, debugging and documentation on the laptop's monitor.
The problem is when I disconnect from the second monitor and want to work on code in "laptop" mode. Now, whenever I open a file for editing, it shows up almost entirely off the screen and I have to drag it over to edit it. I understand (sort of) why this is happening, since I last had it open in a different monitor. What I'd like to do is reset the window positions in Xcode so the edit windows show up completely on the laptop monitor. Any ideas on how to do this?
I'd even be willing to nuke entries out of the preferences (or set up an applescript to do it) but the xcode plist is inscrutable to me.
Right click the project in finder, select show package contents, and delete the two username.* files. Its not automated... but it works.
Additionally if your using some kind of version control system you probably want to add username.* to your ignore pattern.

Resources