Does somebody know, how to set up Aptana, to have only one .metadata setting for all projects? I don't want to change the default settings every time I start a new workspace!
Thanks for helping
You can export the settings through the Preferences (File -> Export -> Other -> Preferences). Than, when you create a new workspace, import those settings through the File->Import wizard.
Related
So, today in the morning I closed down IntelliJ(2017.3.3) after doing some programming as usual and everything worked great. Now suddenly when I try to open any of my projects this is the view I am greeted with:
After searching for a solution for this issue I managed to get the projects working by doing the following steps:
File -> Project Structure -> Modules -> + -> Import -> The project .iml file
File -> Project Structure -> Project -> Project SDK -> Java 8 in my case
File -> Project Structure -> Project -> Project language level -> 8
File -> Project Structure -> Project -> Project compiler output -> The path to the out folder of the specific project(the whole path from D:\ to it)
Navigate to Main class in project structure and alt+enter to add it to run configurations.
Finally able to run the project
Now this would be fine if I had to do it once, configuration corruption or whatever happens, but I have to do this every single time I open a project for some reason. I tried restarting my PC, reinstalling 2017.3.3, installing 2018.1 and the issue persists whatever I do. Also there were no visible errors in relation to this issue in any of the above scenarios, steps, installs and so on.
Well it turns out the issue was related to me using OneDrive to backup my data. I assume OneDrive updated at some point and activated Files On-Demand. The issue is documented here. For me personally a solution that worked was:
Right click the OneDrive tray icon
Click settings
Click the settings tab
Disable the Save space and download files as you use them option under Files On-Demand.
Wait for your files to sync up completely, IntelliJ project load is back to normal.
I tried disabling Themed status bar in Material Theme Advanced Settings and it started working for me.
From: IntelliJ IDEA > Preferences > Material Theme > Advanced Settings > Other Tweaks Tab
Disable "Themed Title Bar" by unchecking the box here.
When i do Edit->Run Debug Configurations, the settings that i have put in for working directory, vm options etc do not stick. I would run a program and come back to see that the options are no longer set for the next run.
Is there a way to sticky these settings?
You can save your run configuration to ensure that it (and anything configured within in) is available for future use.
Click on the file/save icon in the Run/Debug Configurations window.
Here's a screenshot:
More details in the docs. Specifically:
Saving a temporary run/debug configuration
To save a temporary configuration, do one of the following
In the Run/Debug Configuration selector, choose Save .
In the Run/Debug Configuration dialog box
On the context menu of the editor or Project view, choose Save .
I faced the same issue that I was unable to save Run/Debug configs and funny enough the Save button is never visible even if I create a new config. So I just started creating folders for my configs which definitely save them for future use.
I've added a server in PhpStorm deployment settings but the Tools -> Deployment -> Upload to menu is still greyed out.
You need to specify a deployment path mapping in your server. Even if it's just the root path, you need to enter /. PhpStorm doesn't do it automatically.
Go to your server in deployment settings, click the 'Mappings' tab and enter slash (or your mapping) in the 'Deployment path on server' field. You don't need to enter a web path. Deployment menu should be ungreyed now.
In version 2019.2, if you dont set the path to / in mapping, it will grayed out.
Previous version, you could leave it blank
Also, if your local path (inside mappings configuration) is not your project root, you have to click on the deployable folder in the project tree to enable the menu.
Also, if the Deployment menu is completely missing at the bottom of the context menu, then set up a default server.
Click the server with the check mark to make a server the default option for a project.
Then you will get this additional menu when you right click on a file, folder, or the project.
I also encountered this issue in PyCharm Professional 2022.1.
Since the aforementioned solutions did not work for me, and it took me some time to resolve, I am providing the solution I found.
Clicking on Tools -> Deployment -> upload to servername was not working for me no matter what I tried.
However, I could right-click on the main project folder (on the left of the PyCharm window, where the project folder/file structure is visible). This right-click opens a menu, where there is an option for deployment -> upload to servername.
Once I clicked this, not only it worked, but the classical way (Tools -> Deployment -> upload to ) ceased to be grayed out also.
If deployment was available and suddenly no longer works, confirm that your credentials didn't get wiped from the deployment settings (Connection tab).
If any of these answers don't help, because you can't even see the server menu, you probably have the Remote Hosts Access plugin disabled.
Go to settings, go to the plugins, and enable Remote Hosts Access.
Please check if the following options are enabled in settings(Ctrl+Alt+S). It goes uncheck if Php Storm crashes. Check the below options and restart the editor.
This works for ver 2017.2.1
Also, check Windows->Store current layout as the default just to make sure in the future you can restore the layout.
It's possible the opened file in the editor belongs to a External Library (bottom of project tree).
These External library files can't be deployed.
I'm evaluating the IntelliJ IDE. I changed some of the display/font setting (among other things) and would like to reset the UI back to default. Is there a simple way to reset the display UI back to its default settings?
Recent Versions
Window -> Restore Default Layout
(Thanks to Seven4X's answer)
Older Versions
You can simply delete the whole configuration folder ${user.home}/.IntelliJIdea60/config while IntelliJ IDEA is not running. Next time it restarts, everything is restored from the default settings.
It depends on the OS:
https://intellij-support.jetbrains.com/entries/23358108
On Mac OS for IntelliJ v12, shut down the IDE, and then you can execute:
rm -rf ~/Library/Preferences/IdeaIC12/*
Restart the IDE, or open a pom.xml of your choosing. You will be asked whether you want to import the preferences from an existing IntelliJ instance. Select the "No, I do not have a previous IntelliJ version" radio button.
You can delete IDEA configuration directory to reset everything to the defaults. If you want to reset the editor Colors&Fonts, then just switch the scheme to Default.
All above answers are correct, but you loose configuration settings.
But if your IDE's only themes or fonts are changed or some UI related issues and you want to restore to default theme, then just delete
${user.home}/.IntelliJIdea13/config/options/options.xml
file while IDE is not running, then after next restart IDE's theme will gets reset to default.
To switch between color schemes: Choose View -> Quick Switch Scheme on the main menu or press Ctrl+Back Quote
To bring back the old theme: Settings -> Appearance -> Theme
The existing answers are outdated. This is now doable from the menu:
Window -> Restore Default Layout (shift+f12)
Make sure nothing is currently running, as the Run/Debug window layout will not be reset otherwise.
From the main menu, select File | Manage IDE Settings | Restore Default Settings.
Alternatively, press Shift twice and type Restore default settings
check, if this works for you.
File -> Settings -> (type appe in search box) and select Appearance -> Select Intellij from dropdown option of Theme on the right (under UI Options).
Hope this helps someone.
I prefer dark backgrounds for coding, and I've downloaded a jar file containing an IntelliJ IDEA color theme that has a dark background. How do I tell IntelliJ about it?
Go to File->Import Settings... and select the jar settings file
Update as of IntelliJ 2020:
Go to File -> Manage IDE Settings -> Import Settings...
Step 1: Do File -> Import Settings... and select the settings jar file
Step 2: Go to Settings -> Editor -> Colors and Fonts to choose the theme you just installed.
Take a look here: Third Party Add-ons
You may have to extract the jar using a zip application. Hopefully inside you'll find a collection of XML files.
IntelliJ IDEA Plugins
Go to Settings => Plugins => Search Plugins in Marketplace
Search by material theme and download and restart it. it is a good theme.
In the market place, you can also search by theme and it will list all the themes and you can download any themes. You no need to find themes and download and import it. You can also remove the theme very easily. thanks
If you just have the xml file of the color scheme you can:
Go to Preferences -> Editor -> Color and Fonts and use the Import button.
Themes downloaded from IntelliJ can be installed as a Plugin.
Follow these steps:
Preferences -> Plugins -> GearIcon -> Install Plugin from disk -> Reset your IDE -> Preferences -> Appearance -> Theme -> Select your theme.
Interesting I never spent too much time adjusting the colours in IntelliJ although tried once.
See link below with an already defined colour scheme you can import.
Where can I download IntelliJ IDEA 10 Color Schemes?
http://devnet.jetbrains.net/docs/DOC-1154
Download the jar file, file import the jar where you will see a what to import ;)
Like nearly everyone else said, go to file -> Import Settings.
But if you don't see the "Import Settings" option under the file menu, you need to disable 2 plugins : IDE Settings Sync and Settings Repository
Find the .jar theme file in your disk. Drag the file into PhpStorm window and voila !