with open suse i used to open folders with right click > open with dolphin or just right click > open with visual studio code the entire folder, i wonder why it doesn’t work here in manjaro. I’m on kde version and if try to open up with visual studio code i can see the application on the application bar trying to open, it shows a spinner but it doesn’t open up.
I tried to search here on the topics and on google but i can’t figure it out.
If you can’t open folders with Visual Studio Code in Manjaro KDE, check your default applications in system settings. Ensure Visual Studio Code is set as the default for folders. If issues persist, try launching it from the terminal using the code command to uncover any error messages.
This is very confusing… not helped by the complete absense of Captial Letters and/or punctuation.
From your title, it would appear you are trying to do this with Konsole - which would never work.
If you’re trying this In Dolphin, you can use the context menu to ‘open with…’ and if ‘Code’ isn’t visible there, this also works with my current favourite - Kate.
If you’re getting a spinner, then there’s a problem with your installation of visual studio code. We have it listed in the repositories as ‘code’ and so you could just try launching it from your terminal.
The best solution for this might be to check what you installed - the repositories have it listed as ‘code’ and so you can do it simply by opening Konsole (not Dolphin - but if you do it in Dolphin press F4 first to get the terminal)
code - paste the output here…
or perhaps pamac install code and see what output you get.
In the future, be more specific: how to get to the default supplications, how to ensure VS Code is the default, and how the OP should post their results…
The usual desktop file for visual studio code contains an option to handle folders but for some reason using this option makes all folders open in Visual Studio Code.
I don’t think this option is a part of the desktop file installed with code package.
Note that I’m using using Code - OSS but it should be the same.
Right-click folder in Dolphin, Open Folder With → Other Application…, choose Code - OSS, it works.
To add Code - OSS (or any other application) as an option for opening folders in the right-click menu, so that you don’t have to go through the Other Application… dialog;
System Settings → Applications → File Associations
In Known Types go to inode → directory and add the application
Did the original title get changed? I thought the original question was specifically about using a mouse right-click in the Konsole terminal emulator to open a contextual menu, and then selecting Open Folder With > Dolphin. This should open a Dolphin window whose location is Konsole’s current working directory. This works just fine for me, and I do not believe I have made any modifications to the settings to specifically allow this behavior.
If this is indeed the OP’s problem, then I think he/we should focus on the simpler Dolphin issue, and leave the (likely related, but possibly more complicated) VS Code issue for later.
More steps are needed to keep it in the list… as Code might not be listed as an option to open with…
Right click, then go to keyboard, press ‘o’ twice (Open with… Other application).
Type ‘code’ and select (in my case ‘Code - OSS’ shows up under Development and Utilities - same thing)
Press Alt+R (or click to ‘Remember’ to keep it in the list of options).
Right click > Properties - and where you see ‘Open With…’ select ‘Change’ where you can take it down from the TOP of the list - so your folders will still choose Dolphin to open by default.
So I’m very curious why other people aren’t getting the same results.
This isn’t from a context menu, the context menu opens the current path of Konsole - this is by hovering and getting the item underlined, then just left clicking to open - but there’s also the context menu which I also tested, and which will also open with Kate and Code.
Relevant settings: (`Ctrl + Shift + , )
Profiles>
Independent profile settings, so click to select your current profile:
Mouse>Misc: Select to Underline links/files and Open files/links by direct click.