Which settings are saved under the .idea folder and which are not? - jetbrains-ide

I am confused about which settings are saved into the .idea project folder and which are not.
For example, if I add some File Watchers to the project, I know those are saved into the .idea folder. But if I enable/disable certain plugins, where is that setup saved? Into the project's .idea folder or into the whole IDE?
The goal is to keep more control of what is going on, because when working on the same project with multiple people I get confused with the .idea folder being constantly modified (and affecting my workflow).
JetBrains recommends to keep the .idea folder in the version control system, and I see some good points in that, but I want to be aware of which settings are saved under the .idea folder and which are not?

Related

Why can't I copy/paste img assets from one project into new directories in second project's drawable folder?

I downloaded a project from Github, trying to rebuild it myself for learning purposes. I'm new to Android Studio, developing on a Mac. Having trouble with what I think would be simple tasks.
The source project from Github I downloaded has several different sub directories containing image resources under the res/drawable folder. I was hoping I could just copy and paste these assets into my own project. It doesn't seem to work the way I'd expect and I don't understand what is going on.
I've tried right clicking and copy/pasting the directory I'd like to duplicate from the Github project (opened in Android Studio) into the drawable folder in my new project (Also opened in AS). Nothing seems to happen when I do this. Right clicking and selecting "reveal in finder" reveals a still unfortunately empty drawable folder.
I also tried right clicking on the specific directory I'd like to copy from the Github project and selecting "reveal in finder", thinking I'd try copying and pasting it from there into my new project. Oddly enough when I do this, the same directory isn't even the one that's opened. Instead, it opens a drawable-hdpi folder containing several assets, but it's definitely not the one I was attempting to open.
I've tried right clicking and "synchronizing" the drawable folder in my new project after copy/pasting, still no luck.
You can not copy android folders or directories directly into android studio. But you can copy individual files into there respective folders in your project.
If you want to copy folders/ directories you can open the android app folder in your MAC browser and go to Application/app/src/main and paste whatever you have in the respective folders.
The main folder conrains java and res folders and an AndroidManifest.xml file.
You can paste xml files , drawables and pngs etc in res and java classes will go into java folder.

deleted css files are accessing and web application is running those files

I made a static folder where I saved all css files to be used in my flask web development project. It is not reflecting the changes while I was doing some change .When I deleted that static folder then also it is accesing the files.
I have not clue from where it is accessing..
Please solve this problem
Thanks in advance
gallery.css file is not present:-
but accessing this file:-
try going to your project directory (not in your IDE, but the folder where the project is located)
find any/all directories named
__pycache__
and delete them.
clear all browser cache.
rerun the app in your IDE

Warnings while creating a new project

I'm facing an issue with Android Studio. When I create a new project by default the project doesn't go in the AndroidStudioProject Folder.
If I try to move the project into the AndroidStudioProjects folder, while creating the project I become a lot of warnings: The following file could not be created since it already exists: gradle-wrapper.jar The following file could not be created since it already exists: gradle-wrapper.properties If you proceed the resulting project may not compile or not work as intended.
There is no default folder for saving new projects, there is only Last project location saved in your computer. So every project will be stored where last project was saved. (Unless you change location).
So, If you want to change the default location (which is technically the Last location), then you might wanted to change the location while creating a new project, and then all the succeeding projects will be saved in previously mentioned location.
Now this is what you have to do: Create a new project, point the project location to AndroidStudioProjects folder. Now, Android Studio will store every new project in that location.
Once that's done, then import all of your projects (which are outside that folder) in that folder by import an existing project.

Shared ReSharper settings with out-of-source cmake builds

I am using cmake to generate my solution files and I'm doing that out-of-source. So I have a myproject folder and a myproject_build folder. When I save my ReSharper settings in team solution, it creates a dotsettings file in the myproject_build folder.
C:\
myproject
.hg
CMakeLists.txt
myproject_build
myproject.sln
myproject.DotSettings
How can I make sure that saving these settings goes into the source folder and be sure that all team members have the same settings?
I guess I would place a common dotsettings file into myproject, the file that you and your team will modify in the future. During generation of the solution into myproject_build you should generate a myproject.sln.dotsettings file as well, that need to hold a reference onto the file from myproject. You can include any other dotsettings file by going to ReSharper | Manage Settings and then right-click any layer (team-shared in your case) and add the particular file.

Where is filter in TFS 2012 defined?

I have added a new nuget package to my solution.
In the "Team View -> Pending Changes -> Detected Changes" there are some of the files, but /lib folder is ignored. As a result CI build breaks.
Question: where is it specified in TFS (or Visual Studio?) to exclude /Lib folder (or files inside /Lib folder)?
Given you're using TFS2012 I assume you're using a local workspace. For local workspaces files are ignored using the .tfignore file. Check if you have that file present and if there is an exclusion for the /lib folder in it.
Also note that by default certain files are ignored, such as the .dll files that would be in the /lib folder of the nuget package. If a folder has no files to include it will not be shown in pending changes. You will have to add it manually via source control explorer.
Here's the reference for the .tfignore file if you want to see how it works.
You can quickly determine the location of your .tfignore file by choosing to ignore something in your detected changes. This will cause the .tfignore file to appear in your "Included Changes" with the new ignore setting (it will be created if it didn't already exist). From here you can double click the file to open it up for editing.

Resources