Trusted project feature in Webstorm creates enormous friction, poorly implemented, doesn't respect Trusted Locations

When opening WebStorm from the terminal, “Appearance & Behavior” > “Trusted Locations" setting isn't respected.

The project is untrusted, I have to click “Trust Project”, confirm the prompt. Then it's still not trusted. I have to close the project and open it again from the terminal, only then it's trusted.

Compare it to VS Code, where you just type `code .` and you're ready to go. 

0
2 comments

Hi Jy 

In Settings | Appearance and Behavior | Trusted Locations, did you specify the exact path to the project directory, or a parent directory, for example? I am wondering if there is any difference between the two. 

As for clicking Trust Project not taking effect until you close and reopen the project, we are tracking this bug under IDEA-383375. Please consider following this ticket to receive updates on any progress.

Could you also collect the IDE logs via Help | Collect Logs and Diagnostic Data after reproducing the issue? This will help us identify the root cause of both issues. You can upload them to https://uploads.jetbrains.com/, just share the Upload ID with us here.

0

These paths are stored in the options/trusted-paths.xml file, located in the IDE configuration directory. In some cases, incorrect encoding or other issues with this file can cause the paths to be ignored.

Could you please locate this file and share it with us along with the logs?

After that, while the IDE is closed, try moving the file outside the configuration directory, then reopen the IDE and check if clicking Trust Project works as expected. 
You can also try manually adding a path to see if the behavior changes.
 

0

Please sign in to leave a comment.