{"id":2130,"date":"2017-07-15T14:45:39","date_gmt":"2017-07-15T19:45:39","guid":{"rendered":"https:\/\/bitpost.com\/news\/?p=2130"},"modified":"2017-08-11T23:13:00","modified_gmt":"2017-08-12T04:13:00","slug":"compulsory-ide","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2017\/compulsory-ide\/","title":{"rendered":"Compulsory IDE"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/bitpost.com\/news\/wp-content\/uploads\/overview__analysis-2.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2132\" data-permalink=\"https:\/\/bitpost.com\/news\/2017\/compulsory-ide\/overview__analysis-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/bitpost.com\/news\/wp-content\/uploads\/overview__analysis-2.png?fit=1704%2C286&amp;ssl=1\" data-orig-size=\"1704,286\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"overview__analysis-2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/bitpost.com\/news\/wp-content\/uploads\/overview__analysis-2.png?fit=300%2C50&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/bitpost.com\/news\/wp-content\/uploads\/overview__analysis-2.png?fit=1024%2C172&amp;ssl=1\" class=\"aligncenter wp-image-2132 size-large\" src=\"https:\/\/i0.wp.com\/bitpost.com\/news\/wp-content\/uploads\/overview__analysis-2.png?resize=1024%2C172&#038;ssl=1\" alt=\"\" width=\"1024\" height=\"172\" srcset=\"https:\/\/i0.wp.com\/bitpost.com\/news\/wp-content\/uploads\/overview__analysis-2.png?resize=1024%2C172&amp;ssl=1 1024w, https:\/\/i0.wp.com\/bitpost.com\/news\/wp-content\/uploads\/overview__analysis-2.png?resize=300%2C50&amp;ssl=1 300w, https:\/\/i0.wp.com\/bitpost.com\/news\/wp-content\/uploads\/overview__analysis-2.png?resize=768%2C129&amp;ssl=1 768w, https:\/\/i0.wp.com\/bitpost.com\/news\/wp-content\/uploads\/overview__analysis-2.png?w=1704&amp;ssl=1 1704w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p>I don&#8217;t think anyone in good faith can discount the <a href=\"https:\/\/youtu.be\/j7nT9QWjOBA\">navigation benefits<\/a> of a <a href=\"https:\/\/www.jetbrains.com\/clion\/documentation\/\">modern IDE<\/a>. \u00a0Yes <a href=\"https:\/\/www.qt.io\/ide\/\">my favorite<\/a> is still written in C++, as is my <a href=\"http:\/\/www.sublimetext.com\/\">favorite editor<\/a> (put that vim and emacs shit down, son, it&#8217;s time to code&#8230;I KID), nothing beats speed when you just want to type code. \u00a0But JetBrains has shown how they can provide amazing IDE features for <a href=\"https:\/\/www.jetbrains.com\/products.html?fromMenu#type=ide\">all kinds<\/a> of code: C++, <a href=\"https:\/\/www.jetbrains.com\/pycharm\/\">Python<\/a>, <a href=\"https:\/\/www.jetbrains.com\/help\/idea\/creating-and-running-your-scala-application.html\">Scala,<\/a>\u00a0etc. with their Java library stack. \u00a0Yes you pay a performance price and yes we&#8217;ve been burned by slow Java IDEs before, haven&#8217;t we, Eclipse&#8230; but JetBrains has really hit a critical mass of solid IDE functionality, \u00a0and I&#8217;m going to give it another good try. \u00a0Here are some rolling notes, made in cronological order&#8230;<\/p>\n<ul>\n<li>the soggy keylag is KILLING me&#8230; but I love the navigation power&#8230; hrmph&#8230;<\/li>\n<li>it&#8217;s not THAT laggy considering all it is doing&#8230; and my other dev environment is through a VM anyway (does that make it better or worse, not sure yet&#8230;) continuing&#8230;<\/li>\n<li>on a VM, all hope is lost.\u00a0 Even sublime is uselessly unusable.\u00a0 Back to emacs.\u00a0 Sad world.<\/li>\n<li>The speed is now pretty good, I don&#8217;t know if it got everything indexed and it&#8217;s faster, or if I got used to it. \u00a0I think it&#8217;s faster! \u00a0Just in time for my open source license to expire&#8230; and JetBrains renewed it!\u00a0 Yay, thanks guys.<\/li>\n<li>Some things just take some adjustment.\u00a0 Keymaps, panes, etc.\u00a0 Also, don&#8217;t expect to copy\/paste huge chunks of code as fast as you can in a dumb editor &#8211; it causes a ton of analysis to occur.\u00a0 In a non-VM fairly-decent environment, CLion is humming along now.<\/li>\n<li>CLion is undeniably faster than Sublime on my VM.\u00a0 It is downright snappy at editing code compared to Sublime.\u00a0 Happily shocked!<\/li>\n<li>Uhoh&#8230; lots of clion lockups on laptop&#8230; doh, whoops, out of disk space. \u00a0Don&#8217;t let it happen! \u00a0\ud83d\ude42<\/li>\n<\/ul>\n<p>Fun tips:<\/p>\n<ul>\n<li>You can open a file into an existing clion session by running the startup script with a full path to the file, or do this:<br \/>\n<code>clion `pwd`\/myfile.cpp<\/code><br \/>\nor use the little bash script to do it for you:<br \/>\n<code>!\/bin\/bash<\/code><br \/>\n<code># if $1 does not start with [\/], prefix it with `pwd`<\/code><br \/>\n<code>MYFILE=$1<\/code><br \/>\n<code>if ! [[ $MYFILE =~ ^\/ ]]; then MYFILE=`pwd`\/$1; fi<\/code><br \/>\n<code>cd \/home\/m\/apps\/jetbrains\/clion\/bin<\/code><br \/>\n<code>.\/clion.sh $MYFILE $2 $3 $4 $5 &amp;<\/code><\/li>\n<li>For the huge hirez monitors I have gotten addicted to using with i3, make sure you enable this (which is oddly disabled by default):<br \/>\n<blockquote><p>File &gt; Settings &gt; Editor &gt; General &gt; [x] Change font size (zoom) with Ctrl+Mouse Wheel<\/p><\/blockquote>\n<\/li>\n<li>CLion will auto-create projects from CMakeLists.txt, really nice. \u00a0It seems to auto-create Debug config using .\/cmake-build-debug. \u00a0To create Release config too, go to:<br \/>\n<blockquote><p>File &gt; Settings &gt; Build&#8230; &gt; CMake &gt; click +, it will auto-create Release (a little weird but it was what I needed)<\/p><\/blockquote>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I don&#8217;t think anyone in good faith can discount the navigation benefits of a modern IDE. \u00a0Yes my favorite is still written in C++, as is my favorite editor (put that vim and emacs shit down, son, it&#8217;s time to code&#8230;I KID), nothing beats speed when you just want to type code. \u00a0But JetBrains has [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[22,4],"tags":[275,88,278,172,279,168,28,276,277],"class_list":["post-2130","post","type-post","status-publish","format-standard","hentry","category-cpp","category-projects","tag-clion","tag-eclipse","tag-ide","tag-java","tag-jetbrains","tag-python","tag-qt","tag-qt-creator","tag-scala"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-ym","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/2130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=2130"}],"version-history":[{"count":17,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/2130\/revisions"}],"predecessor-version":[{"id":2154,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/2130\/revisions\/2154"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=2130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=2130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=2130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}