After updating to IntellijIdea 14 I have discovered that an excluded folder in my project is now visible.
How do I hide it?
The answer is close, in the Project gear menu:
PS: Yes, it's a self-learning post
Also, you may have switched on the Show Excluded Files option. If so, use Shift + Shift and type excluded and do the obvious thing.
Right click at the directory you want to exclude to mark it as excluded,
,
and then uncheck the Show Excluded Files option.
1: Intellij IDEA > Preferences.
2: Go to File Types.
3: Add *.iml and *.idea to the Ignore files and folders list box at the bottom of this window.
In Idea 2022.2.2: project view -> gear icon -> Tree Appearance -> Show Excluded Files
In case you want to show excluded files instead of hiding them, you can invoke the Find action Window (e.g. Shift+Shift), search for Show Excluded Files and then turn it on or off. Sometimes there may not be this option in the Find action window somehow (such as me using the version 2019.3.3), but you can still toggle it by adding <option name="showExcludedFiles" value="true" /> to the node in .idea/workspace.xml:
<component name="ProjectViewState">
...
<option name="showExcludedFiles" value="true" />
</component>
Then restart the project window.
Related
Recently the toolbar is disappeared in pycharm.
I was trying to find config\options\ui.lnf.xml in IntelliJIdea and Pycharm directory, but there is no such file.
This should work:
press Shift twice (equivalent to Navigate > Search Everywhere)
type main menu (or just ma me)
select View | Appearance: Main Menu
Is your OS Linux? Try adding linux.native.menu=false into Help | Edit Custom Properties and restart IDE.
Here are the steps to unhide (Or show back) the main menu/Toolbar in Goland/Pycharm or other IntelliJ Editors:
Click on the search icon in the top right-hand corner
In the search bar, type the word menu
You should see this result come up: View | Appearance: Main Menu
Then just click the toggle to change it from "Off" to "On"
Cheers!
There is a file name "ui.lnf.xml", the location of this file may different from OS to OS.
In Linux - the file location is - Home directory after that .config/JetBrains/Idea_<>/options.
For example I am using Ubutu.. then i can find the location like -
$ sudo find /home/ -name "ui.lnf.xml"
/home/xxxx/.config/JetBrains/IdeaIC2022.2/options/ui.lnf.xml
Under the "ui.lnf.xml" there will be an entry if main menu is off -
<application>
<component name="UISettings">
<option name="SHOW_MAIN_MENU" value="false" />
</component>
</application>
Need to change the value from false to true. This will solve the problem.
Is there any way to Collapse all folder on the Directories Tab in SmartSVN Foundation 8.0.1?
I Accidentally pressed Ctrl+A (Select All) and ALL THE FOLDERS COLLAPSED!
Now if i want to add a specific folder i need to collapse some or all... or most, but there's no easy way to do it, right now i'm doing it one by one, but the vendor folder (all composer packages) is enormous.
Any ideas?
Seems odd. I've tried to replicate this and have been unable (I'm assuming you're on Windows?) even if I select all and then click the collapse icon on one folder it just collapses that folder.
More than happy to raise a feature request for you if you could give me a bit more detail about what you're after? For example, adding a 'collapse/expand all' and/or a 'collapse/expand selected' option to the View menu that you could set a custom shortcut for in the Edit -> Customize -> Accelerators options?
I'm using IntelliJ IDEA 12.1.6., and I'm trying to figure out how to make a file's parent folder show in the 'project' sidebar when I open it. I'm pretty sure I had it set up that way in the past, but I can't find the relevant setting. I've tried googling to no avail. Any ideas?
Autoscroll from source option can be enabled under the gear icon in the Project tool window.
Doesn't the Projects sidebar show the project's entire directory structure?
As an alternative, if you go to View -> Navigation Bar, you can see the selected file's path on the top left.
For those reading now, the suggestions here don't seem to be in the current version of intellij.
I had to go Right click on the folder -> Open Module Settings -> remove the obviously incorrect content root -> re-add the obviously correct content root.
Is there a way to hide yellow light bulb, which greatly annoys me showing on every line.
I don't want to disable any inspections. I just want to hide yellow light bulb.
I'm trying to switch from eclipse (not the first time) and this is one of the thing that annoys me greatly and prevent from switching.
I know that I can make refactoring using alt+enter, why remind me constantly about it?
There is an option, but it's not exposed in the preferences dialog. Add or modify the following line inside the <component name="EditorSettings"> section in your editor.xml file and restart IntelliJ IDEA:
<option name="SHOW_INTENTION_BULB" value="false" />
The file is located at:
On OS X: ~/Library/Preferences/<PRODUCT>/options/editor.xml
On Windows: %HOMEPATH%\.<PRODUCT>\config\options\editor.xml
On Linux: ~/.<PRODUCT>/config/options/editor.xml
where <PRODUCT> is e.g. IdeaIC13, IntelliJIdea13, PyCharm30 or AndroidStudio.
This will prevent the lightbulb from ever being shown. This solution came up in the discussion of an issue about this problem.
The option is now available in the Settings! Rejoice!
Editor > General > Appearance
[ ] Show intention bulb
If you don't see the option there, type "bulb" in the search box within Settings and look through the results.
Is there a way in IntelliJ IDEA to delete previously used projects? I am referring to a list on the main page when the application starts. Please look at the image.
File -> Open Recent -> Clear List
Edit: For versions of 2016+ this is no longer available. Use This solution: File -> Open Recent -> Manage Recent Projects / Startup Dialog, ctrl+a (select multiple with ctrl+click) -> del
File -> Open Recent -> Manage Projects .... CTRL-A then Delete to remove all, or hit the X to remove individual.
IntelliJ IDEA 2016.2.5
Locate config\options\other.xml file and manually edit the list of recent projects inside the XML under <component name="RecentProjectsManager"> node.
There is no way to remove individual projects from the UI. See Dan's reply otherwise.
In IntelliJ15, you can remove them from welcome screen, works ctrl+a and then remove all of them.
In MAC, ~/Library/Preferences/IdeaIC14/options/recentProjects.xml is the file to easily edit the list when you do not want to lose everything. (It is for IdeaIC14).
In idea 2022 for MAC it is located under ~/Library/Application Support/JetBrains/IntelliJIdea2022.3/options
In Idea 2019 it is located in Idea Colder\config\options\recentProjects.xml
Just figured, I am using Idea Community edition 13.1.1 and the cleanest and easiest way is to go to File > Reopen project > Clear List. I just stumbled upon this menu today. I always thought that is just to clear the latest projects from the view inside the IDE and just realized it is clearing the projects from the main Dialog too.
-VRS
Close all projects till you reach the welcome screen. Right click on the project and choose Remove Selected from Welcome Screen. Or click on the cross arrow on the upper right corner of the selected project.
idea22 on windows10 system, recent projects on the path C:\Users\****\AppData\Roaming\JetBrains\IntelliJIdea2022.3\options\recentProjects.xml, I delete all the <entry><\entry> labels