{"id":350,"date":"2022-01-07T18:28:38","date_gmt":"2022-01-07T21:28:38","guid":{"rendered":"https:\/\/gladiston.net.br\/?page_id=350"},"modified":"2022-07-13T16:05:35","modified_gmt":"2022-07-13T19:05:35","slug":"salvando-configuracao-da-ide-para-reutilizacao","status":"publish","type":"page","link":"https:\/\/gladiston.net.br\/en\/programacao\/lazarus-ide\/salvando-configuracao-da-ide-para-reutilizacao\/","title":{"rendered":"Saving IDE configuration for reuse"},"content":{"rendered":"<p>The Lazarus IDE stores all its configuration in a specific folder that can be manipulated for different purposes, but generally as a backup. This folder stores adjustments to our IDE that we usually make after installation, but it also stores created templates, applications added in&nbsp;<strong>tools<\/strong>&nbsp;and much more.<\/p>\n\n\n\n<p>While fine tuning the configuration is great, we need to be practical and not waste time repeating the same settings for whatever reason, so it&#039;s useful to know how to save and reuse Lazarus IDE settings made earlier.<br>The location of the configuration folder can vary from place to place, but the default is usually:<\/p>\n\n\n\n<p>On Windows:<\/p>\n\n\n\n<p><code>%USERPROFILE%\\AppData\\Local\\Lazarus<\/code><\/p>\n\n\n\n<p>On Linux the folder can vary from place to place depending on the installation method you used:<\/p>\n\n\n\n<p><code>Installation via distro repository: $HOME\/.lazarus<br>Installation via GIT: $HOME\/.lazarus<br>Compilation via FPCUpDeluge: $HOME\/fpcupdeluxe\/config_lazarus\/<\/code><\/p>\n\n\n\n<p>However, if you run Lazarus with the option&nbsp;<strong>\u2013pcp=\/folder\/do\/lazarus\/configs<\/strong>, So it will be this identified folder that stores the configuration. As you can see, the Lazarus IDE is quite flexible about the location of its configuration and it is wise of us to take advantage of that, how? Generally keeping more than one installation of the same in different folders or computers and taking advantage of shared configurations. Perhaps having a baseline configuration that will suit any Lazarus and then making additional adjustments for the desired purpose. All this helps a lot to avoid wasting time with settings.<\/p>\n\n\n\n<p>I consider it a good practice before a series of configurations\/adjustments to save the backup of our configuration by saving the indicated folder in a .zip file and after consolidating the configuration then saving it again.<\/p>\n\n\n\n<p>If you found it a bit complicated then watch the video below:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Productivity with the Lazarus IDE: Saving IDE configuration for reuse\" width=\"580\" height=\"326\" src=\"https:\/\/www.youtube.com\/embed\/wnGIdmtQlMc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>","protected":false},"excerpt":{"rendered":"<p>A IDE do Lazarus guarda toda a sua configura\u00e7\u00e3o numa pasta espec\u00edfica que pode ser manipulada com diversos fins, mas geralmente como backup. Essa pasta guarda ajustes de nossa IDE que geralmente fazemos depois da instala\u00e7\u00e3o, mas guarda tamb\u00e9m templates criados, os aplicativos acrescentados em&nbsp;Tools&nbsp;e muito mais. Embora seja muito bom fazer ajustes finos na [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":159,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/template-full-width.php","meta":{"footnotes":""},"class_list":["post-350","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/comments?post=350"}],"version-history":[{"count":2,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/350\/revisions"}],"predecessor-version":[{"id":470,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/350\/revisions\/470"}],"up":[{"embeddable":true,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/159"}],"wp:attachment":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/media?parent=350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}