Win: C:\Users\USERNAME\AppData\Local\lazarusNot when installed with fpcupdeluxe application but thanks god that you also wrote
If non-default: Menu: View > Ide Internals > About Idethanks for that tip, I did not knew that one :-*
You can delete your old Lazarus installation if needed by simply deleting the directory because Lazarus does not install anything outside of its directory.afaik that is a untrue statement. The configuration of lazarus will be installed (by default) outside the Lazarus directory (and becomes a global setting). If you truly wish for Lazarus to be 'standalone' then start Lazarus with the --pcp option. You have to do that anyway if you are using multiple installations of Lazarus. Neglecting to do so will mess up your Lazarus configuration (between multiple installations).
What I do not understand:afaik nothing at all.
What will the deLuxe version do for me in points of backup?
My idea is this: If there is a rainy day and I loose all my data, which files shall be found in my out-of-house-backup?1. backup your own projects (better use a VCS for that).
They shall enable me to work on in the most quickest way how I was used to work.
What is a "VCS"?Version Control System :-*
What is a "VCS"?KodeZwerg explained the acronym perfectly.
Then I am back at the root of this question: Where are they? The ones I inspected, do NOT contain the work-intensive things as "where is the option which does...." There are hundreds of options and a dozens of them I changed. Some took me aIndeed there are hundreds of options. Some options are global options and some options are project based (can be changed for every project).
day to find. I do not want to spend a week by re-searching.
"3. if you do not wish to redo your Lazarus install, then install/configure it once. Backup the whole thing and restore it in case of problems."You can ofc opt to make a backup of your whole VM (depending on your VM there even might be a some sort of snapshot function available that takes a momentary snapshot of your installation that can be restored). But backing up your lazarus directory (plus configuration directory) should be enough.
It would be helpful if anybody can tell me at least: In which file are the desktops saved?I would have to look into that if you wish for a detailed answer but believe it was answered by another user (here or in one of the other threads that you opened on this subject).
About the xmls:Sorry, perhaps I missed something that you wrote earlier. Could you elaborate of what environment variables you speak of exactly ?
I used a search-tool to find all xml - files. No one of it seemed to contain those environment-values.
Options are e.g. "jump into" or "where to place new methods" and so much more you prefer to work with.
My file "codetoolsoptions.xml" reads
<?xml version="1.0" encoding="UTF-8"?> <CONFIG> <CodeToolsOptions> <Version Value="2"/> <JumpToMethodBody Value="True"/> <UsesInsertPolicy Value="Last"/> <IdentifierCompletion IncludeCodeTemplates="False" IncludeWords="No" ShowHelp="True"/> <Indentation FileName="C:\Users\........\AppData\Local\lazarus\laz_indentation.pas"/> </CodeToolsOptions> </CONFIG>
I doubt, that there is anything of verbose options saved inside.
"where to place new methods"
"where to place new methods"
Well that looks like: <UsesInsertPolicy Value="Last"/>
Though not checked... But, you can test: change the option and see if this key/value follows your change.
The only other option is a long search through the sources. There is no complete map or the like.
Please slowly for dummies: WHERE is it?
Does xml hide anything?
What I posted is the complete file. I do not see anything, which I would think, it is an user-set option.My file "codetoolsoptions.xml" reads
<?xml version="1.0" encoding="UTF-8"?> <CONFIG> <CodeToolsOptions> <Version Value="2"/> <JumpToMethodBody Value="True"/> <UsesInsertPolicy Value="Last"/> <--------- HERE ----------> <IdentifierCompletion IncludeCodeTemplates="False" IncludeWords="No" ShowHelp="True"/> <Indentation FileName="C:\Users\........\AppData\Local\lazarus\laz_indentation.pas"/> </CodeToolsOptions> </CONFIG>
I doubt, that there is anything of verbose options saved inside.
You are aware, that this is much more work, than setting the options again in a new installation?Much more work? No more then 30- 60 seconds, if you are using the right tools like WinMerge.
30 seconds are really few.I'm under the impression that you don't believe me. :) Anyways I did the following:
So it does not take more time, than writing this post, right?
It would be great, if you can do this for me and tell me the correct file-name.
Thanks.
Thank you for doing this.You're welcome!
Never the less, you have only proven, that the file changes, if you open and close the IDE / change the options.
But you have not proven, that this file contains the options, - what it evidently does NOT.
The problem is: The value is TRUE and not the default-one.
Never the less, we cannot see it.
We should, shouldn't we?
The config is in the primary-config-path. And it is stored in several xml files.
Default
Linux: ~/.lazarus
Win: C:\Users\USERNAME\AppData\Local\lazarus
If non-default: Menu: View > Ide Internals > About Ide
The problem is: The value is TRUE and not the default-one.
Never the less, we cannot see it.
We should, shouldn't we?
About the try: I would want to, but I am afraid, this is far from my ability.
I mean, there is no file by this name on my HD containing it, because I did not go into the configuration, but used a search tool to grab the the file by name.Afaik "AppData" is a hidden folder. So maybe it wasn't searched.