{"id":2659,"date":"2021-11-12T20:02:57","date_gmt":"2021-11-12T20:02:57","guid":{"rendered":"https:\/\/castle-engine.io\/wp\/?p=2659"},"modified":"2021-11-12T20:02:57","modified_gmt":"2021-11-12T20:02:57","slug":"invoke-visual-studio-code-or-delphi-from-cge-editor","status":"publish","type":"post","link":"https:\/\/castle-engine.io\/wp\/2021\/11\/12\/invoke-visual-studio-code-or-delphi-from-cge-editor\/","title":{"rendered":"Invoke Visual Studio Code or Delphi from CGE editor"},"content":{"rendered":"<table class=\"thumbnails thumbnails-align-right\"><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2021\/11\/Zrzut-ekranu-z-2021-11-12-20-40-20.png\"\n             class=\"screenshot\"\n             title=\"Castle Game Engine editor preferences\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2021\/11\/Zrzut-ekranu-z-2021-11-12-20-40-20-200x148.png\"\n             width=\"200\" height=\"148\" \n            alt=\"Castle Game Engine editor preferences\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2021\/11\/Zrzut-ekranu-z-2021-11-12-20-40-49.png\"\n             class=\"screenshot\"\n             title=\"Visual Studio Code editing Castle Game Engine  program\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2021\/11\/Zrzut-ekranu-z-2021-11-12-20-40-49-200x113.png\"\n             width=\"200\" height=\"113\" \n            alt=\"Visual Studio Code editing Castle Game Engine  program\"\n          ><\/a><\/td><\/tr><\/table>\n<p>You can now easily choose to invoke <a href=\"https:\/\/code.visualstudio.com\/\">Visual Studio Code<\/a> or <a href=\"https:\/\/www.embarcadero.com\/products\/Delphi\">Delphi<\/a> from the <a href=\"https:\/\/castle-engine.io\/manual_editor.php\">Castle Game Engine Editor<\/a> preferences window.<\/p>\n<p>This is in addition to the previous options to invoke <a href=\"https:\/\/www.lazarus-ide.org\/\">Lazarus IDE<\/a> or a <i>custom editor<\/i> (where you can easily configure e.g. <a href=\"http:\/\/www.gnu.org\/software\/emacs\/\">Emacs<\/a>, my editor of choice \ud83d\ude42 ).<\/p>\n<p>By default we have <i>Autodetect<\/i>, which selects the first of <i>Lazarus<\/i>, <i>Delphi<\/i> or <i>Visual Studio Code<\/i> &mdash; whichever we find on your system.<\/p>\n<p><a href=\"https:\/\/code.visualstudio.com\/\">Visual Studio Code<\/a> is a modern cross-platform IDE for various programming languages and frameworks. You can use it with <a href=\"https:\/\/castle-engine.io\/modern_pascal_introduction.html\">Object Pascal<\/a> and <i>Castle Game Engine<\/i> instantly.<\/p>\n<p><i>Tip: Did you know there&#8217;s also a web version of VS Code, easily available?<\/i> Just go to any repository on GitHub (like <a href=\"https:\/\/github.com\/castle-engine\/castle-engine\/\">castle-engine<\/a>) and press <code>.<\/code> (dot) on your keyboard. Woah &mdash; a full-featured editor running just in your browser! And it can sync settings. And it is integrated with GIT and GitHub &mdash; if you edit a repo where you&#8217;re not a member, it can easily create a PR from your edits. I recently listened to <a href=\"https:\/\/www.githubuniverse.com\/\">GitHub Universe 2021<\/a> talks, a lot of interesting content from GitHub, and they integrate new features into VS Code intensively.<\/p>\n<p>The Delphi integration with CGE editor is not a final version &mdash; it will be better once we use DDE for inter-process communication to avoid opening new Delphi window each time. More on Delphi progress in later post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can now easily choose to invoke Visual Studio Code or Delphi from the Castle Game Engine Editor preferences window. This is in addition to the previous options to invoke Lazarus IDE or a custom editor (where you can easily configure e.g. Emacs, my editor of choice \ud83d\ude42 ). By default we have Autodetect, which &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/castle-engine.io\/wp\/2021\/11\/12\/invoke-visual-studio-code-or-delphi-from-cge-editor\/\" class=\"more-link\">Continue reading  \u27a4<span class=\"screen-reader-text\"> &#8220;Invoke Visual Studio Code or Delphi from CGE editor&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2661,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"publish_to_discourse":"1","publish_post_category":"9","wpdc_auto_publish_overridden":"","wpdc_topic_tags":"","wpdc_pin_topic":"","wpdc_pin_until":"","discourse_post_id":"1561","discourse_permalink":"https:\/\/forum.castle-engine.io\/t\/invoke-visual-studio-code-or-delphi-from-cge-editor\/450","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-2659","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\/2021\/11\/Zrzut-ekranu-z-2021-11-12-20-40-20.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9IgYW-GT","jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/2659","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=2659"}],"version-history":[{"count":6,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/2659\/revisions"}],"predecessor-version":[{"id":2667,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/2659\/revisions\/2667"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/media\/2661"}],"wp:attachment":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/media?parent=2659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/categories?post=2659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/tags?post=2659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}