{"id":3587,"date":"2017-08-06T10:46:20","date_gmt":"2017-08-06T10:46:20","guid":{"rendered":"http:\/\/www.nikola-breznjak.com\/blog\/?p=3587"},"modified":"2017-08-06T10:51:04","modified_gmt":"2017-08-06T10:51:04","slug":"hide-minimap-visual-studio-code","status":"publish","type":"post","link":"https:\/\/nikola-breznjak.com\/blog\/quick-tips\/hide-minimap-visual-studio-code\/","title":{"rendered":"How to hide the minimap in Visual Studio Code?"},"content":{"rendered":"<p>This is a quick tip on how to&nbsp;hide the minimap in Visual Studio Code.<\/p>\n<p>In case you&#8217;re wondering why someone would like to do this? The answer is that if you have two files open side by side on a screen that&#8217;s not too big then any extra space on the screen will come handy.<\/p>\n<p>Surprisingly, there&#8217;s no such option in any of the dropdown&nbsp;menus (like it is in Sublime Text 3 for example), so you&#8217;ll first have to go to:<\/p>\n<pre class=\"\">Code -&gt; Preferences -&gt; Settings<\/pre>\n<p><a href=\"http:\/\/www.nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-23-at-11.48.33.png\" rel=\"lightbox[3587]\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3553\" src=\"http:\/\/www.nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-23-at-11.48.33-1024x456.png\" alt=\"Screen Shot 2017-07-23 at 11.48.33\" width=\"800\" height=\"356\" srcset=\"https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-23-at-11.48.33-1024x456.png 1024w, https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-23-at-11.48.33-300x134.png 300w, https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-23-at-11.48.33-768x342.png 768w, https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-23-at-11.48.33.png 1064w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>Then, enter the following in your user settings object on the right:<\/p>\n<pre class=\"\">\"editor.minimap.enabled\": false<\/pre>\n<p><a href=\"http:\/\/www.nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/08\/minimapVisualStudioCode.png\" rel=\"lightbox[3587]\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3588\" src=\"http:\/\/www.nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/08\/minimapVisualStudioCode-1024x309.png\" alt=\"minimapVisualStudioCode\" width=\"800\" height=\"241\" srcset=\"https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/08\/minimapVisualStudioCode-1024x309.png 1024w, https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/08\/minimapVisualStudioCode-300x91.png 300w, https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/08\/minimapVisualStudioCode-768x232.png 768w, https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/08\/minimapVisualStudioCode.png 1328w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>You can search for any setting and see its default settings on the left-hand side. If you want to change it, just copy it in the object on the right-hand side, change the value, save, and you&#8217;re done.&nbsp;<\/p>\n<p>Btw, even though I&#8217;m a paying user of Sublime Text 3, I must admit I&#8217;m liking Visual Studio Code more every day. How&#8217;s the situation with you guys? Are you also a long-time ST3 user and have tried VSC? If so, I&#8217;d like to hear your thoughts about it&#8230;<\/p>\n<blockquote class=\"twitter-tweet\" data-width=\"550\">\n<p lang=\"en\" dir=\"ltr\">How to hide the <a href=\"https:\/\/twitter.com\/hashtag\/minimap?src=hash\">#minimap<\/a> in Visual Studio <a href=\"https:\/\/twitter.com\/hashtag\/Code?src=hash\">#Code<\/a>? <a href=\"https:\/\/t.co\/81uHJAlpiT\">https:\/\/t.co\/81uHJAlpiT<\/a><\/p>\n<p>&mdash; Nikola Bre\u017enjak (@HitmanHR) <a href=\"https:\/\/twitter.com\/HitmanHR\/status\/894148630948478976\">August 6, 2017<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a quick tip on how to&nbsp;hide the minimap in Visual Studio Code. In case you&#8217;re wondering why someone would like to do this? The answer is&hellip;<\/p>\n","protected":false},"author":1,"featured_media":3589,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-3587","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-quick-tips"],"_links":{"self":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/3587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/comments?post=3587"}],"version-history":[{"count":2,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/3587\/revisions"}],"predecessor-version":[{"id":3591,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/3587\/revisions\/3591"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/media\/3589"}],"wp:attachment":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/media?parent=3587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/categories?post=3587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/tags?post=3587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}