{"id":3831,"date":"2017-11-26T14:19:50","date_gmt":"2017-11-26T14:19:50","guid":{"rendered":"http:\/\/www.nikola-breznjak.com\/blog\/?p=3831"},"modified":"2017-11-26T14:22:41","modified_gmt":"2017-11-26T14:22:41","slug":"fully-open-file-quick-searching-visual-studio-code","status":"publish","type":"post","link":"https:\/\/nikola-breznjak.com\/blog\/quick-tips\/fully-open-file-quick-searching-visual-studio-code\/","title":{"rendered":"How to fully open any file after quick searching it in Visual Studio Code"},"content":{"rendered":"<p>In this quick tip,&nbsp;I&#8217;ll show you how to fully open any file after quick searching it in Visual Studio Code.<\/p>\n<p>When you do a quick search (\u2318 + P) for some file in Visual Studio Code, and you select it by pressing ENTER, this file is in so-called&nbsp;&#8216;preview&#8217; mode, and if you end up opening some other file in this manner as well, it will close the former and open the&nbsp;latter in its place. This annoys me to no extent.&nbsp;?<\/p>\n<blockquote><p>\u26a0\ufe0f click on the images to see the larger size<\/p><\/blockquote>\n<p>To change this, open Visual Studio Code preferences (Code -&gt; Preferences -&gt; Settings)<\/p>\n<p><a href=\"http:\/\/www.nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/11\/vscSettings.png\" rel=\"lightbox[3831]\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3835\" src=\"http:\/\/www.nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/11\/vscSettings-300x133.png\" alt=\"vscSettings\" width=\"300\" height=\"133\" srcset=\"https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/11\/vscSettings-300x133.png 300w, https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/11\/vscSettings.png 525w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Enter <strong>&#8220;workbench.editor.enablePreviewFromQuickOpen&#8221;: false<\/strong> into your User Settings:<\/p>\n<p><a href=\"http:\/\/www.nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/11\/vscFullyOpen.png\" rel=\"lightbox[3831]\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3836\" src=\"http:\/\/www.nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/11\/vscFullyOpen-1024x204.png\" alt=\"vscFullyOpen\" width=\"800\" height=\"159\" srcset=\"https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/11\/vscFullyOpen-1024x204.png 1024w, https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/11\/vscFullyOpen-300x60.png 300w, https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/11\/vscFullyOpen-768x153.png 768w, https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2017\/11\/vscFullyOpen.png 1920w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>Save the file, and that&#8217;s it.<\/p>\n<p>Hope this solves someone else&#8217;s&nbsp;frustration with this&nbsp;?<\/p>\n<blockquote class=\"twitter-tweet\" data-width=\"550\">\n<p lang=\"en\" dir=\"ltr\">How to fully open any file after quick searching it in <a href=\"https:\/\/twitter.com\/hashtag\/VisualStudioCode?src=hash&amp;ref_src=twsrc%5Etfw\">#VisualStudioCode<\/a> <a href=\"https:\/\/t.co\/AcTQMmFB0I\">https:\/\/t.co\/AcTQMmFB0I<\/a><\/p>\n<p>&mdash; Nikola Bre\u017enjak (@HitmanHR) <a href=\"https:\/\/twitter.com\/HitmanHR\/status\/934789024212029440?ref_src=twsrc%5Etfw\">November 26, 2017<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this quick tip,&nbsp;I&#8217;ll show you how to fully open any file after quick searching it in Visual Studio Code. When you do a quick search (\u2318 +&hellip;<\/p>\n","protected":false},"author":1,"featured_media":3832,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-3831","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\/3831","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=3831"}],"version-history":[{"count":3,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/3831\/revisions"}],"predecessor-version":[{"id":3838,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/3831\/revisions\/3838"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/media\/3832"}],"wp:attachment":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/media?parent=3831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/categories?post=3831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/tags?post=3831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}