I renamed my desktop directory and now cannot open it right - windows

In my computer desktop is named "Área de Trabalho", but when I am creating a project in the CLI, it does not go well because of these special characters. So I renamed the directory to Desktop in cmd with ren "Área de Trabalho" Desktop, now I can find my files but only when opening file explorer, when I open desktop GUI it is totally blank, do you know how to update this desktop path?

Open file explorer, then right-click on the desktop icon on your left side, where all the drives are listed, select properties, and a dialog box will be opened "Desktop properties" then select Location Tab, and you can update the path over there.
In quick summary
Open File Explorer - > Right-click on the desktop icon on the left side -> select properties -> Inside the desktop properties dialog choose the location tab & update the required path.
Thank you.

Related

Open folder as project in PhpStorm

When I install PhpStorm from JetBrains Toolbox app I do not have an option to open folders as project when right clicking
Sadly JetBrains Toolbox App does not provide such functionality. Only standalone installer has an option to make them right now. You will have to either use that... or create such entries manually.
https://youtrack.jetbrains.com/issue/TBX-2478 -- watch this ticket (star/vote/comment) to get notified with any progress.
To add an entry to the Windows Explorer's right-click menu:
you can use FileTypesMan by NirSoft or a similar tool.
or create such entry manually, e.g. see this comment for a basic .bat file: https://youtrack.jetbrains.com/issue/IDEA-114307#comment=27-2125363 (at very least it lists Registry keys where to create such an entry).
I found this from Jet Brains :
Click Open on the Welcome screen or select File | Open from the main menu.
In the Select Path dialog, select the directory that contains the project to open.
Drag the desired project from your file chooser right to the Open Project dialog without locating it there. The respective file in the dialog will be found automatically.
Specify whether you want to open the project in a new window, close the current project and reuse the existing window, or open the new project in the same window with the current one. Refer to the Opening multiple projects section for details.
and for the command line you could use this :
<PhpStorm> <path_to_the_project folder>
See Open files from the command line for more information.

MacOS + Visual Studio Code: add a folder to a workspace by path

I'm trying to inspect the code in a module found in a subfolder of /usr/local/lib/python3.9/site-packages/*.
The trouble is that Visual Studio Code only gives me the system finder view, to navigate to the folder, and I'm not quite sure how to get to the root to even find /usr.
typing the path in the search bar doesn't help
navigating to Macintosh HD and or Volumes still doesn't show me /usr or other common Linux folders located on the root filesystem.
This method should work in any app that uses the standard file dialogs:
In the Finder open a new window
Type Command-Shift-G or select Go to Folder… from the Finder’s Go menu
Enter your path, e.g. /usr/local/lib/python3.9/site-packages
You now have a Finder window showing the (parent) folder of where you want to explore
In VSCode type Command+O or select Open… from the File menu
A standard file dialog will open
Click on a folder icon in your Finder window, this can be an icon in the window itself or the one in the window’s title bar, and drag and drop it onto the standard file dialog.
The dialog will switch to show the dropped folder
Continue navigating as usual

How to change folder icon in C Drive

I want to change the folder icon in C drive. When I go onto the tab "Customize" in folder Properties, choose an icon and then apply, nothing happens.
You can use FileTypesMan,a nirsoft tool that allows you to do a lot of things.
Dowload FileTypesMan and open it.
Locate your type of file (like image, or folder for exemple)
Click on it and select "Edit Selected File Type"
Change defaut icon and confirm
An example for png file :
Example to change png type files

Associate folder with my application?

How to associate a specific folder(not files with extension) with my application in windows, so that when i double click on that folder it open my application?
I assume that there's no application starting when you doubleclick on a folder, because you cannot "start" it with "open with" either. But as a workaround you could create a shortcut to your application under [systemdrive]\user\[username]\AppData\Roaming\Microsoft\Windows\SendTo and start your application over the rightclick->"send to" menu.

how to show a file opened by xcode in finder

How do I find the location of a file opened by xcode?
Right-click (or Control + left-click) anywhere in the document that you want to find (or on its entry in the project navigator pane on the left), and select the "Show in Finder" option. Works in XCode4, at least.

Resources