Forum > Options
How migrate options to another computer?
ssawgift:
I really don't want to copy all those files. I only care about these options:
*Jedi format options
* Editor autocompletion. For example, when I type:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---self.Cap The editor prompts Caption and I hit ENTER, default config will use compact autocompletion:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---self.Caption:= My personal taste is one space before and after the assignment operator:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---self.Caption := 'text'
Can anyone tell me which files to copy?
--- Quote from: Martin_fr on December 02, 2022, 02:29:56 pm ---There is something called "Primary config path" (PCP)
Menu: View > Ide Internals > About IDE
Usually:
C:\Users\YOUR_NAME\AppData\Local\lazarus
or on Linux ~/.lazarus
Some of the xml files may contain absolute paths. So if you have a different path on the target, those need to be updated.
You are mainly interested in the xml files.
You can check out others by content.....
--- End quote ---
DomingoGP:
--- Quote ---Can anyone tell me which files to copy?
*Jedi format options
--- End quote ---
Usually on windows:
C:\Users\YOUR_NAME\AppData\Local\lazarus\jcfsettings.cfg
or on Linux:
~/.lazarus/jcfsettings.cfg
--- Quote ---* Editor autocompletion
--- End quote ---
Usually on windows:
C:\Users\YOUR_NAME\AppData\Local\lazarus\codetoolsoptions.xml
on Linux:
~/.lazarus/codetoolsoptions.xml
KodeZwerg:
--- Quote from: ssawgift on December 02, 2022, 02:40:17 pm ---My personal taste is one space before and after the assignment operator:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---self.Caption := 'text'
--- End quote ---
I would like to have that too, would someone be nice to explain "how-to" please?
( With config I have nearly no experience at all, I am happy that now my new projects having my windows needed things included 8-) )
DomingoGP:
You can get that selecting where to insert spaces in the Tools/Options menu.
Then in the codetools / space options select the options you like.
Selecting in front of "symbol" and after "simbol" works for me :).
KodeZwerg:
Thank you very much @DomingoGP!
Navigation
[0] Message Index
[#] Next page
[*] Previous page