How to sync android studio Bookmarks on other computer? - android-studio

How to sync android studio Bookmarks on other computer?
is there any cloud service or local files to copy ,to sync bookmarks between different computers?

solved by intellj official team . they told me to copy local config files by manually for now .
The bookmarks are stored in the workspace files for each project; you can find them in the workspace folder inside the configuration directory. To find out which file contains the workspace for the particular project, use Project ID that can be found in the project .idea/workspace.xml folder, for example:
<component name="ProjectId" id="2IUvDeaykLf5XLO3EHfpWLBq82w" />
so you can consider copying it manually to your other device

Related

Android Studio/Intellii: Location of project configuration file

I've marked certain directories & files as excluded in Android studio. I'm looking for the file where intellij/Android Studio keeps track of those configurations.
It used to be inside the .iml file however I don't see that file in my project or new projects anymore. I couldn't find this info in files under .idea directory either.
Does someone know where can I find this configuration file?
This information is stored in .uml file of the module. See

Android Studio marked my entire folder as project

android studio marked my entire folder as project how can i remove it without losing apps inside project folder.
Copy all the files of that project directory and move to a subdirectory.
While creating a new app you have selected the project folder wrongly. You have to manually remove all the application related files (i.e., .gradle, .iml, etc) from it.

VS2015 Team Explorer showing solutions from node_modules

I just started using the npm package gulp-sass which relies on node-sass.
The node-sass package has a src folder, which includes a .sln file.
This .sln file shows up under my VS2015 Team Explorer Solutions heading. I really don't want that to happen.
Is there a way to exclude solutions placed under "node_modules" from being shown in the Team Explorer?
See attachment for documentation.
For TFVC, when you open the VS, then Visual Studio will scan the local workspace for solution files.
According to your screenshot, you are using GIT as your source control. This should be the same mechanism. VS will scan your local mapping repository. Unless you move the folders in your local repository, the solutions from node_modules will still shown in Team Explorer.
If you really can't stand this feature, you may have to create a "dummy" repository for some folders including sln file on your machine and let Team Explorer scan that one every time you start up, instead.

Project Solution(.sln) is creating in C:/ drive but project created in another drive, how to change the default .sln file saving drive?

My OS is Windows 7. In my Visual Studio 2012 when I'm creating any project or website the solution file(.sln) is creating over default VS folder in C: drive. So when I'm trying to create a project in another drive folder, the solution is not in same folder with the project. How can I change it so that solution file will be in the same folder?
There is a check box 'Create a directory for solution' when you create new project, uncheck it.
To fix existing solution remove project from solution place all file in solution directory re-add project to solution.
To fix existing solution, just close it, move all project folder contents into solution folder, open sln file with text editor and fix project path.
right click on .sln file.
go to properties then click on change, then select visual studio icon.
sln file icon would be same as VS icon, hence problem get solved.

How to know database file path after publishing project in visual studio?

I published my project in visual studio by right-click on my project and click publish, the problem is the database file path is changed and i can't find it, i need the path to put it in connection string
can any one help me, please.
Visual Studio will publish an application to a folder where you've told it to; by default it's [project directory]\publish\. The files for a particular publish will be in [publish directory]\Application Files\[revision number]\ by default.
You can check the path by right-clicking on a project in the solution in Visual Studio, selecting Properties and then the Publish tab. If the path is relative, it's in the project directory.
In the Application Files folder, you will find a bunch of files with .deploy extensions; if you've put your configuration in app.config, you should be able to edit it by opening the file [Project name].exe.config.deploy in a text editor.
It's an XML file and you should be able to identify the part you need to change. It will typically look like
<setting name="SettingName" serializeAs="String">
<value>some setting value</value>
</setting>
Installing the application with the created setup file, assuming that the hand-changed revision is the newest one in the Application Files folder, should install it with the new connection string.
I still urge you to consider just changing the app.config file within the project and doing a publish again, this is the way you should be doing it.

Resources