PhpStorm keeps a Local History of all the files.
Does anyone know where these files are stored?
Local History is stored together with other index/cache files -- you will not be able to read it yourself if you wanted to copy/back up it separately -- it's linked to your current files and will get removed if you use File | Invalidate Caches.. for example.
Exact location varies on OS: Directories used by the IDE to store settings, caches, plugins and logs.
On Windows 7 for PhpStorm v8 it will typically be in C:\Users\USERNAME\.WebIde80\system\LocalHistory folder.
Related
I have installed GraphDB Free v9.3 in LinuxMint 19.3.
The workbench is running fine though I haven't created any repositories yet. This is because I have noticed that although the application is installed at /opt/graphdb-free, the data, conf and log files are in a hidden folder below my home folder: /home/ianpiper/.graphdb/conf (etc).
I would prefer to store these folders on a separate volume, mounted at /mnt/bigdata. In the documentation it suggests that I can set graphdb.home using the graphdb.properties file (though I don't seem to have such a file in my installation) or in the startup script. I think this script might be /opt/graphdb-free/app/bin/setvars.in.sh, and that I could use this to change
-Dgraphdb.home=""
to
-Dgraphdb.home="/mnt/bigdata"
Could a knowledgeable person advise as to whether my understanding is correct, and if so what the best way is to change the location of graphdb.home?
Thanks,
Ian.
Am following:
https://www.jetbrains.com/help/phpstorm/2016.3/comparing-deployed-files-and-folders-with-their-local-versions.html
I have my server setup in the remote host, and can see my directory, folders and files.
I would like to compare a whole folder on my local machine with what is on the server.
It works for individual files, but my developer has changed a whole load of files in the directory.
Please see screenshots.
I try and compare a directory from Remote host to the local server (see screenshot)
Says I failed to download the content of the file (...name of folder) - see screenshot
I try and compare one file (screenshot)
Works fine
How do I compare an entire folder, and see what has been changed?
As per official documentation from the link you have provided:
https://www.jetbrains.com/help/phpstorm/2016.3/comparing-deployed-files-and-folders-with-their-local-versions.html#d30440e104
Comparing a remote folder with its local version
Open the Remote Host tool window.
Select the folder in question. Then choose Tools | Deployment | Sync with Local on the main menu or Sync with local on the context menu of the selection.
In the Differences Viewer for Folders that opens, explore the differences and synchronize the files, where applicable.
The same but when invoked from Project View panel:
https://www.jetbrains.com/help/phpstorm/2016.3/comparing-deployed-files-and-folders-with-their-local-versions.html#d30440e154
Comparing a local folder with its remote version
This action is available only if you have a default server access configuration appointed.
Select the folder in question in the Project tool window, and then choose Tools | Deployment | Sync with Deployed to on the main menu.
In the Differences Viewer for Folders that opens, explore the differences and synchronize the files, where applicable.
In that Differences Viewer for Folders screen you can:
See a list of files with differences (or that do not exist of one of the sides) -- top part;
Choose any file and see the actual difference/compare them -- bottom part;
Also choose to upload/download such file(s) or merge them manually.
(screenshot from JetBrains website)
I work on multiple computers with different operating systems. One of the IDEs I use a lot is PHPStorm and I am looking for a nice solution to sync all of the files and all of the settings for the project. I am assuming that the project specific settings are in the .idea folder however the ftp settings are stored elsewhere.
What is the best way to sync ftp settings between multiple computers? Can this be done easily via VCS or is there another better option?
File | Export Settings... and then File | Import Settings... for manual sync.
The ordinary file sync (via any software) will do as long as it's the same OS/platform and all computers have similar folder structure (in terms of used tools, projects locations etc) -- that's mainly for settings that include references to 3rd party tools or list of recent projects etc. General settings (non path related) like "Live Templates" or "Color scheme" can easily be synced.
IntelliJ Configuration Server Plugin is definitely worth checking out -- http://plugins.jetbrains.com/plugin/4560?pr=phpStorm
As for project settings -- they are VCS-safe. Excluding workspace.xml, which is intended for use on that computer/user. https://intellij-support.jetbrains.com/entries/23393067-How-to-manage-projects-under-Version-Control-Systems
I'm experiencing strange PHPStorm 7 behavior - I'm using SVN, I have working copy on my HDD and I'm uploading data to mapped Drive in Windows 7 (when I update any directory, PhpStorm is not uploading files automatically to my network location (that's mapped drive in windows).
Also, sometimes it looks that I must upload same files manually twice to have it uploaded on my server. That's quite annoying.
Of course I've looked for some options, plugins or help on Jetbrains webpages, without success.
So the question is, why files are not uploading automatically and how to achieve it?
ver: 7.0, build: PS-131.374, JRE 1.7.0_10; VM: HotSpot srv; Windows 7 Pro SP1; 8 GB Ram PC;
Network is working fine.
**EDIT: I have automatic upload enabled. **
Thanks!
go to Tools -> Deployment -> Options and check the checkbox 'Upload external changes'.
Tada :)
1. Latest stable version is 7.1.3 -- consider upgrading from your 7.0
2. VCS changes are considered external changes, so unless you edit those changed files .. or configured to automatically upload external changes as well, they will not be transferred.
http://youtrack.jetbrains.com/issue/WI-2171 -- subscribe to that ticket (vote/star/comment) to get notified on progress.
Also, sometimes it looks that I must upload same files manually twice to have it uploaded on my server. That's quite annoying.
No clue -- you should check your idea.log (Help | Show Log in...) for possible hints / exceptions. Quite likely it fails to upload those files for some reason.
We are using TortoiseHg as our Mercurial client UI. Today we ran into an issue while trying to push from one particular workstation. It was receiving the following error:
abort: No space left on device
[command returned code 255 ..........]
This error occurs while TortoiseHg/Mercurial is bundling files in preparation to pushing to the repository. I did some testing and noticed that the workstations (C:) drive was gradually being filled up as the file were being bundled. The (C:) drive went from ~900MB to ~100MB and then the error message was received. So this is obviously the cause.
My question is this:
Does anyone know which default directory is used to store the temp files created while TortoiseHg/Mercurial bundles files in prep for a push? This seems to be independent of the drive TortoiseHg is installed to. I re-installed to a data drive with plenty of space and still used (C:) to store whatever temp files it was using.
Is there a way to configure TortoiseHg/Mercurial to use a temp directory of your choice?
Thanks in advance for any help!
Mercurial is python and python has good platform specific defaults for temporary file locations. They're pretty easily overridden if you want something other than the defaults, which on Windows are probably c:\temp.
http://docs.python.org/library/tempfile.html#tempfile.tempdir says it's:
The directory named by the TMPDIR environment variable.
The directory named by the TEMP environment variable.
The directory named by the TMP environment variable.
A platform-specific location:
On RiscOS, the directory named by the Wimp$ScrapDir environment variable.
On Windows, the directories C:\TEMP, C:\TMP, \TEMP, and \TMP, in that order.
On all other platforms, the directories /tmp, /var/tmp, and /usr/tmp, in that order.
As a last resort, the current working directory.
So if you've got software using Mercurial on a client computer set the environment variable to some place you know has space.
Mercurial always stores internal files inside the ".hg" folder in the local repository folder.
Maybe TortoiseHg has a additional temp folder... don't know. Anyway you should try to push the files using the Mercurital command line client:
hg push
More information about the command line client you can find here Mercurial: The Definitive Guide
Another temporary solution might be the move these files via a file system simlink to another drive with more space left.