{"id":613,"date":"2018-11-15T12:24:41","date_gmt":"2018-11-15T12:24:41","guid":{"rendered":"https:\/\/yazilimperver.com\/?p=613"},"modified":"2019-01-11T18:56:09","modified_gmt":"2019-01-11T18:56:09","slug":"visual-studio-code","status":"publish","type":"post","link":"https:\/\/yazilimperver.com\/index.php\/2018\/11\/15\/visual-studio-code\/","title":{"rendered":"Visual Studio Code"},"content":{"rendered":"<p>[:tr]Merhaba arkada\u015flar,<\/p>\n<p>Bir \u00e7ok yaz\u0131mdan da anlayaca\u011f\u0131n\u0131z \u00fczere windows \u00fczerinde yaz\u0131l\u0131m geli\u015ftirmek i\u00e7in Visual Studio&#8217;yu kullan\u0131yorum. Ama baz\u0131 noktalarda daha ufak kod incelemeleri\/g\u00fcncellemeleri veya python tarz\u0131 betik dilleri kullanarak uygulama geli\u015ftirme ihtiyac\u0131 ortaya \u00e7\u0131kabiliyor ve bunlar i\u00e7in de VS&#8217;i kullanmak biraz k\u00fclfetli oluyor a\u00e7\u0131k\u00e7as\u0131. Bu ama\u00e7la, ben de son bir ka\u00e7 senedir Sublime metin edit\u00f6r\u00fcn\u00fc kullan\u0131yorum (daha \u00f6nce de Notepad++ kullan\u0131rd\u0131m). Kendileri olduk\u00e7a kabiliyetli ve ihtiya\u00e7 duydu\u011fum bir \u00e7ok kabiliyeti i\u00e7erisinde bar\u0131nd\u0131r\u0131yor.<\/p>\n<p>Takip etti\u011fim baz\u0131 sitelerde ve de \u00f6zellikle yaz\u0131m\u0131n sonlar\u0131na do\u011fru bahsedece\u011fim bir ihtiya\u00e7 sonras\u0131nda microsoftun yeni geli\u015ftirmi\u015f oldu\u011fu (yeni dedi\u011fime bakmay\u0131n siz ben yeni g\u00f6r\u00fcyorum \ud83d\ude42 yoksa neredeyse 3-4 y\u0131ld\u0131r kullan\u0131l\u0131yormu\u015f) <strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/code.visualstudio.com\/\">Visual Studio Code<\/a><\/span><\/strong> arac\u0131na denk geldim. Ara\u00e7 isminden de anla\u015f\u0131laca\u011f\u0131 \u00fczere VS&#8217;den al\u0131\u015fageldi\u011fimiz IDE aray\u00fczlerini daha basitle\u015ftirilmi\u015f bir \u015fekilde sublime benzeri (&#8220;Command palette&#8221; \u00f6zelli\u011fi de hani sublime&#8217;\u0131 hat\u0131rlatm\u0131yor de\u011fil \ud83d\ude42 bir edit\u00f6r arac\u0131l\u0131\u011f\u0131 ile sunuyor.<\/p>\n<p id=\"rhhKIqf\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-622 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc.png\" alt=\"\" width=\"712\" height=\"396\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc.png 748w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc-300x167.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc-500x278.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc-150x83.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc-400x222.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc-200x111.png 200w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/p>\n<p>Arac\u0131n \u00f6ne \u00e7\u0131kar\u0131lan en \u00f6nemli \u00f6zellikleri:<\/p>\n<ul>\n<li>Bir kere bedava ve a\u00e7\u0131k kaynakl\u0131,<\/li>\n<li>Windows, linux ve mac deste\u011fi var,<\/li>\n<li>Mevcut edit\u00f6rlerde kullan\u0131lan k\u0131sayollar\u0131 e\u015fleme mevcut (Vim, sublime, IntelliJ, Visual Studio, vb.),<\/li>\n<li>Yerle\u015fik bir \u00e7ok ara\u00e7 deste\u011fi mevcut,<\/li>\n<li>Bir \u00e7ok dil (Javascript, JSON, HTML, CSS, TypeScript, C++, Java, PHP, Python, Go, SQL, C#) i\u00e7in &#8220;IntelliSense&#8221; deste\u011fi mevcut (sitelerinde de bahsedildi\u011fi \u00fczere sadece renklendirme de\u011fil ayn\u0131 zaman koda tahminleme\/tamamlama kabiliyetleri de sunuluyor),<\/li>\n<li>Kod ay\u0131klama kabiliyetleri sunuluyor (bunun i\u00e7in derleme ve olu\u015fturma eklentilerini aktifle\u015ftirmeniz gerekiyor),<\/li>\n<li>Git deste\u011fi yerle\u015fik olarak sunuluyor,<\/li>\n<li>Belki de en \u00f6nemli \u00f6zelliklerinden birisi de <strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/code.visualstudio.com\/docs\/editor\/extension-gallery\">uyarlama alt yap\u0131s\u0131<\/a><\/span><\/strong> (Uygulama i\u00e7erisinden &#8216;Ctrl+Shift+X&#8217; ile eri\u015febilirsiniz)<\/li>\n<\/ul>\n<p>Daha detayl\u0131 bilgili i\u00e7in arac\u0131n <strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/code.visualstudio.com\/docs\">dok\u00fcmantasyon sayfas\u0131na<\/a> <\/span><\/strong>eri\u015febilirsiniz. Uygulamay\u0131 indirmek i\u00e7in <strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/go.microsoft.com\/fwlink\/?LinkID=534107\">indirme ba\u011flant\u0131s\u0131na<\/a><\/span><\/strong> t\u0131klayabilirsiniz. A\u00e7\u0131k\u00e7as\u0131 arac\u0131 kullanmaya ba\u015flayal\u0131 bir ka\u00e7 hafta oldu ama ho\u015fuma gitmedi desem yalan olur, ileride belki daha detayl\u0131 tecr\u00fcbelerimi sizler ile payla\u015f\u0131r\u0131m. A\u00e7\u0131k\u00e7as\u0131 \u00f6zellikle linux ve benzeri sistemlerde kullan\u0131m\u0131 bende merak uyand\u0131rd\u0131, bu platformlarda \u00e7al\u0131\u015fan yaz\u0131l\u0131mperverler i\u00e7in iyi bir tercih olabilir.<\/p>\n<h2><span style=\"color: #0000ff;\"><strong>VS Code ile C++ Uygulamas\u0131 Geli\u015ftirme<\/strong><\/span><\/h2>\n<p>Yaz\u0131ma son vermeden \u00f6nce h\u0131zl\u0131ca VSCode arac\u0131l\u0131\u011f\u0131 ile h\u0131zl\u0131ca C++ programlama i\u00e7in takip etmeniz gereken ad\u0131mlar\u0131 sizler ile payla\u015faca\u011f\u0131m. (Bu arada, buradaki ad\u0131mlar sadece bir y\u00f6ntem ba\u015fka eklenti veya ara\u00e7lar ile de ayn\u0131 geli\u015ftirme ortam\u0131n\u0131 elde edebilirsiniz.)<\/p>\n<ul>\n<li><strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/go.microsoft.com\/fwlink\/?LinkID=534107\">\u0130ndirme ba\u011flant\u0131s\u0131na<\/a><\/span><\/strong> t\u0131klayarak uygulamay\u0131 indirin ve kurun<\/li>\n<li>Daha sonra taray\u0131c\u0131dan<strong><span style=\"color: #008000;\"> <a style=\"color: #008000;\" href=\"https:\/\/marketplace.visualstudio.com\/vscode\">eklenti adresinden<\/a><\/span><\/strong> ya da uygulama i\u00e7erisinden a\u015fa\u011f\u0131daki d\u00fc\u011fmeyi t\u0131klayarak eklentiler sayfas\u0131n\u0131 a\u00e7\u0131n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-623 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff.png\" alt=\"\" width=\"598\" height=\"450\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff.png 1023w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-300x226.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-768x578.png 768w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-500x376.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-150x113.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-400x301.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-800x602.png 800w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-200x151.png 200w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/li>\n<li>C++ ile yaz\u0131l\u0131m geli\u015ftirme i\u00e7in \u00fc\u00e7 adet eklenti kuraca\u011f\u0131z. Bunlar: &#8220;<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-vscode.cpptools\">C\/C++<\/a><\/strong><\/span>&#8220;, &#8220;<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ACharLuk.easy-cpp-projects\">Easy C++ projects<\/a><\/strong><\/span>&#8221; ve &#8220;<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=cschlosser.doxdocgen\">Doxygen Documentation Generator<\/a><\/strong><\/span>&#8221; eklentileri. Bunlar\u0131n her birini bir \u00f6nceki ad\u0131mdan veya ekledi\u011fim eklenti ba\u011flant\u0131lar\u0131ndan kural\u0131m,<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" class=\" alignnone wp-image-624\" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068.png\" alt=\"\" width=\"459\" height=\"415\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068.png 715w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068-300x271.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068-500x452.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068-150x136.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068-400x362.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068-200x181.png 200w\" sizes=\"auto, (max-width: 459px) 100vw, 459px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-626 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052.png\" alt=\"\" width=\"414\" height=\"379\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052.png 750w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052-300x274.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052-500x457.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052-150x137.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052-400x366.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052-200x183.png 200w\" sizes=\"auto, (max-width: 414px) 100vw, 414px\" \/>\n<p id=\"elmebsi\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-627 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce.png\" alt=\"\" width=\"411\" height=\"276\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce.png 725w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce-300x202.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce-500x336.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce-150x101.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce-400x269.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce-200x134.png 200w\" sizes=\"auto, (max-width: 411px) 100vw, 411px\" \/><\/p>\n<\/li>\n<li>Bu arada &#8220;Easy C++ Projects&#8221; i kullanmak i\u00e7in gerekli olan derleyicileri \u00f6ncesinden kurman\u0131z gerekiyor. \u0130lgili eklentinin sayfas\u0131nda kullan\u0131labilecek derleyiciler ve kurulum y\u00f6nergelerini yard\u0131mc\u0131 olmas\u0131 a\u00e7\u0131s\u0131ndan yaz\u0131m\u0131n sonuna ekliyorum,<\/li>\n<li>Her eklentiyi kurduktan sonra ilgili eklenti ba\u015fl\u0131\u011f\u0131n\u0131n orada &#8220;Reload to Activate&#8221; yazan mavi bir d\u00fc\u011fme \u00e7\u0131kacak bunu t\u0131klayarak ilgili eklentileri aktifle\u015ftirin,<\/li>\n<li>\n<p id=\"MDoFwgz\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"152\" class=\"alignnone size-full wp-image-629 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef.png\" alt=\"\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef.png 711w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef-300x64.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef-500x107.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef-150x32.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef-400x86.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef-200x43.png 200w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/p>\n<\/li>\n<li>Evet art\u0131k VS Code ile C++ geli\u015ftirmek i\u00e7in gerekli ortam\u0131m\u0131z haz\u0131r oldu \u015fimdi hemen bir \u00f6rnek yapal\u0131m,<\/li>\n<li>\u00d6ncelikli olarak e\u011fer Sublime kulland\u0131 iseniz genel olarak bu tarz edit\u00f6rler VS deki &#8220;solution&#8221; ya da proje benzeri yakla\u015f\u0131m\u0131 farkl\u0131 dizinler olu\u015fturarak ger\u00e7ekle\u015ftiriyorlar. Bu ba\u011flamda \u00f6nce projemiz i\u00e7in bir dizin olu\u015fturaca\u011f\u0131z. Bunun i\u00e7in de &#8220;File -&gt; Open folder&#8221;&#8216;a t\u0131klayal\u0131m ve diskte istedi\u011fimiz bir yer &#8220;VSCodeExample&#8221; isimli bir folder olu\u015ftural\u0131m. Bunu olu\u015fturdu\u011fumuz zaman soldaki &#8220;Explorer&#8221; panelinde ilgili ba\u015fl\u0131\u011f\u0131n geldi\u011fini g\u00f6receksiniz:<\/li>\n<li>\n<p id=\"ylEQhti\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"558\" class=\"alignnone size-full wp-image-630 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec605d667f9.png\" alt=\"\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec605d667f9.png 324w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec605d667f9-174x300.png 174w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec605d667f9-150x258.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec605d667f9-200x344.png 200w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/p>\n<\/li>\n<li>\u015eimdi &#8220;Command Palette&#8221; &#8216;i a\u00e7mak i\u00e7in F1&#8217;e basal\u0131m. A\u015fa\u011f\u0131daki gibi bir listenin g\u00f6r\u00fcnt\u00fclenmesini bekliyoruz:<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"445\" class=\"alignnone size-full wp-image-632 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014.png\" alt=\"\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014.png 650w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014-300x205.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014-500x342.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014-150x103.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014-400x274.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014-200x137.png 200w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/li>\n<li>Burada ilgili girdi kutusuna &#8220;C++&#8221; yaz\u0131p gelen &#8220;Easy Cpp\/C++: Create new C++ project&#8221;&#8216;i se\u00e7iyoruz. Bunda sonra ilgili derleyici listesi geliyor,<\/li>\n<li>\n<p id=\"lRAHDLy\"><img loading=\"lazy\" decoding=\"async\" width=\"604\" height=\"151\" class=\"alignnone size-full wp-image-633 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e.png\" alt=\"\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e.png 604w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e-300x75.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e-500x125.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e-150x38.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e-400x100.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e-200x50.png 200w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<\/li>\n<li>Ben \u00f6rnek i\u00e7in &#8220;[MSVC] Windows X64, Visual Studio Build Tools 2017&#8243;&#8216;i se\u00e7ece\u011fim. Bunu da se\u00e7tikten sonra ilgili dizin i\u00e7erisine gerekli dosyalar\u0131n otomatik olarak eklendi\u011fini soldaki &#8220;Explorer&#8221; panelinde g\u00f6rebilirsiniz,<\/li>\n<li>\n<p id=\"buXquUQ\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"576\" class=\"alignnone size-full wp-image-635 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd.png\" alt=\"\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd.png 768w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd-300x225.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd-500x375.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd-150x113.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd-400x300.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd-200x150.png 200w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/p>\n<\/li>\n<li>\u00a0Son olarak projeyi derlemek ve \u00e7al\u0131\u015ft\u0131rmak i\u00e7in a\u015fa\u011f\u0131daki &#8220;Build &amp; Run&#8221; se\u00e7ene\u011fine t\u0131klaman\u0131z yeterli. VS Code kullanarak ilk C++ uygulaman\u0131z\u0131 geli\u015ftirdiniz \ud83d\ude42<\/li>\n<li>E\u011fer d\u00fc\u011fmeye t\u0131klad\u0131ktan sonra &#8220;TERMINAL&#8221; alan\u0131nda a\u015fa\u011f\u0131daki gibi bir hata ile kar\u015f\u0131la\u015f\u0131yor iseniz sa\u011fda \u00e7\u0131kan &#8220;Do you allow shell: &#8220;cmd.exe&#8221; &#8230;&#8221; penceresinden cmd.exe ye izin verin, ya da <a href=\"https:\/\/stackoverflow.com\/questions\/42729130\/visual-studio-code-how-to-switch-from-powershell-exe-to-cmd-exe\"><strong><span style=\"color: #008000;\">buradaki ad\u0131mlar\u0131<\/span><\/strong><\/a> da izleyebilirsiniz.<\/li>\n<li>\n<pre class=\"theme:powershell lang:c++ decode:true \">The terminal process terminated with exit code: 1\r\n\r\nTerminal will be reused by tasks, press any key to close it.\r\n\r\n&gt; Executing task: .\\build.bat &amp;&amp; .\\bin\\main.exe &lt;\r\n\r\nAt line:1 char:13\r\n+ .\\build.bat &amp;&amp; .\\bin\\main.exe\r\n+             ~~\r\nThe token '&amp;&amp;' is not a valid statement separator in this version.\r\n    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException\r\n    + FullyQualifiedErrorId : InvalidEndOfLine\r\n\r\nThe terminal process terminated with exit code: 1<\/pre>\n<p id=\"wHvKyjf\"><img loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"119\" class=\"alignnone size-full wp-image-636 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec62e69906e.png\" alt=\"\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec62e69906e.png 461w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec62e69906e-300x77.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec62e69906e-150x39.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec62e69906e-400x103.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec62e69906e-200x52.png 200w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><\/p>\n<\/li>\n<li>\u00a0Tekrar &#8220;Build&amp;Run&#8221; a bast\u0131\u011f\u0131n\u0131zda herhangi bir sorun ile kar\u015f\u0131la\u015fmadan a\u015fa\u011f\u0131daki \u00e7\u0131kt\u0131lar\u0131 g\u00f6rmenizi bekliyorum<\/li>\n<li>\n<pre class=\"theme:powershell lang:c++ decode:true \">&gt; Executing task: .\\build.bat &amp;&amp; .\\bin\\main.exe &lt;\r\n\r\n**********************************************************************\r\n** Visual Studio 2017 Developer Command Prompt v15.8.7\r\n** Copyright (c) 2017 Microsoft Corporation\r\n**********************************************************************\r\n[vcvarsall.bat] Environment initialized for: 'x64'\r\nx64 i\u00e7in Microsoft (R) C\/C++ \u0130yile\u015ftirmeli Derleyicisi S\u00fcr\u00fcm 19.15.26730\r\nTelif Hakk\u0131 (C) Microsoft Corporation. T\u00fcm haklar\u0131 sakl\u0131d\u0131r.\r\n\r\nmain.cpp\r\nMicrosoft (R) Incremental Linker Version 14.15.26730.0\r\nCopyright (C) Microsoft Corporation.  All rights reserved.\r\n\r\n\/out:main.exe\r\n\/debug\r\n\/OUT:bin\\main.exe\r\nmain.obj\r\nHello Easy C++ project!\r\n\r\nTerminal will be reused by tasks, press any key to close it.<\/pre>\n<\/li>\n<\/ul>\n<h2><strong><span style=\"color: #0000ff;\">Doxygen ile Kod A\u00e7\u0131klamas\u0131 Ekleme<\/span><\/strong><\/h2>\n<p>Gelelim VS Code ile kodumuza doxygen uyumlu kod a\u00e7\u0131klamalar\u0131 eklemeye. A\u00e7\u0131k\u00e7as\u0131 VS Code ile ilk ciddi kar\u015f\u0131la\u015fmam da C++ kodlar\u0131m\u0131 doxygen uyumlu kod a\u00e7\u0131klama i\u00e7in kullanaca\u011f\u0131m bir ara\u00e7 aray\u0131\u015f\u0131 ile oldu. Bir eklenti buldum eklentinin VS i\u00e7in oldu\u011funu d\u00fc\u015f\u00fcnerek irdeledim fakat VS Code i\u00e7in oldu\u011funu g\u00f6rd\u00fcm, oradan yav hele bir bakal\u0131m bu araca dey\u00fcp sonras\u0131nda taa bu yaz\u0131ma kadar geldik.<\/p>\n<p>Evet arkada\u015flar VS Code<strong><span style=\"color: #008000;\">\u00a0<a style=\"color: #008000;\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=cschlosser.doxdocgen\">Doxygen Documentation Generator<\/a><\/span><\/strong>\u00a0eklentisi ile \u00e7ok h\u0131zl\u0131 bir \u015fekilde doxygen uyumlu kod a\u00e7\u0131klamalar\u0131 ekleyebiliyorsunuz. Bunun i\u00e7in ilgili kod par\u00e7as\u0131ndan bir \u00f6nceki sat\u0131ra gelip (\u00f6r. tan\u0131mlanan metot veya s\u0131n\u0131f veya dosyan\u0131n ba\u015flang\u0131c\u0131), &#8220;\/**&#8221; yaz\u0131p &#8220;Enter&#8221; a bast\u0131\u011f\u0131n\u0131z anda otomatik olarak bu eklenti ilgili a\u00e7\u0131klama \u015fablonunu ekliyor (e\u011fer gelmiyor ise ilgili eklentinin kurulu oldu\u011fu ve &#8220;Reload to Activate&#8221; dedi\u011finizden emin olun).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/github.com\/christophschlosser\/doxdocgen\/raw\/master\/images\/options.gif\" alt=\"options\" width=\"293\" height=\"185\" \/>\u00a0<img decoding=\"async\" src=\"https:\/\/github.com\/christophschlosser\/doxdocgen\/raw\/master\/images\/file.gif\" alt=\"file description\" \/>\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/github.com\/christophschlosser\/doxdocgen\/raw\/master\/images\/param_simple.gif\" alt=\"Simple Parameter\" width=\"217\" height=\"188\" \/><\/p>\n<p>Daha detayl\u0131 bilgi i\u00e7in ilgili <span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=cschlosser.doxdocgen#user-content-known-issues\">eklentinin sayfas\u0131na<\/a><\/strong><\/span> ba\u015fvurabilirsiniz.<\/p>\n<h2><strong><span style=\"color: #0000ff;\">&#8220;Easy C++ Project&#8221; Derleyici Kurulum Y\u00f6nergeleri<\/span><\/strong><\/h2>\n<h3 id=\"windows\">Windows<\/h3>\n<ul>\n<li>You must have MSVC or GCC installed:\n<ul>\n<li>MSVC can be installed using Build Tools for Visual Studio 2017 from\u00a0<strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" title=\"https:\/\/www.visualstudio.com\/downloads\/\" href=\"https:\/\/www.visualstudio.com\/downloads\/\">here<\/a><\/span><\/strong><\/li>\n<li>GCC Windows 10: Install GCC and Make on Windows through WSL:\u00a0<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" title=\"https:\/\/github.com\/acharluk\/UsefulStuff\/blob\/master\/windows\/setup_wsl.md\" href=\"https:\/\/github.com\/acharluk\/UsefulStuff\/blob\/master\/windows\/setup_wsl.md\">Windows Subsystem for Linux setup<\/a><\/strong><\/span><\/li>\n<li>GCC Windows 8.1 or lower: Install GCC and Make using\u00a0<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" title=\"https:\/\/www.cygwin.com\/\" href=\"https:\/\/www.cygwin.com\/\">Cygwin<\/a>\u00a0<\/strong><\/span>or\u00a0<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" title=\"http:\/\/www.mingw.org\/\" href=\"http:\/\/www.mingw.org\/\">MinGW<\/a><\/strong><\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 id=\"gnu-linux\">GNU\/Linux<\/h3>\n<ul>\n<li>Install GCC, Make and GDB using the package manager of your distribution, these are some of them:\n<ul>\n<li>Debian\/Ubuntu\/Mint:\u00a0<code>sudo apt install g++ make gdb<\/code><\/li>\n<li>Fedora:\u00a0<code>sudo dnf install gcc-c++ make gdb<\/code><\/li>\n<li>Arch Linux:\u00a0<code>sudo pacman -S gcc make gdb<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 id=\"macos\">MacOS<\/h3>\n<ul>\n<li>GCC: Check out\u00a0<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" title=\"https:\/\/brew.sh\/\" href=\"https:\/\/brew.sh\/\">Brew<\/a><\/strong><\/span><\/li>\n<li>Clang:\n<ul>\n<li>Open a Terminal<\/li>\n<li>Run the command\u00a0<code>xcode-select --install<\/code><\/li>\n<li>A dialog will appear telling you that it requires the command line developer tools, and asks if you would like to install them. Click on the &#8220;Install&#8221; button<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2><strong><span style=\"color: #0000ff;\">Kaynaklar<\/span><\/strong><\/h2>\n<p>Yukar\u0131dakilere ek olarak a\u015fa\u011f\u0131daki kaynaklardan da faydalanabilirsiniz.<\/p>\n<ul>\n<li><span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/code.visualstudio.com\/\">https:\/\/code.visualstudio.com\/<\/a><\/strong><\/span><\/li>\n<li><span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/github.com\/Microsoft\/vscode\">https:\/\/github.com\/Microsoft\/vscode<\/a><\/strong><\/span><\/li>\n<li><a href=\"https:\/\/medium.freecodecamp.org\/an-overview-of-visual-studio-code-for-front-end-developers-49a4aa0771fb\"><span style=\"color: #008000;\"><strong>https:\/\/medium.freecodecamp.org\/an-overview-of-visual-studio-code-for-front-end-developers-49a4aa0771fb<\/strong><\/span><\/a><\/li>\n<li><span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/news.codecademy.com\/visual-studio-code-sublime-text\/\">https:\/\/news.codecademy.com\/visual-studio-code-sublime-text\/<\/a><\/strong><\/span><\/li>\n<li><strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/blog.elmah.io\/best-visual-studio-code-extensions\/\">https:\/\/blog.elmah.io\/best-visual-studio-code-extensions\/<\/a><\/span><\/strong><\/li>\n<li><strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/github.com\/viatsko\/awesome-vscode\">https:\/\/github.com\/viatsko\/awesome-vscode<\/a><\/span><\/strong> =&gt; Olduk\u00e7a kapsaml\u0131 bir liste<\/li>\n<\/ul>\n<p>[:en]Hello my friends,<\/p>\n<p>As you may realized, I am using Visual Studio 2017 community for my C++ development activities. But sometimes, it might be required to find a simple tool to check code samples and to develop scripts which might be a little bit overshoot for Visual Studio. For this purpose, I have been using sublime editor for last couple of years (before that I was using Notepad++) which is very powerful and intuitive.<\/p>\n<p>At some sites that I followed, and especially after a necessity that I will mention at the end of my post, I encounter with Microsoft&#8217;s new editor, <strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/code.visualstudio.com\/\">Visual Studio Code<\/a><\/span><\/strong> (Well it has been around for 3-4 years \ud83d\ude42 As it name implies, this tool provide Visual Studio like IDE GUI via sublime like editor.<\/p>\n<p id=\"rhhKIqf\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-622 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc.png\" alt=\"\" width=\"712\" height=\"396\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc.png 748w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc-300x167.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc-500x278.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc-150x83.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc-400x222.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec582fca4fc-200x111.png 200w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/p>\n<p>The tool&#8217;s prominent features can be listed as:<\/p>\n<ul>\n<li>Free and open source,<\/li>\n<li>Support for Windows, linux and mac,<\/li>\n<li>The shortcuts of well known IDEs and editors can be used within this tool,<\/li>\n<li>Great extension and tool support,<\/li>\n<li>Intellisen support for various programming languages (Javascript, JSON, HTML, CSS, TypeScript, C++, Java, PHP, Python, Go, SQL, C#) . This suport covers not only coloring but also code completion,<\/li>\n<li>Debugging capabilities with associated compiler plugins,<\/li>\n<li>Built-in git support,<\/li>\n<li>In my opinion, the most important capability of this tool is\u00a0 <strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/code.visualstudio.com\/docs\/editor\/extension-gallery\">extensibility<\/a>\u00a0<\/span><\/strong>(Corresponding plugins can be seen in a gallery which can be accessed via &#8216;Ctrl+Shift+X&#8217;).<\/li>\n<\/ul>\n<p>For more details, you can check out <strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/code.visualstudio.com\/docs\">tool&#8217;s documentation<\/a><\/span><\/strong>.\u00a0 To download the application you can <strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/go.microsoft.com\/fwlink\/?LinkID=534107\">click this link.<\/a>\u00a0<\/span><\/strong>Honestly, I have been using this tool for one or two weeks and it is not that bad but not enough for me to give up on Sublime \ud83d\ude42 I really like Visual Studio IDE for programming C++, so if you are developing on Linux or similar platforms, this might be a good choice for you.<\/p>\n<h2><span style=\"color: #0000ff;\"><strong>Developing C++ Application with VS Code<\/strong><\/span><\/h2>\n<p>Before completing my post, let us look at the steps that we need to follow to develop a simple C++ application using VSCode. (By the way, this steps are based on some plugins, so there might be other plugins that you may use for this purpose.)<\/p>\n<ul>\n<li>Go and click to\u00a0<strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/go.microsoft.com\/fwlink\/?LinkID=534107\">Download Link<\/a><\/span><\/strong>\u00a0to download application and then install it,<\/li>\n<li>Open Extensions either from your browser (by clicking to <strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/marketplace.visualstudio.com\/vscode\">eklenti adresinden<\/a>)<\/span><\/strong>\u00a0or clicking to button illustrated below<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-623 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff.png\" alt=\"\" width=\"598\" height=\"450\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff.png 1023w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-300x226.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-768x578.png 768w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-500x376.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-150x113.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-400x301.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-800x602.png 800w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5c00148ff-200x151.png 200w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/li>\n<li>We are going to install three extensions for developing C++ software which are &#8220;<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-vscode.cpptools\">C\/C++<\/a><\/strong><\/span>&#8220;, &#8220;<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ACharLuk.easy-cpp-projects\">Easy C++ projects<\/a><\/strong><\/span>&#8221; and &#8220;<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=cschlosser.doxdocgen\">Doxygen Documentation Generator<\/a><\/strong><\/span>&#8220;. Install these extensions via the links that I provided,<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" class=\" alignnone wp-image-624\" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068.png\" alt=\"\" width=\"459\" height=\"415\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068.png 715w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068-300x271.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068-500x452.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068-150x136.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068-400x362.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5ceb3c068-200x181.png 200w\" sizes=\"auto, (max-width: 459px) 100vw, 459px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-626 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052.png\" alt=\"\" width=\"414\" height=\"379\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052.png 750w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052-300x274.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052-500x457.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052-150x137.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052-400x366.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d1520052-200x183.png 200w\" sizes=\"auto, (max-width: 414px) 100vw, 414px\" \/>\n<p id=\"elmebsi\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-627 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce.png\" alt=\"\" width=\"411\" height=\"276\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce.png 725w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce-300x202.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce-500x336.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce-150x101.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce-400x269.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5d4a142ce-200x134.png 200w\" sizes=\"auto, (max-width: 411px) 100vw, 411px\" \/><\/p>\n<\/li>\n<li>By the way, to use &#8220;Easy C++ Projects&#8221;, you need to install corresponding compilers beforehand. You can find supported compilers and how to use them at the end of post,<\/li>\n<li>After installing every extension, you need to activate corresponding extension by clicking to blue &#8220;Reload to Activate&#8221; button as illustrated below,<\/li>\n<li>\n<p id=\"MDoFwgz\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"152\" class=\"alignnone size-full wp-image-629 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef.png\" alt=\"\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef.png 711w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef-300x64.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef-500x107.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef-150x32.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef-400x86.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec5f15544ef-200x43.png 200w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/p>\n<\/li>\n<li>Now, we prepared our environment to develop C++ application in VS Code. Let us try it via a simple C++ code,<\/li>\n<li>If you have used Sublime editor, you may remember that you can logically group your files via folders (like solutions in VS) which is also applicable for Visual Studio Code. So we are gonna create a folder for this purpose. To do so follow &#8220;File -&gt; Open folder&#8221; and create a folder named &#8220;VSCodeExample&#8221; at your disk. You &#8220;Explorer&#8221; panel will be look like below:<\/li>\n<li>\n<p id=\"ylEQhti\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"558\" class=\"alignnone size-full wp-image-630 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec605d667f9.png\" alt=\"\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec605d667f9.png 324w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec605d667f9-174x300.png 174w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec605d667f9-150x258.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec605d667f9-200x344.png 200w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/p>\n<\/li>\n<li>Open &#8220;Command Palette&#8221; via pressing F1. A list like below should be shown:<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"445\" class=\"alignnone size-full wp-image-632 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014.png\" alt=\"\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014.png 650w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014-300x205.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014-500x342.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014-150x103.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014-400x274.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec612f06014-200x137.png 200w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/li>\n<li>Enter &#8220;C++&#8221;\u00a0 and then select &#8220;Easy Cpp\/C++: Create new C++ project&#8221;&#8216;. Then a list of compilers will be shown,<\/li>\n<li>\n<p id=\"lRAHDLy\"><img loading=\"lazy\" decoding=\"async\" width=\"604\" height=\"151\" class=\"alignnone size-full wp-image-633 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e.png\" alt=\"\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e.png 604w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e-300x75.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e-500x125.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e-150x38.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e-400x100.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec617fbc86e-200x50.png 200w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<\/li>\n<li>I am going to select &#8220;[MSVC] Windows X64, Visual Studio Build Tools 2017&#8243;&#8216; for this post. After you made your selection, you can observe that necessary files are generated automatically and shown at left &#8220;Explorer&#8221; panel,<\/li>\n<li>\n<p id=\"buXquUQ\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"576\" class=\"alignnone size-full wp-image-635 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd.png\" alt=\"\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd.png 768w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd-300x225.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd-500x375.png 500w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd-150x113.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd-400x300.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec621dab8fd-200x150.png 200w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/p>\n<\/li>\n<li>Final step is to click &#8220;Build &amp; Run&#8221; to compile and run our sample. Well, done! You have developed your first C++ application using VS Code \ud83d\ude42<\/li>\n<li>If you encounter with an error as illustrated below in &#8220;TERMINAL&#8221; then allow cmd.exe shown in &#8220;Do you allow shell: &#8220;cmd.exe&#8221; &#8230;&#8221; window, or you also follow the steps given <a href=\"https:\/\/stackoverflow.com\/questions\/42729130\/visual-studio-code-how-to-switch-from-powershell-exe-to-cmd-exe\"><strong><span style=\"color: #008000;\">in this link<\/span><\/strong><\/a>.<\/li>\n<li>\n<pre class=\"theme:powershell lang:c++ decode:true\">The terminal process terminated with exit code: 1\r\n\r\nTerminal will be reused by tasks, press any key to close it.\r\n\r\n&gt; Executing task: .\\build.bat &amp;&amp; .\\bin\\main.exe &lt;\r\n\r\nAt line:1 char:13\r\n+ .\\build.bat &amp;&amp; .\\bin\\main.exe\r\n+             ~~\r\nThe token '&amp;&amp;' is not a valid statement separator in this version.\r\n    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException\r\n    + FullyQualifiedErrorId : InvalidEndOfLine\r\n\r\nThe terminal process terminated with exit code: 1<\/pre>\n<p id=\"wHvKyjf\"><img loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"119\" class=\"alignnone size-full wp-image-636 \" src=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec62e69906e.png\" alt=\"\" srcset=\"https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec62e69906e.png 461w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec62e69906e-300x77.png 300w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec62e69906e-150x39.png 150w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec62e69906e-400x103.png 400w, https:\/\/yazilimperver.com\/wp-content\/uploads\/2018\/11\/img_5bec62e69906e-200x52.png 200w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><\/p>\n<\/li>\n<li>In case of no error, you should see the following lines in your Terminal.<\/li>\n<li>\n<pre class=\"theme:powershell lang:c++ decode:true \">&gt; Executing task: .\\build.bat &amp;&amp; .\\bin\\main.exe &lt;\r\n\r\n**********************************************************************\r\n** Visual Studio 2017 Developer Command Prompt v15.8.7\r\n** Copyright (c) 2017 Microsoft Corporation\r\n**********************************************************************\r\n[vcvarsall.bat] Environment initialized for: 'x64'\r\nx64 i\u00e7in Microsoft (R) C\/C++ \u0130yile\u015ftirmeli Derleyicisi S\u00fcr\u00fcm 19.15.26730\r\nTelif Hakk\u0131 (C) Microsoft Corporation. T\u00fcm haklar\u0131 sakl\u0131d\u0131r.\r\n\r\nmain.cpp\r\nMicrosoft (R) Incremental Linker Version 14.15.26730.0\r\nCopyright (C) Microsoft Corporation.  All rights reserved.\r\n\r\n\/out:main.exe\r\n\/debug\r\n\/OUT:bin\\main.exe\r\nmain.obj\r\nHello Easy C++ project!\r\n\r\nTerminal will be reused by tasks, press any key to close it.<\/pre>\n<\/li>\n<\/ul>\n<h2><strong><span style=\"color: #0000ff;\">Adding Code Comments with Doxygen<\/span><\/strong><\/h2>\n<p>Now let us look at how we can use VS Code to add doxygen compliant code comments. Well, this is the in fact motivation for me to learn this tool. I was looking for a code commenter plugin in Visual Studio but most of them are commercial and could not found a tool in VS. Then I encounter with <strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=cschlosser.doxdocgen\">Doxygen Documentation Generator<\/a><\/span><\/strong> which I first thought that it is for VS. You can add simple doxygen based comments to your code easily. What you need to do is to move cursor to one line above the code segment that you will add comment and enter &#8220;\/**&#8221;. Then corresponding code comment is added automatically. If it does not, check that no comment added before that line and also ensure that you installed extension and activated it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/github.com\/christophschlosser\/doxdocgen\/raw\/master\/images\/options.gif\" alt=\"options\" width=\"293\" height=\"185\" \/>\u00a0<img decoding=\"async\" src=\"https:\/\/github.com\/christophschlosser\/doxdocgen\/raw\/master\/images\/file.gif\" alt=\"file description\" \/>\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/github.com\/christophschlosser\/doxdocgen\/raw\/master\/images\/param_simple.gif\" alt=\"Simple Parameter\" width=\"217\" height=\"188\" \/><\/p>\n<p>For more information, you can check out <span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=cschlosser.doxdocgen#user-content-known-issues\">extension page<\/a><\/strong><\/span>.<\/p>\n<h2><strong><span style=\"color: #0000ff;\">&#8220;Easy C++ Project&#8221; Compiler Installation Directions<\/span><\/strong><\/h2>\n<h3 id=\"windows\">Windows<\/h3>\n<ul>\n<li>You must have MSVC or GCC installed:\n<ul>\n<li>MSVC can be installed using Build Tools for Visual Studio 2017 from\u00a0<strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" title=\"https:\/\/www.visualstudio.com\/downloads\/\" href=\"https:\/\/www.visualstudio.com\/downloads\/\">here<\/a><\/span><\/strong><\/li>\n<li>GCC Windows 10: Install GCC and Make on Windows through WSL:\u00a0<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" title=\"https:\/\/github.com\/acharluk\/UsefulStuff\/blob\/master\/windows\/setup_wsl.md\" href=\"https:\/\/github.com\/acharluk\/UsefulStuff\/blob\/master\/windows\/setup_wsl.md\">Windows Subsystem for Linux setup<\/a><\/strong><\/span><\/li>\n<li>GCC Windows 8.1 or lower: Install GCC and Make using\u00a0<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" title=\"https:\/\/www.cygwin.com\/\" href=\"https:\/\/www.cygwin.com\/\">Cygwin<\/a>\u00a0<\/strong><\/span>or\u00a0<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" title=\"http:\/\/www.mingw.org\/\" href=\"http:\/\/www.mingw.org\/\">MinGW<\/a><\/strong><\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 id=\"gnu-linux\">GNU\/Linux<\/h3>\n<ul>\n<li>Install GCC, Make and GDB using the package manager of your distribution, these are some of them:\n<ul>\n<li>Debian\/Ubuntu\/Mint:\u00a0<code>sudo apt install g++ make gdb<\/code><\/li>\n<li>Fedora:\u00a0<code>sudo dnf install gcc-c++ make gdb<\/code><\/li>\n<li>Arch Linux:\u00a0<code>sudo pacman -S gcc make gdb<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 id=\"macos\">MacOS<\/h3>\n<ul>\n<li>GCC: Check out\u00a0<span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" title=\"https:\/\/brew.sh\/\" href=\"https:\/\/brew.sh\/\">Brew<\/a><\/strong><\/span><\/li>\n<li>Clang:\n<ul>\n<li>Open a Terminal<\/li>\n<li>Run the command\u00a0<code>xcode-select --install<\/code><\/li>\n<li>A dialog will appear telling you that it requires the command line developer tools, and asks if you would like to install them. Click on the &#8220;Install&#8221; button<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2><strong><span style=\"color: #0000ff;\">References<\/span><\/strong><\/h2>\n<p>You can also check out following links for more information about Visual Studio Code.<\/p>\n<ul>\n<li><span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/code.visualstudio.com\/\">https:\/\/code.visualstudio.com\/<\/a><\/strong><\/span><\/li>\n<li><span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/github.com\/Microsoft\/vscode\">https:\/\/github.com\/Microsoft\/vscode<\/a><\/strong><\/span><\/li>\n<li><a href=\"https:\/\/medium.freecodecamp.org\/an-overview-of-visual-studio-code-for-front-end-developers-49a4aa0771fb\"><span style=\"color: #008000;\"><strong>https:\/\/medium.freecodecamp.org\/an-overview-of-visual-studio-code-for-front-end-developers-49a4aa0771fb<\/strong><\/span><\/a><\/li>\n<li><span style=\"color: #008000;\"><strong><a style=\"color: #008000;\" href=\"https:\/\/news.codecademy.com\/visual-studio-code-sublime-text\/\">https:\/\/news.codecademy.com\/visual-studio-code-sublime-text\/<\/a><\/strong><\/span><\/li>\n<li><strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/blog.elmah.io\/best-visual-studio-code-extensions\/\">https:\/\/blog.elmah.io\/best-visual-studio-code-extensions\/<\/a><\/span><\/strong><\/li>\n<li><strong><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"https:\/\/github.com\/viatsko\/awesome-vscode\">https:\/\/github.com\/viatsko\/awesome-vscode<\/a><\/span><\/strong> =&gt; Olduk\u00e7a kapsaml\u0131 bir liste<\/li>\n<\/ul>\n<p>[:]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[:tr]Merhaba arkada\u015flar, Bir \u00e7ok yaz\u0131mdan da anlayaca\u011f\u0131n\u0131z \u00fczere windows \u00fczerinde yaz\u0131l\u0131m geli\u015ftirmek i\u00e7in Visual Studio&#8217;yu kullan\u0131yorum. Ama baz\u0131 noktalarda daha ufak kod incelemeleri\/g\u00fcncellemeleri veya python tarz\u0131 betik dilleri kullanarak uygulama geli\u015ftirme ihtiyac\u0131 ortaya \u00e7\u0131kabiliyor ve bunlar i\u00e7in de VS&#8217;i kullanmak biraz k\u00fclfetli oluyor a\u00e7\u0131k\u00e7as\u0131. Bu ama\u00e7la, ben de son bir ka\u00e7 senedir Sublime metin edit\u00f6r\u00fcn\u00fc&#8230; <a class=\"more-link\" href=\"https:\/\/yazilimperver.com\/index.php\/2018\/11\/15\/visual-studio-code\/\">Continue reading <span class=\"meta-nav\">&#8594;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":648,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"0","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","dsgo_overlay_header":false,"dsgo_overlay_header_text_color":"","dsgo_overlay_skip_top_bar":false,"_designsetgo_exclude_llms":false,"footnotes":""},"categories":[27,10],"tags":[13,29,247,86,15,246],"class_list":["post-613","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arac","category-c","tag-c","tag-development-tool","tag-editor","tag-git","tag-microsoft","tag-visual-studio-code"],"_links":{"self":[{"href":"https:\/\/yazilimperver.com\/index.php\/wp-json\/wp\/v2\/posts\/613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yazilimperver.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yazilimperver.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yazilimperver.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yazilimperver.com\/index.php\/wp-json\/wp\/v2\/comments?post=613"}],"version-history":[{"count":0,"href":"https:\/\/yazilimperver.com\/index.php\/wp-json\/wp\/v2\/posts\/613\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yazilimperver.com\/index.php\/wp-json\/wp\/v2\/media\/648"}],"wp:attachment":[{"href":"https:\/\/yazilimperver.com\/index.php\/wp-json\/wp\/v2\/media?parent=613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yazilimperver.com\/index.php\/wp-json\/wp\/v2\/categories?post=613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yazilimperver.com\/index.php\/wp-json\/wp\/v2\/tags?post=613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}