{"id":1179,"date":"2019-10-09T20:54:59","date_gmt":"2019-10-09T20:54:59","guid":{"rendered":"https:\/\/castle-engine.io\/wp\/?p=1179"},"modified":"2019-10-09T20:55:51","modified_gmt":"2019-10-09T20:55:51","slug":"configurable-fpc-and-lazarus-location-in-the-editor","status":"publish","type":"post","link":"https:\/\/castle-engine.io\/wp\/2019\/10\/09\/configurable-fpc-and-lazarus-location-in-the-editor\/","title":{"rendered":"Configurable FPC and Lazarus location in the editor"},"content":{"rendered":"<table class=\"thumbnails thumbnails-align-right\"><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2019\/10\/cge-editor-location.png\"\n             class=\"screenshot\"\n             title=\"cge-editor-location\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2019\/10\/cge-editor-location-200x138.png\"\n             width=\"200\" height=\"138\" \n            alt=\"cge-editor-location\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2019\/10\/cge-editor-location-warning.png\"\n             class=\"screenshot\"\n             title=\"cge-editor-location-warning\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2019\/10\/cge-editor-location-warning-200x237.png\"\n             width=\"200\" height=\"237\" \n            alt=\"cge-editor-location-warning\"\n          ><\/a><\/td><\/tr><\/table>\n<p>The <a href=\"https:\/\/castle-engine.io\/manual_editor.php\">CGE editor<\/a> now has a <i>&#8220;Preferences&#8221;<\/i> window where you can configure the location of FPC \/ Lazarus.<\/p>\n<p>Basically, if you use the CGE editor, you no longer have to worry about adjusting your environment variables. No need to place FPC \/ Lazarus in <code>$PATH<\/code> anymore, and no need to define <code>$CASTLE_ENGINE_PATH<\/code>. This should make the editor more user-friendly &#8212; I&#8217;m aware that editing environment variables isn&#8217;t comfortable for everyone on all operating systems \ud83d\ude42<\/p>\n<p>The editor now also displays more prominently whether it detected FPC (and what version it  detected), and the &#8220;Preferences&#8221; window includes a helpful text leading to <a href=\"https:\/\/www.lazarus-ide.org\/\">Lazarus + FPC download<\/a>. All this will hopefully lead to more straightforward experience for people new to Lazarus\/FPC.<\/p>\n<p><i>(The next step will be, one day, to bundle FPC\/Lazarus with CGE editor&#8230; but it&#8217;s not something I want to attempt now, for nearest release. Especially since advanced users would like to have an &#8220;unbundled&#8221; download anyway, as you probably want more control over FPC\/Lazaus version.)<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The CGE editor now has a &#8220;Preferences&#8221; window where you can configure the location of FPC \/ Lazarus. Basically, if you use the CGE editor, you no longer have to worry about adjusting your environment variables. No need to place FPC \/ Lazarus in $PATH anymore, and no need to define $CASTLE_ENGINE_PATH. This should make &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/castle-engine.io\/wp\/2019\/10\/09\/configurable-fpc-and-lazarus-location-in-the-editor\/\" class=\"more-link\">Continue reading  \u27a4<span class=\"screen-reader-text\"> &#8220;Configurable FPC and Lazarus location in the editor&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1180,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"publish_to_discourse":"0","publish_post_category":"9","wpdc_auto_publish_overridden":"","wpdc_topic_tags":"","wpdc_pin_topic":"","wpdc_pin_until":"","discourse_post_id":"264","discourse_permalink":"https:\/\/forum.castle-engine.io\/t\/configurable-fpc-and-lazarus-location-in-the-editor\/98","wpdc_publishing_response":"","wpdc_publishing_error":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-1179","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2019\/10\/cge-editor-location.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9IgYW-j1","jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/1179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/comments?post=1179"}],"version-history":[{"count":4,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/1179\/revisions"}],"predecessor-version":[{"id":1186,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/1179\/revisions\/1186"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/media\/1180"}],"wp:attachment":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/media?parent=1179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/categories?post=1179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/tags?post=1179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}