How does one delete a project in webstorm. - ide

I have tried the the following https://www.jetbrains.com/webstorm/help/safe-delete.html?search=dele but the safe delete options does not get enabled on the ide.

please try the following:
in WebStorm, close the project
delete it from Recent projects list (in Welcome screen, focus the
project and hit Delete)
shut down WebStorm
delete the project folder completely from your disk

To remove project from Webstorm, go to menu and click on File -> Open Recent -> Manage Projects (at the bottom)
In popop which opens highlight the project you want to delete and click on X beside it

Related

How to remove material theme (or reset to defaults) from IntelliJ / PyCharm?

I have installed Material Theme UI and it made my IDE blackish. Later I decided to remove and and removed plugin. Unfortunately, this didn't give default colors back, some parts of IDE, for example Project pane, remained blackish.
How ro recover?
How to remove material theme from IntelliJ / PyCharm?
you can go to the Preferences->Plugins on the search bar, type Material UI
then press on the Uninstall button .
You should:
Go to Settings->Plugins and remove Material UI plugin
Switch to Default theme in Settings->Editor->Color Scheme
If it does not help (it happened to me) and you still have some colors/fonts from removed Material UI - looks like Material UI theme override some default colors. You should then close Intellij, go to Intellij config folder (on Windows it is C:/Users/<your username>/.IntellijIdeaXXXX.X/config) and remove this config folder and restart Intellij. It should show you a dialog window to import settings from previous version or use defaults (like when you install Intellij and make the first start). After that everything will be switched to default colors/fonts.
From the material-theme-jetbrains repo:
File Colors stuck after uninstallation The File Status Colors feature
is also a feature that sticks outside of the realm of the plugin as it
modifies the IDE itself. Therefore when uninstalling/disabling the
plugin the colors will stuck.
If you want to reset to the default colors, open the Settings at
Version Control -> File Status Colors in 2017.3+. In previous
versions, you will need to go to the config directory and delete the
_#user_Darcula.icls color scheme manually.
None of these worked for me as an acceptable solution. So here is what I figured out:
Go to plugins, uninstall Material UI.
Ensure colour scheme is Default/Darcula.
Restart Idea.
At this point most changes were back to default, but some things like colour of current tab, error highlights, modified files etc were still not back to usual. So I followed the advice of deleting config and things returned to normal. But with this option you lose everything, even the installed plugins. And worst thing was, I was using a settings repository to sync settings, few minutes later the colours were back! So I did a diff with older config directory and then a git log revealed that these files are the culprits.
Delete these 4 files from this path: .IntelliJIdea<version>/config/settingsRepository/repository/
colors/_#user_Darcula.icls
colors/_#user_Default.icls
material_custom_theme. xml
material_theme.xml
Then do a git commit and git push to ensure these are synced to your repository. And finally theme was back to normal!
Unfortunately whatever I was doing from the settings, I've couldn't get rid of that theme. So I uninstalled the program and reinstalled it again without material theme. Hope there will be better solution.
Tested with intellij 2018.3 go to settings->Type material then untick the material theme after that restart ide should fix the issue.
A tad brute force, but you could try and delete the theme directly.
Close IntelliJ
Go to: ..\JetBrains\themes
Delete Material UI
Open IntelliJ
Press Command + , (comma) (Shortcut to preferences) and search for material. Uninstall the material in plugins section.
Uninstall Material Theme UI plugin: Settings->Plugins
Delete colors from the config folder: C:\Users\User name\<.IdeaIC2018.2>\config\colors (don't remove the whole config folder because all the previous settings and tasks will be removed)
Delete material_theme file: C:\Users\User name\<.IdeaIC2018.2>\options\material_theme
If you are wondering how to do it in PHPStorm 2020.2 and above:
Settings (Alt + Ctrl + S) -> Plugins -> Uncheck the MaterialUI.
After unchecking, you would then be able to see an option to uninstall from the dropdown arrow found next to the install button.
2019 version File > Settings (or alt + f7 on windows), search for material theme ui
if you have the stupid accents persisting through uninstalling the plugin, deleting config files and so on the solution is under:
appearance and behavior > file colors > delete all of them
Another 2019 version (worked in my case):
open the settings editor (File->Settings)
search for Plugins page
inside the Plugins page, search for the Material UI plugin and uninstall it
search for Appearance & Behaviour->Appearance page
select the theme you prefer (IntelliJ or Darkula or High contrast). If your theme is already selected, chose another theme, apply the changes, than select back your preferred theme.
close IntelliJ (or PyCharm/WebStorm/etc)
open .IntelliJIdea<version>/config folder, usually it's in your home folder.
remove the following files:
material_theme.xml
colors/_#user_Darcula.icls or colors/_#user_Dafault.icls (beware: you may loose custom configurations you may have done)
Done.
This works for me in 2023.
Steps
Go to File --> Settings --> Plugins --> Go to "Installed" tab --> Search "Material Theme UI" --> Click on settings icon --> Click on "Uninstall" --> Click "Yes" in the dialog box --> Restart the IDE
Screenshot
Make sure to Restart the IDE

IntelliJ IDEA not showing my module/project

Suddenly, IntelliJ IDEA is showing the following module view with a strange yellow colour in the background. I don't know how to get my module back, because it is not being shown:
Do you know how can I see my project folder back?
Thanks
This is way late, but deleting my .idea folder did the trick.
Close IntelliJ
cd <project-path>
rm -rf .idea
You can go to File-> Project Structure and then define it as a Source Folder
In Intellij, Right click on your parent pom file and click add as maven project
For Maven Projects that don't show up you can right click your pom.xml and click 'Add as Maven Project'.
In my case Modules kept on disappearing and I managed to fix it with these simple steps:
In the Project panel, right click to see the context menu
Select "Open Module Settings"
Select the Module that is not shown in the tree view
Select the first tab labeled "Sources"
Press the "+ Add Content Root" link
Select the root folder where the files for this module are located
Once the folder has been scanned, press the OK button and you will see the Module appear
I had a similar issue. Other answers did not solve the problem for me.
I ended up uninstalling IntelliJ, then installing a new copy. When prompted to import previous settings, I selected the option of not to import, then set up IntelliJ from scratch. After re-install/re-setup, I was able to open my project folder and all of the modules showed like before. Some how my IntelliJ got fubared, my guess is that it happened when I updated it last week.
For me, I must've deleted my .iml file somehow. Files with .iml contain configuration for your modules. The problem was that my project module was not being loaded without it. I'm using gradle, syncing my project with gradle regenerated whichever *.iml was necessary to build. Here is a post that provides a succinct explanation.
IntelliJ IDE | .iml File lost or deleted
Also - I know this issue is probably long gone and out of his head but for whoever may come across this issue, the above was the solution for me.
Check if the FACETS panel is blank
If it's blank .Then click the "+" button to add
one.
For me .I need a android facet.
For details.go to this link
Hope this is work for you.
I assume you are used to working with Eclipse. Intellij IDEA uses the same idea, but different names.
A Eclipse workspace is equal to IDEA's project.
A Eclipse project is equal to IDEA's module.

WebStorm : How to import multiple project in same window in WebStorm

Need help to figure out how to import multiple projects in same window in WebStorm, In IntelliJ we can do this using modules, But I don't see that feature in WebStorm.
From Webstorm 2019.2 - you can open multiple projects in the same Webstorm instance.
File --> Open --> Go to the project directory --> Open:
In the Open Project dialog , select "Attach".
WebStorm doesn't support opening multiple projects in the same frame, however you can add multiple content roots to the same project:
Webstorm supports opening two projects in one window now.
All you have to do is open first project then
File --> Open --> Select second project folder and click open --> Then click Attach from the next dialog box
This is working in Ubuntu
On Newer versions of WebStorm (eg WebStorm 2022.1.1)
From the top options.
File -> Attach project... -> Select project folder -> Click Open
This will "Add" the selected project folder into the workspace.

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)

Xcode will not open my project

I where working with a project and I closed because my computer was geting slow. When I tried to open my solution again xcode quitted. So everytime I try to open my project I get this error:
I am not able to open my solution. IS THERE A WAY I CAN RECOVER MY PROJECT!?
Nothing mentioned above/below worked for me. Here's what I did instead:
Right click on the .xcodeproj file and select Show Package Contents. Then delete the project.xcworkspace file. Open the project in Xcode and voilà.
There are a couple of things you can try, first make sure Xcode is not running ,trash the ~/Library/Cache/ folder contents, and trash the contents of the ~/Library/Developer/Xcode/DerivedData/ folder, if you what to can just find the stuff for your project in ~/Library/Developer/Xcode/DerivedData/ and trash just that. Then restart your computer.
If that doesn't work, rename your faulty projects folder to so method like ' old', create a new project of the same name, and then move all of the source files from ' old' to you new project and add them. Its a bit painful I known but I have had to do this once to get a project working again.
Double click the actual file! NOT the recent item!
Turns out that double-clicking on the actual file instead of selecting it from the Welcome to Xcode window will help open the project as expected!
Also, after the first time open it with double-clicking the file, the window will be fixed by itself 🤷🏻‍♂️
In my case, the project was moved to my iCloud Drive without me noticing it.
If it happens to you too, just go to your Finder, locate the project and check if there is a cloud next to it. Just right click it and "Download now". Try again once the download is finished.
I was having this issue with Xcode 12. Opening Xcode, and selecting my project from 'Recent projects' list was causing Xcode to crash
My solution: I navigated to the folder and opened ProjectName.xcworkspace file, then it worked
If you're working with git, right click the project-name.xcodeproj > Show Package Contents, open the file project.pbxproj and check for conflict and resolve it.
Quit Xcode, then make a copy of the xcworkspace file (just in case). In finder, right-click the xcworkspace file and choose Show File Contents.
In that directory, open the xcuserdata directory and delete any contents. Start Xcode again and open the project.
In my case there was something wrong with the saved project state, so doing this resets the state and it opened normally.
I had the same error and none of the above helped me.
Solution that helped me: Create a new project, then without closing it, go to
File -> Open
and select your .xcworkspace file.