phpstorm IDE Could not save project: - ide

It's on the Ubuntu system.
I install the phpstorm IDE.
But when i use it do edit files and save them,it shows a error:
Could not save project:
java.io.FileNotFoundException: /home/project/.idea/workspace.xml_jb_bak_ (Permission denied).
If anyone know how to solve this problem, Please share your ways.
Thanks in advance

go to preferences, system settings -> then uncheck "use safe write" checkbox.

Related

Utility file not found. Please configure the Binary Path in the Preferences dialog

So I am setting up PostgreSQL on my PC by following Jose Portilla's Course on Udemy and when I had to restore a database by the name of dvdrental. It showed up the message
`Please configure the PostgreSQL Binary Path in the Preferences dialog.
What am I supposed to do now? Any and All Help is Appreciated
I had the same problem, I leave you the steps
Click Files -> preferences -> Binary path
ProgresSQL Binary path: c:\Program Files\PosgresSQL\13\bin
Click right DataBase-> Restore...
NOTE: https://www.youtube.com/watch?v=7cBkXKCY4Ew
2023 Update...
Add the path of the bin folder of PostgreSQL. For example: C:\Program Files\PostgreSQL\15\bin
If you are getting the, "Somethig went wrong" after clicking the Binary Paths Tab, Restart Your pgAdmin.

Intellij IDEA 14: Error Loading Project: Cannot load module cars-service

With my last restart of my mac I had a problem with IntelliJ IDEA project : the .iml file was deleted and I have
Error loading project: cannot load module cars-service Details ....
in the console.
Besides that, the structure view of the project has disapeared.
Here is a screenshot:
Finally, I imported my project via import project so the iml file was recreated.
Closing intelliJ. Deleting the .idea folder and re-opening intellij worked for me.
This happened to me this morning*, and fortunately there's a fairly straightforward solution.
Press Ctrl+Alt+Shift+S (or go to File > Project Structure...) and click Modules on the left of the window.
Click the green + above the list of modules then New Module. Select the type of module (Java, Android, Flash, what have you) and click Next.
Enter the details of the lost module. Click the browse button to the right of Content Root and navigate to the directory that contains your lost module. The module name will be populated with the directory name by default, but you can rename it without issue.
(*I... got a bit gung-ho with the old git clean -fd. I don't recommend it.)
The error has nothing to do with gems. Please try deleting the .idea directory and using "Open Directory" on the same directory again to recreate it.-- Dmitry Jemerov
↑an answer on intellij-support.jetbrains.com
This helped me. I just closed Pycharm, then delete .idea directory , then I open Pycharm again, and the error disappeared.
Please try File -> Invalidate Caches / Restart ...
Had a similar issue with PHPStorm (which is also idea based), caused by a renaming of my project. Solution was simple: I just needed to remove the corresponding line for the module declaration in file <project-directory>/.idea/modules.xml. Re-opening the project was not needed as it seemed to me, but I did it anyway.
Have had this issue with PHPStorm 2017.1.3.
IML file is necessary to load the project.
Locate the folder the .iml file used to be in > right click > Local history > show history.From there you should be able to restore that iml file
you can fix it by select your pom file. right click and then reimport

IntelliJ Cannot Copy Error

I am having an issue with IntelliJ, where it presents a modal popup saying
Error
Canot copy sourcedir/somejar to destination/somejar. Reason sourcedir/somejar (No such file or directory)
However when I do a ls sourcedir/somejar, I can find it.
Cleaning your IntelliJ system cache may solve your problem.
Go to File -> Invalidate Caches...
Then click Invalidate and Restart.
From their website:
"...the only way to solve some conflicts is to clean out the cache..."
Cleaning out the system caches causes a complete rebuild of all the projects ever run in the current version of IntelliJ IDEA.

How do I redirect IntelliJ's config path?

Installed IntelliJ, but when I try to open it, it says:
Config path '/Users/xxx/Library/Preferences/IntelliJIdea12 is invalid. If you have modified the idea.config.path property, please make sure it is correct, otherwise please reinstall the IDE.
I tried reinstalling to no avail.
This question is answered in the IDE FAQ document.
On Mac idea.properties file doesn't define these options by default.
You can try adding them manually.
To diagnose the problem do the following in the Terminal:
cd /Applications/IntelliJ\ IDEA\ 12.app/Contents/MacOS/
export IDEA_LAUNCHER_DEBUG=1
./idea
Provide the debug output. It will help to understand where the IDE may be taking incorrect properties from.

intellij navigate to file stopped working

So we have a large project and I use the intellij navigate to file cntrl+shift+n all the time. I don't know what happened but now when I try and use it - it can't find anything. I haven't recently installed any plugins or anything.
I've restarted intellij a couple times, checked the little filter icon to make sure I'm not filtering on anything...nothing seems to be working. Any ideas what I need to do to get it working again?
Try 11.1.2 build and File | Invalidate Caches. If it doesn't help, contact JetBrains support with a sample project to reproduce it.
Also try to verify if some plugins are updated, and disable them to try if some of them is the problem.
In my case it was:
Apache config (.htaccess) support Version 131.61
Make sure your keymap is set to Default. You may be using different keymap, so go to File > Setting and search for Keymap. You can change it there.
When you press Ctrl+Shift+N the Find Window will pop up, check the filter icon (on top right of the Find Window) on the search box and ensure that the file type you are looking for is checked.
For me restarting the Webstorm with the project folder again sorted it out.
File -> New -> Project
Just restarting it kept the go to file source pointed to the Webstorm app directory.
I program in rust.
So for me installing the missing rust plug-in solved it.
I deleted the project and then reimported it using maven(right corner of IDE) -> plus icon to add project again
What helped me was to run an update (Help > Check for updates) and update what was needed (2 plugins)