Skip to main content

Posts

Showing posts with the label Terminal

How to set Python Interpreter in Visual Studio Code on Windows

First you need Python Project Virtual Environment Path: Open Command Prompt and navigate to Python Project folder by using below cd C:\Users\Atif\Django\ProjectFolder Now type " pipenv --venv " and press Enter.  CMD will return it's Virtual Environment Path (like:  C:\Users\Atif\.virtualenvs\ProjectFolder-TwJ6wRTs), select and copy you will need this in next section. Add \Scripts\python.exe at the last of the above Path which should be look like below now: C:\Users\Atif\.virtualenvs\ProjectFolder-TwJ6wRTs\Scripts\python.exe Now to main part of this article. Start the " Visual Studio Code " application. Open the Python project. Now from the Menu of "Visual Studio Code" click on " View " and from Sub Menu select " Command Palette.. Ctrl+Shift+P ". A new search bar will be available, type " Python Interpreter " and from below drop down select. A new pick folder path bar will be available here you need to paste the python vir...

Windows Terminal Preview 1.2 Release July 22nd, 2020

Windows Terminal Preview  has new features for version 1.2 which will appear in Windows Terminal in August. You can download Windows Terminal Preview and Windows Terminal from the  Microsoft Store  or from the  GitHub releases page . Let’s dive into what’s new! Focus mode There is a new feature called focus mode that hides the tabs and title bar. This mode will only display the terminal content. To enable focus mode, you can add a key binding for  toggleFocusMode  in your settings.json file. This command is not bound by default. { "command" : "toggleFocusMode" , "keys" : "shift+f11" } Always on top mode In addition to focus mode, you can enable Windows Terminal Preview to always be the topmost window. This can be done with the  alwaysOnTop  global setting as well as a key binding using the  toggleAlwaysOnTop  command. These are not bound by default. // Global setting "alwaysOnTop" : true // Key binding { "co...