Where is the config folder for JetBrains IDE? - windows-7-x64

I am trying to add a custom color theme to my phpstorm and everything I read says you need to add a colors folder inside of the config folder, and then copy the xml or icls file in there, but I can't find the config folder.
C:\Program Files\JetBrains\PhpStorm 2017.1.3
I am in the right directory but there is no folder called config and I'm not sure what to do. Could it be in some different place?

have a look at
https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs
you should find your config files under
c:\Users\yourname\.PhpStorm2016.1\config

Related

Plant UML in Visual Studio Code // Config file

I'm using Plant UML in VS-Code to generate diagrams: https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml
I want to edit the global default extension setting:
Set input folder for the .puml files and ...
the output folder for the generated .png files
Question: I can't find the config file with the Export Settings for PlantUML in VS Code. Where could I find it, or how shall it be set up correctly to work with the IDE?
You could create a directory .vscode in the root directory of your project and put a file called 'settings.json' with these settings
{
"plantuml.commandArgs": [],
"plantuml.diagramsRoot": "../docs/diagrams/src",
"plantuml.exportOutDir": "../docs/diagrams/out"
}
See:
https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml
Go to the section called "Include Files Search Logic"
On vscode
Go to File --> Preferences --> Settings
Search for plantuml and you will be presented by screen below
Change export format
Set output folder, default is out
uncheck the box if you don't want subfolder created, check if you want subfolder
Test

Q: Can I configure VSCode to take a .clang-format file from my home directory?

I want to use the same clang-format file for all my project since I have multiple. But I don't want to have them in every workspace and i already have a clang-format file in my home directory, how can I make this work?
Or is this impossible?
I have already seen this question:
How can i configure clang format without .clang-format file in every workspace?
but my clang-format file is like 80 lines long and I just want to edit the stuff locally on my home without having to change it in vscode as well.
Maybe this will help.
The clang-format -style=file is somewhat misleading.
file is not the path to the file you want but rather tells clang-format to use the .clang-format file it can find within the project folders - going all the way up.
And as VSCode is the case, the C++ extension is using by default the clang-format in the VSCode extensions folder.
Which should make the clang-format to go cd .. until it finds .clang-format in your workspace folder
Set "clang-format.style": "file" property to fix it.

How can I create Eclipse-style folders from the Terminal?

Is it possible to create Eclipse-style folders (Project Folder, Package and so on) via the Terminal?
I once renamed an Eclipse package like this: mv oldname newname, and I noticed that after doing so, Eclipse no longer considered the folder a Package.
This possibly means that it is a matter of metadata, but I have so far been unsuccessful in locating the files containing the relevant information.
Eclipse does not provide anything to do this and it is not really possible manually.
For a project some information is stored in the .project file in the project folder. Depending on the type of project there may also be a .classpath file and there will also be data stored in the .metadata folder in the workspace and also in a .settings folder in the project.
All the file and folder names starting with . are considered to be hidden on Linux, Unix and Mac systems and are not shown by default. Use the -a flag of ls to see them.

Viewing a modified file in eclipse

I was adding a simple file to one of my programs that updates when I run the program with a particular parameter.
The file updated fine, but it is stored in the /bin directory and I can't figure out how to view the file within the editor.
I can see that the file is updated when I traverse the bin folder manually and open it with notepad.
Is there a way to view the file within the editor?
edit: I have a file in the project already but I doesn't update, instead the copy in the bin folder does; Can I connect the two somehow?
Your <project>/bin directory is being filtered from view. Right click on your project, select Show In->Navigator then you should be able to see your /bin directory and double click your file to have it open in an editor.
Alternatively, you can use ctrl-shift-r to open the Open Resource dialog, from the triangle drop down menu check Show Derived Resources, and then type in the name of your file.
The /bin directory is managed by the Eclipse builders and so you may lose your file if you do a clean. I would suggest using a different directory to house your runtime files.

eclipse configuration files - link a source directory using variable

When you add a folder in eclipse using link a source directory we can use variables. I need to know where these variables and their values are stored. Is it in a configuration file?
I followed the below , Went to eclipse, (java) project properties, and then java build path.
Now I clicked on link source and added a variable - say top_root and pointed to a location say - c:\temp
I used the same to link a source directory. This information is available in .project file.
I need to know, in which file test=c:\temp will be configured / available.
<link>
<name>java</name>
<type>2</type>
<locationURI>top_root/src/java</locationURI>
</link>
eclipse-3.5.2\workspace\\.metadata\\.plugins\org.eclipse.core.runtime\\.settings\org.eclipse.core.resources.prefs
The configuration was available, Inside the above folder, this file org.eclipse.core.resources.prefs
pathvariable.top_root=C\:/temp
search for all prefs files