<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Visual Studio Code Archives - Coding Campus</title>
	<atom:link href="https://codingcampus.net/category/visual-studio-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://codingcampus.net/category/visual-studio-code/</link>
	<description>Learn to Code</description>
	<lastBuildDate>Fri, 02 Dec 2022 19:35:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://codingcampus.net/wp-content/uploads/2022/11/Coding-Campus-Logo-150x150.png</url>
	<title>Visual Studio Code Archives - Coding Campus</title>
	<link>http://codingcampus.net/category/visual-studio-code/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">212689819</site>	<item>
		<title>How to Preview your Code in Visual Studio Code</title>
		<link>https://codingcampus.net/how-to-preview-your-code-in-visual-studio-code/</link>
					<comments>https://codingcampus.net/how-to-preview-your-code-in-visual-studio-code/#comments</comments>
		
		<dc:creator><![CDATA[Kenneth Stenberg]]></dc:creator>
		<pubDate>Fri, 13 Jan 2023 03:12:00 +0000</pubDate>
				<category><![CDATA[Visual Studio Code]]></category>
		<guid isPermaLink="false">https://codingcampus.net/?p=1065</guid>

					<description><![CDATA[<p>The post <a href="https://codingcampus.net/how-to-preview-your-code-in-visual-studio-code/">How to Preview your Code in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Previewing Code allows you to view a live-reloading browser preview inside the VS Code itself. You can use the preview feature to see the changes on a browser as soon as we make the changes in the code. We will need to install the Live Preview extension to use this feature. The Live Preview extension supports JavaScript, HTML, and CSS languages. This guide will show how to preview your code in Visual Studio Code.</p>
<h2>Installing the Live Preview Extension</h2>
<p>In VS Code, open the <strong>Extensions</strong> view or press <strong>Ctrl + Shift + X </strong>in Windows or <strong>Shift + Cmd + X </strong>in Mac OS. Inside the search bar, type &#8220;live preview&#8221;. Then select the extension and click on <strong>Install</strong>.</p>
<figure id="attachment_14942" aria-describedby="caption-attachment-14942" style="width: 1014px" class="wp-caption aligncenter"><img fetchpriority="high" decoding="async" class="size-large wp-image-14942" src="http://codingcampus.net/wp-content/uploads/2022/06/Live-Preview-1024x237-1.png" alt="Live Preview" width="1024" height="237" /><figcaption id="caption-attachment-14942" class="wp-caption-text">Go to the Extensions view, search for &#8220;live preview&#8221;, and click on the Install button.</figcaption></figure>
<h2>Using the Live Preview Extension</h2>
<p>To preview your code in VS Code, do the following:</p>
<ol>
<li>Open the code file that you want to preview. Select the <strong>Open File</strong> option from the &#8220;File&#8221; menu. Alternatively, press <strong><strong>Ctrl + O </strong></strong>in Windows or <strong><strong>Cmd + O </strong></strong>in Mac OS
<p><figure id="attachment_14944" aria-describedby="caption-attachment-14944" style="width: 323px" class="wp-caption aligncenter"><img decoding="async" class="size-medium wp-image-14944" src="http://codingcampus.net/wp-content/uploads/2022/06/Open-File-1-333x600-1.png" alt="Open File" width="333" height="600" /><figcaption id="caption-attachment-14944" class="wp-caption-text">From the top-level File menu, select the Open File option.</figcaption></figure></li>
<li>Navigate to the code file in the <strong>Open File</strong> dialogue box, select it, and click on the <strong>Open</strong> button.
<p><figure id="attachment_14943" aria-describedby="caption-attachment-14943" style="width: 590px" class="wp-caption aligncenter"><img decoding="async" class="size-medium wp-image-14943" src="http://codingcampus.net/wp-content/uploads/2022/06/Open-File-Dialog-600x424-1.png" alt="Open File Dialogue" width="600" height="424" /><figcaption id="caption-attachment-14943" class="wp-caption-text">Open the code file from your preferred directory.</figcaption></figure></li>
<li>Click on the <strong>Live Preview</strong> button in the top right corner of the editor.
<p><figure id="attachment_14941" aria-describedby="caption-attachment-14941" style="width: 373px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-14941" src="http://codingcampus.net/wp-content/uploads/2022/06/Live-Preview-Button.png" alt="Live Preview Button" width="383" height="163" /><figcaption id="caption-attachment-14941" class="wp-caption-text">Click on the Live Preview button.</figcaption></figure></li>
<li>This is how you can work with the Live Preview.
<p><figure id="attachment_14953" aria-describedby="caption-attachment-14953" style="width: 1350px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-14953" src="http://codingcampus.net/wp-content/uploads/2022/06/Live-Preview-Demo.gif" alt="Live Preview Demo" width="1360" height="728" /><figcaption id="caption-attachment-14953" class="wp-caption-text">Live Preview will open a live-reloading browser preview inside the VS Code.</figcaption></figure></li>
</ol>
<p>The post <a href="https://codingcampus.net/how-to-preview-your-code-in-visual-studio-code/">How to Preview your Code in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codingcampus.net/how-to-preview-your-code-in-visual-studio-code/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1065</post-id>	</item>
		<item>
		<title>How to Remove References in Visual Studio Code</title>
		<link>https://codingcampus.net/how-to-remove-references-in-visual-studio-code/</link>
					<comments>https://codingcampus.net/how-to-remove-references-in-visual-studio-code/#respond</comments>
		
		<dc:creator><![CDATA[Kenneth Stenberg]]></dc:creator>
		<pubDate>Thu, 12 Jan 2023 22:06:00 +0000</pubDate>
				<category><![CDATA[Visual Studio Code]]></category>
		<guid isPermaLink="false">https://codingcampus.net/?p=1074</guid>

					<description><![CDATA[<p>The post <a href="https://codingcampus.net/how-to-remove-references-in-visual-studio-code/">How to Remove References in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>References allow you to analyze the popularity of a specific function or variable throughout the code file. It provides us with the number of times a particular property is referred to in the code.</p>
<p>But, when we include code snippets in the documentation for a presentation, it is desirable to remove the references as it makes our code look cleaner. This guide will show how to quickly remove references in VS Code. Follow these steps:</p>
<ol>
<li>From the <strong>file</strong> menu, select <strong>Preferences</strong>. Then, from the sub-menu, select <strong>Settings</strong>.
<p><figure id="attachment_14949" aria-describedby="caption-attachment-14949" style="width: 624px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-14949" src="http://codingcampus.net/wp-content/uploads/2022/03/Settings.png" alt="Settings" width="634" height="687" /><figcaption id="caption-attachment-14949" class="wp-caption-text">Launch VS Code Settings.</figcaption></figure></li>
<li>Under <strong>Text-Editor</strong>, select the <strong>Diff Editor</strong> option. Then, uncheck <strong>Code Lens</strong>.
<figure id="attachment_14948" aria-describedby="caption-attachment-14948" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-14948" src="http://codingcampus.net/wp-content/uploads/2022/06/Code-Lens-1024x393-1.png" alt="Code Lens" width="1024" height="393" /><figcaption id="caption-attachment-14948" class="wp-caption-text">Finally, disable the Code Lens feature.</figcaption></figure>
<p><strong>Disabling Code Lens will remove references from your code file</strong>.</li>
</ol>
<p>The post <a href="https://codingcampus.net/how-to-remove-references-in-visual-studio-code/">How to Remove References in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codingcampus.net/how-to-remove-references-in-visual-studio-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1074</post-id>	</item>
		<item>
		<title>How to Open .exe Files in Visual Studio Code</title>
		<link>https://codingcampus.net/how-to-open-exe-files-in-visual-studio-code/</link>
					<comments>https://codingcampus.net/how-to-open-exe-files-in-visual-studio-code/#respond</comments>
		
		<dc:creator><![CDATA[Kenneth Stenberg]]></dc:creator>
		<pubDate>Wed, 11 Jan 2023 23:35:00 +0000</pubDate>
				<category><![CDATA[Visual Studio Code]]></category>
		<guid isPermaLink="false">https://codingcampus.net/?p=1050</guid>

					<description><![CDATA[<p>The post <a href="https://codingcampus.net/how-to-open-exe-files-in-visual-studio-code/">How to Open .exe Files in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>EXE stands for executable. An EXE file is an executable program you can run in Microsoft Windows. If you want to debug an executable (.exe file) directly, you may need to open it in the editor. This article will show how to open .exe files in Visual Studio Code. You&#8217;ll also learn to run the .exe file in the VS Code terminal.</p>
<h2>Opening EXE files in VS Code</h2>
<p>To open an EXE file for an existing project, do the following:</p>
<ol>
<li>In VS Code, select the <strong>Open File</strong> option from the &#8220;File&#8221; menu. Alternatively, press <strong><strong>Ctrl + O </strong></strong>in Windows/Linux or <strong>Cmd + O</strong> in Mac OS
<p><figure id="attachment_14935" aria-describedby="caption-attachment-14935" style="width: 323px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-14935" src="http://codingcampus.net/wp-content/uploads/2022/06/Open-File-333x600-1.png" alt="Open File" width="333" height="600" /><figcaption id="caption-attachment-14935" class="wp-caption-text">From the top-level File menu, select the Open File option.</figcaption></figure></li>
<li>In the &#8220;Open File&#8221; dialogue box, navigate to your .exe file, select it, and click on the <strong>Open</strong> button
<p><figure id="attachment_14931" aria-describedby="caption-attachment-14931" style="width: 590px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-14931" src="http://codingcampus.net/wp-content/uploads/2022/06/Dialog-Box-600x424-1.png" alt="Dialog Box" width="600" height="424" /><figcaption id="caption-attachment-14931" class="wp-caption-text">Open the .exe file from your preferred directory.</figcaption></figure></li>
<li>When prompted with the following error, select the <strong>Open Anyway</strong> button.
<p><figure id="attachment_14934" aria-describedby="caption-attachment-14934" style="width: 488px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-14934" src="http://codingcampus.net/wp-content/uploads/2022/06/Open-Anyway.png" alt="Open Anyway" width="498" height="199" /><figcaption id="caption-attachment-14934" class="wp-caption-text">Click on the Open Anyway button.</figcaption></figure></li>
<li>A palette will open in the center of the VS Code to choose the editor. Choose the <strong>Text Editor</strong> option. It will open the .exe file in text format.
<p><figure id="attachment_14937" aria-describedby="caption-attachment-14937" style="width: 590px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-14937" src="http://codingcampus.net/wp-content/uploads/2022/06/Text-Editor-600x139-1.png" alt="Text Editor" width="600" height="139" /><figcaption id="caption-attachment-14937" class="wp-caption-text">Choose Text Editor as the editor.</figcaption></figure></li>
</ol>
<h2>Running EXE files in VS Code</h2>
<p>To run an EXE file inside VS Code, do the following:</p>
<ol>
<li>Open the <strong>Extensions</strong> view or press <strong>Ctrl + Shift + X </strong>in Windows or<strong> Shift + Cmd + X </strong>in Mac OS. Inside the search bar, type &#8220;exe runner&#8221;.
<p><figure id="attachment_14932" aria-describedby="caption-attachment-14932" style="width: 331px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-14932" src="http://codingcampus.net/wp-content/uploads/2022/03/Extensions-Tab.png" alt="Extensions Tab" width="341" height="382" /><figcaption id="caption-attachment-14932" class="wp-caption-text">Go to the Extensions view and search for &#8220;exe runner&#8221;.</figcaption></figure></li>
<li>Select the extension and click on <strong>Install</strong>.
<p><figure id="attachment_14933" aria-describedby="caption-attachment-14933" style="width: 590px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-14933" src="http://codingcampus.net/wp-content/uploads/2022/06/Install-Extensions-600x121-1.png" alt="Install Extensions" width="600" height="121" /><figcaption id="caption-attachment-14933" class="wp-caption-text">Click on the Install button.</figcaption></figure></li>
<li><strong>Right-click</strong> inside the code editor and select the <strong>Run Executable</strong>. Alternatively, you can press the <strong>Run Executable</strong> button on the top-right corner. It will run the .exe file in the VS Code terminal.
<p><figure id="attachment_14936" aria-describedby="caption-attachment-14936" style="width: 590px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-14936" src="http://codingcampus.net/wp-content/uploads/2022/06/Run-Executable-600x312-1.png" alt="Run Executable" width="600" height="312" /><figcaption id="caption-attachment-14936" class="wp-caption-text">Right-click and choose the Run Executable option.</figcaption></figure></li>
</ol>
<p>The post <a href="https://codingcampus.net/how-to-open-exe-files-in-visual-studio-code/">How to Open .exe Files in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codingcampus.net/how-to-open-exe-files-in-visual-studio-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1050</post-id>	</item>
		<item>
		<title>How to Recover Deleted Files in Visual Studio Code</title>
		<link>https://codingcampus.net/how-to-recover-deleted-files-in-visual-studio-code/</link>
					<comments>https://codingcampus.net/how-to-recover-deleted-files-in-visual-studio-code/#respond</comments>
		
		<dc:creator><![CDATA[Kenneth Stenberg]]></dc:creator>
		<pubDate>Tue, 10 Jan 2023 13:10:00 +0000</pubDate>
				<category><![CDATA[Visual Studio Code]]></category>
		<guid isPermaLink="false">https://codingcampus.net/?p=1070</guid>

					<description><![CDATA[<p>The post <a href="https://codingcampus.net/how-to-recover-deleted-files-in-visual-studio-code/">How to Recover Deleted Files in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you deleted a file in VS Code, you can only recover it from your system&#8217;s <strong>Recycle Bin </strong>(Windows) or <strong>Trash</strong> (Mac). Unfortunately, if they&#8217;re been deleted from the recycle bin, <strong>there will be no easy way to recover them</strong>.</p>
<p>Follow these steps:</p>
<ol>
<li>Open <strong>Recycle Bin</strong> from your local computer.</li>
<li>Find or navigate to the deleted file.</li>
<li><strong>Right-click</strong> on the file and click on the <strong>Restore</strong> option.
<p><figure id="attachment_14947" aria-describedby="caption-attachment-14947" style="width: 590px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-14947" src="http://codingcampus.net/wp-content/uploads/2022/06/Restore-600x165-1.png" alt="Restore" width="600" height="165" /><figcaption id="caption-attachment-14947" class="wp-caption-text">Click on the Restore option.</figcaption></figure></li>
</ol>
<p>The deleted files will be automatically restored in the VS code.</p>
<p>The post <a href="https://codingcampus.net/how-to-recover-deleted-files-in-visual-studio-code/">How to Recover Deleted Files in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codingcampus.net/how-to-recover-deleted-files-in-visual-studio-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1070</post-id>	</item>
		<item>
		<title>How to Set Up Angular in Visual Studio Code</title>
		<link>https://codingcampus.net/how-to-set-up-angular-in-visual-studio-code/</link>
					<comments>https://codingcampus.net/how-to-set-up-angular-in-visual-studio-code/#respond</comments>
		
		<dc:creator><![CDATA[Kenneth Stenberg]]></dc:creator>
		<pubDate>Mon, 09 Jan 2023 22:46:00 +0000</pubDate>
				<category><![CDATA[Visual Studio Code]]></category>
		<guid isPermaLink="false">https://codingcampus.net/?p=1025</guid>

					<description><![CDATA[<p>The post <a href="https://codingcampus.net/how-to-set-up-angular-in-visual-studio-code/">How to Set Up Angular in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Angular is a <a href="https://codingcampus.net/how-to-run-javascript-in-visual-studio-code/">JavaScript</a> framework for building client-side Angular applications. These are applications that run entirely in the user’s browser. We use HTML and CSS to build the user interface, and write our code in TypeScript, an enhanced version of JavaScript. Typescript is a superscript of JavaScript. That means anything that you can do in JavaScript, you can also do in TypeScript using the exact same syntax. The following guide will help you set up Angular in Visual Studio Code.</p>
<h2>Installations</h2>
<h3>Node Package Manager(NPM)</h3>
<p>With NPM, you can install libraries, packages, and applications, along with their dependencies. You’ll need NPM to install all the libraries for Angular. You can install NPM by installing Node from <a href="http://nodejs.org/">nodejs.org</a>. The NPM package manager comes bundled with it.</p>
<h3>Angular CLI</h3>
<p>The Agular CLI is a command-line interface that you can use to create a new project, generate code, execute your application, deploy to production and much more. To install Angular CLI, follow the below steps:</p>
<ol>
<li>Open the command line in your respective operating system:<br />
&#8211;<strong>Command Prompt</strong> on Windows and Linux<br />
&#8211;<strong>Terminal</strong> on Mac OS</li>
<li>Execute the following command:
<pre><code>npm install -g @angular/cli</code></pre>
<p><figure id="attachment_13829" aria-describedby="caption-attachment-13829" style="width: 380px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13829" src="http://codingcampus.net/wp-content/uploads/2022/04/NPM-Install.png" alt="NPM Install" width="390" height="127" /><figcaption id="caption-attachment-13829" class="wp-caption-text">Enter the following command to install the Angular CLI: npm install -g @angular/cli</figcaption></figure></li>
</ol>
<h2>Steps to create Angular Project in Visual Studio Code</h2>
<h3>Creating New Project</h3>
<ol>
<li>Inside the Command Line, type and execute the following command:
<pre><code>ng new angular-example</code></pre>
<p><figure id="attachment_13828" aria-describedby="caption-attachment-13828" style="width: 394px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13828" src="http://codingcampus.net/wp-content/uploads/2022/04/New-Project.png" alt="New Project" width="404" height="45" /><figcaption id="caption-attachment-13828" class="wp-caption-text">Enter the following command to create a new project: ng new angular-example</figcaption></figure></li>
<li>When prompted with the question &#8211; &#8220;Would you like to add Angular routing?&#8221; Type <strong>Y</strong> and hit <strong>Enter</strong>.
<p><figure id="attachment_13822" aria-describedby="caption-attachment-13822" style="width: 380px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13822" src="http://codingcampus.net/wp-content/uploads/2022/05/Angular-Routing.png" alt="Angular Routing" width="390" height="104" /><figcaption id="caption-attachment-13822" class="wp-caption-text">Type Y and press Enter.</figcaption></figure></li>
<li>When prompted with the question &#8211; &#8220;Which StyleSheet format would you like to use?&#8221; Select <strong>LESS</strong> by down-arrow keys and hit <strong>Enter</strong>.
<p><figure id="attachment_13834" aria-describedby="caption-attachment-13834" style="width: 609px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13834" src="http://codingcampus.net/wp-content/uploads/2022/05/Stylesheet.png" alt="Stylesheet" width="619" height="212" /><figcaption id="caption-attachment-13834" class="wp-caption-text">Select LESS and press Enter.</figcaption></figure></li>
</ol>
<p>The above command will create a folder or <a href="https://codingcampus.net/how-to-create-a-new-project-in-visual-studio-code/">project</a> named “angular-example” on the Desktop.</p>
<h3>Opening The Project</h3>
<p>Now that we’ve created the project let us open it in the VS Code. Follow the steps below:</p>
<ol>
<li>From the sidebar, select the <strong>Explorer</strong> tab or press<strong> Ctrl + Shift + E</strong>. Click on the <strong>Open Folder</strong> button.
<p><figure id="attachment_13838" aria-describedby="caption-attachment-13838" style="width: 355px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13838" src="http://codingcampus.net/wp-content/uploads/2022/02/Open-Folder.png" alt="Open Folder" width="365" height="527" /><figcaption id="caption-attachment-13838" class="wp-caption-text">Click on the Open Folder button.</figcaption></figure></li>
<li>Select the folder which we just created. Here, I will choose “angular example.” Then, click on <strong>Select Folder</strong>.
<p><figure id="attachment_13824" aria-describedby="caption-attachment-13824" style="width: 659px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13824" src="http://codingcampus.net/wp-content/uploads/2022/04/Directory.png" alt="Directory" width="669" height="473" /><figcaption id="caption-attachment-13824" class="wp-caption-text">Select the folder from your preferred directory.</figcaption></figure></li>
<li>Here’s the project the CLI created for us. You’ll notice that it has created a number of files, including the app folder. This is where you’ll do most of your coding on the Angular project.
<p><figure id="attachment_13827" aria-describedby="caption-attachment-13827" style="width: 345px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13827" src="http://codingcampus.net/wp-content/uploads/2022/04/New-Project-Structure.png" alt="New Project Structure" width="355" height="700" /><figcaption id="caption-attachment-13827" class="wp-caption-text">The project folder will open in the explorer panel of VS Code.</figcaption></figure></li>
</ol>
<h3>Running The Project</h3>
<p>Do the following to run the project:</p>
<ol>
<li>From the top-level <strong>View</strong> menu, choose the <strong>Terminal</strong> option.
<p><figure id="attachment_13835" aria-describedby="caption-attachment-13835" style="width: 470px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13835" src="http://codingcampus.net/wp-content/uploads/2022/03/Terminal-1.png" alt="Terminal" width="480" height="575" /><figcaption id="caption-attachment-13835" class="wp-caption-text">From the View menu, click on the Terminal option.</figcaption></figure></li>
<li>Inside the terminal, type and run the following code:
<pre><code>npm start</code></pre>
<p><figure id="attachment_13830" aria-describedby="caption-attachment-13830" style="width: 590px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13830" src="http://codingcampus.net/wp-content/uploads/2022/04/NPM-Start.png" alt="NPM Start" width="600" height="206" /><figcaption id="caption-attachment-13830" class="wp-caption-text">Enter the following command to run the angular project: npm start</figcaption></figure></li>
<li>The CLI then builds the application, starts a web server, and opens the URL in the default browser, as shown in the image below:
<p><figure id="attachment_13821" aria-describedby="caption-attachment-13821" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-13821" src="http://codingcampus.net/wp-content/uploads/2022/05/Angular-Project-1024x546-1.png" alt="Angular Project" width="1024" height="546" /><figcaption id="caption-attachment-13821" class="wp-caption-text">This is the output of the default Angular project.</figcaption></figure></li>
</ol>
<h3>Debugging Angular</h3>
<p>Follow the steps below to debug the Angular project:</p>
<ol>
<li>From the sidebar, click on the <strong>Run and Debug</strong> tab and select the <strong>create a launch.json file</strong> option.
<p><figure id="attachment_13847" aria-describedby="caption-attachment-13847" style="width: 402px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13847" src="http://codingcampus.net/wp-content/uploads/2022/05/Run-and-Debug-1.png" alt="Run and Debug" width="412" height="387" /><figcaption id="caption-attachment-13847" class="wp-caption-text">Click on the Run and Debug button.</figcaption></figure></li>
<li>When prompted to choose the environment, select the <strong>Chrome</strong> option.
<p><figure id="attachment_13833" aria-describedby="caption-attachment-13833" style="width: 619px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13833" src="http://codingcampus.net/wp-content/uploads/2022/05/Select-Environment.png" alt="Select Environment" width="629" height="254" /><figcaption id="caption-attachment-13833" class="wp-caption-text">Choose Chrome as the environment.</figcaption></figure></li>
<li>Change the local host from <strong>8080</strong> to <strong>4200</strong> and save the file by pressing <strong>Ctrl + S</strong>.
<p><figure id="attachment_13825" aria-describedby="caption-attachment-13825" style="width: 730px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13825" src="http://codingcampus.net/wp-content/uploads/2022/05/launch.json-file.png" alt="launch.json file" width="740" height="344" /><figcaption id="caption-attachment-13825" class="wp-caption-text">Change the host to 4200.</figcaption></figure></li>
<li>Open any file from your project and add a breakpoint by left-clicking in the <strong>Editor Margin</strong> or pressing <strong>F9</strong> on the current line. Breakpoints have red-filled circles.
<p><figure id="attachment_13823" aria-describedby="caption-attachment-13823" style="width: 894px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13823" src="http://codingcampus.net/wp-content/uploads/2022/05/breakpoint.png" alt="breakpoint" width="904" height="412" /><figcaption id="caption-attachment-13823" class="wp-caption-text">Add a breakpoint in your code.</figcaption></figure></li>
<li>Inside the &#8220;Run and Debug&#8221; panel, click on the <strong>play</strong> button.
<p><figure id="attachment_13831" aria-describedby="caption-attachment-13831" style="width: 326px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13831" src="http://codingcampus.net/wp-content/uploads/2022/05/Play-button.png" alt="Play button" width="336" height="373" /><figcaption id="caption-attachment-13831" class="wp-caption-text">Inside the Run and Debug panel, click on the play button.</figcaption></figure></li>
<li>The debugging session will start. VS Code will switch views to open a new browser window. You’ll notice the debugger hitting your breakpoint.</li>
</ol>
<p>The post <a href="https://codingcampus.net/how-to-set-up-angular-in-visual-studio-code/">How to Set Up Angular in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codingcampus.net/how-to-set-up-angular-in-visual-studio-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1025</post-id>	</item>
		<item>
		<title>How to Install Fira Code in Visual Studio Code</title>
		<link>https://codingcampus.net/how-to-install-fira-code-font-in-visual-studio-code/</link>
					<comments>https://codingcampus.net/how-to-install-fira-code-font-in-visual-studio-code/#comments</comments>
		
		<dc:creator><![CDATA[Kenneth Stenberg]]></dc:creator>
		<pubDate>Mon, 09 Jan 2023 12:02:00 +0000</pubDate>
				<category><![CDATA[Visual Studio Code]]></category>
		<guid isPermaLink="false">https://codingcampus.net/?p=1036</guid>

					<description><![CDATA[<p>The post <a href="https://codingcampus.net/how-to-install-fira-code-font-in-visual-studio-code/">How to Install Fira Code in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The default font for Visual Studio Code is Consolas. Many <a href="https://codingcampus.net/how-to-add-a-new-font-in-visual-studio-code/">fonts</a> are available on the web, but the most popular font among developers is <strong>Fira Code</strong>. The following guide shows how to install and use the Fira Code font in Visual Studio Code.</p>
<h2>Step 1: Download Fira Code</h2>
<p>Go to <a href="https://fonts.google.com/specimen/Fira+Code">fonts.google.com/specimen/Fira+Code</a> and click on the <strong>Download Family</strong> button. It will download a zip file into your system.</p>
<figure id="attachment_13858" aria-describedby="caption-attachment-13858" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-13858" src="http://codingcampus.net/wp-content/uploads/2022/05/Download-Fira-Code-1024x500-1.png" alt="Download Fira Code" width="1024" height="500" /><figcaption id="caption-attachment-13858" class="wp-caption-text">Visit the download website and click on the Download Family button.</figcaption></figure>
<h2>Step 2: Install Fira Code</h2>
<p>To install Fira Code, do the following:</p>
<ol>
<li>Double-click on the downloaded zip file to unzip it.<br />
<strong>Note:</strong> You can download and install WinRar from <a href="http://win-rar.com/">win-rar.com</a></p>
<p><figure id="attachment_13863" aria-describedby="caption-attachment-13863" style="width: 590px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-13863" src="http://codingcampus.net/wp-content/uploads/2022/05/Unzip-File-600x301-1.png" alt="Unzip File" width="600" height="301" /><figcaption id="caption-attachment-13863" class="wp-caption-text">Double click to unzip the file.</figcaption></figure></li>
<li>Double-click on the file with <strong>.ttf</strong> extension.
<p><figure id="attachment_13861" aria-describedby="caption-attachment-13861" style="width: 590px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-13861" src="http://codingcampus.net/wp-content/uploads/2022/05/Run-ttf-file-600x347-1.png" alt="Run ttf file" width="600" height="347" /><figcaption id="caption-attachment-13861" class="wp-caption-text">Double click the file with ttf extension.</figcaption></figure></li>
<li>Click on the <strong>Install</strong> button. It will install the font in your system.
<p><figure id="attachment_13860" aria-describedby="caption-attachment-13860" style="width: 590px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-13860" src="http://codingcampus.net/wp-content/uploads/2022/05/Install-Fira-Code-600x309-1.png" alt="Install Fira Code" width="600" height="309" /><figcaption id="caption-attachment-13860" class="wp-caption-text">Click on the Install button.</figcaption></figure></li>
</ol>
<h2>Step 3: Using Fira Code in VS Code</h2>
<p>To make Fira Code your default font in VS Code, follow the below steps:</p>
<ol>
<li>From the top-level <strong>File</strong> menu, select the <strong>Preferences</strong> option. From the sub-menu, choose the <strong>Settings</strong> option. Alternatively, you can press <strong><strong>Ctrl + ,</strong></strong>
<p><figure id="attachment_13865" aria-describedby="caption-attachment-13865" style="width: 573px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-13865" src="http://codingcampus.net/wp-content/uploads/2022/05/Settings-3-583x600-1.png" alt="Settings" width="583" height="600" /><figcaption id="caption-attachment-13865" class="wp-caption-text">Open the Settings window.</figcaption></figure></li>
<li>In the search bar, type <strong>font</strong>.
<p><figure id="attachment_13862" aria-describedby="caption-attachment-13862" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-13862" src="http://codingcampus.net/wp-content/uploads/2022/05/Search-Font-1024x90-1.png" alt="Search Font" width="1024" height="90" /><figcaption id="caption-attachment-13862" class="wp-caption-text">Type &#8220;font&#8221; in the search bar.</figcaption></figure></li>
<li>Type <strong>Fira Code</strong> inside the Editor: Font Family textbox.
<p><figure id="attachment_28394" aria-describedby="caption-attachment-28394" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-28394" src="http://codingcampus.net/wp-content/uploads/2022/06/Font-Family-1024x416-1.jpg" alt="Font Family" width="1024" height="416" /><figcaption id="caption-attachment-28394" class="wp-caption-text">Enter Fira Code in the textbox.</figcaption></figure></li>
<li><strong>Restart</strong> VS Code. Now you can use Fira Code in VS Code.</li>
</ol>
<p>The post <a href="https://codingcampus.net/how-to-install-fira-code-font-in-visual-studio-code/">How to Install Fira Code in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codingcampus.net/how-to-install-fira-code-font-in-visual-studio-code/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1036</post-id>	</item>
		<item>
		<title>How to Install .VSIX Extensions in Visual Studio Code</title>
		<link>https://codingcampus.net/how-to-install-vsix-extensions-in-visual-studio-code/</link>
					<comments>https://codingcampus.net/how-to-install-vsix-extensions-in-visual-studio-code/#respond</comments>
		
		<dc:creator><![CDATA[Kenneth Stenberg]]></dc:creator>
		<pubDate>Thu, 05 Jan 2023 11:22:00 +0000</pubDate>
				<category><![CDATA[Visual Studio Code]]></category>
		<guid isPermaLink="false">https://codingcampus.net/?p=1011</guid>

					<description><![CDATA[<p>The post <a href="https://codingcampus.net/how-to-install-vsix-extensions-in-visual-studio-code/">How to Install .VSIX Extensions in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Visual Studio Code offers the support of extensions for added functionality, productivity, debugging, and speed. You can install the extensions either from the marketplace or manually through a .vsix file. This article explains how to install .vsix in Visual Studio Code.</p>
<h2>What is VSIX?</h2>
<p>VSIX stands for Visual Studio Extension. A VSIX file contains one or more Visual Studio extensions. VSIX files contain package descriptions, binaries, and other resources that make up the extension.</p>
<h2>Installing VSIX</h2>
<p>Follow the steps below to install a .vsix file in VS Code:</p>
<ol>
<li>Go to <a href="https://marketplace.visualstudio.com/">marketplace.visualstudio.com</a> and download the extension by clicking the <strong>Download Extension</strong> button. Here, I am downloading the <strong>Prettier</strong> extension.
<p><figure id="attachment_13815" aria-describedby="caption-attachment-13815" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-13815" src="http://codingcampus.net/wp-content/uploads/2022/05/Marketplace-1024x495-1.png" alt="Marketplace" width="1024" height="495" /><figcaption id="caption-attachment-13815" class="wp-caption-text">Go to the marketplace website and choose the extension you want to download.</figcaption></figure></li>
<li>From the sidebar in VS Code, open the <strong>Extensions</strong> tab.
<p><figure id="attachment_13813" aria-describedby="caption-attachment-13813" style="width: 333px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13813" src="http://codingcampus.net/wp-content/uploads/2022/03/Extensions-Tab-1.png" alt="Extensions tab" width="343" height="659" /><figcaption id="caption-attachment-13813" class="wp-caption-text">Click on the Extensions tab.</figcaption></figure></li>
<li>Inside the &#8220;Extensions&#8221; panel, click on the <strong>Overflow</strong> button with the ellipsis icon and select <strong>Install from VSIX</strong>.
<p><figure id="attachment_13817" aria-describedby="caption-attachment-13817" style="width: 590px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-13817" src="http://codingcampus.net/wp-content/uploads/2022/05/Install-from-VSIX-600x331-1.png" alt="Install from VSIX" width="600" height="331" /><figcaption id="caption-attachment-13817" class="wp-caption-text">Click on the three-dot button in the Extensions panel and choose the Install from VSIX option.</figcaption></figure></li>
<li>Go to the path where you downloaded the VSIX file. Select the file and click on <strong>Install</strong>.
<p><figure id="attachment_13814" aria-describedby="caption-attachment-13814" style="width: 590px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-13814" src="http://codingcampus.net/wp-content/uploads/2022/05/Install-VSIX-600x424-1.png" alt="Install VSIX" width="600" height="424" /><figcaption id="caption-attachment-13814" class="wp-caption-text">Select the downloaded file and click on the Install button.</figcaption></figure></li>
<li>You&#8217;ll be prompted with a successful installation message on the bottom-right corner.
<p><figure id="attachment_13816" aria-describedby="caption-attachment-13816" style="width: 512px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13816" src="http://codingcampus.net/wp-content/uploads/2022/05/Successful-Installation.png" alt="Successful Installation" width="522" height="135" /><figcaption id="caption-attachment-13816" class="wp-caption-text">You have successfully installed the VSIX file.</figcaption></figure></li>
</ol>
<p>The post <a href="https://codingcampus.net/how-to-install-vsix-extensions-in-visual-studio-code/">How to Install .VSIX Extensions in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codingcampus.net/how-to-install-vsix-extensions-in-visual-studio-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1011</post-id>	</item>
		<item>
		<title>How to Install PyAudio in Visual Studio Code</title>
		<link>https://codingcampus.net/how-to-install-pyaudio-in-visual-studio-code/</link>
					<comments>https://codingcampus.net/how-to-install-pyaudio-in-visual-studio-code/#respond</comments>
		
		<dc:creator><![CDATA[Kenneth Stenberg]]></dc:creator>
		<pubDate>Wed, 04 Jan 2023 16:07:00 +0000</pubDate>
				<category><![CDATA[Visual Studio Code]]></category>
		<guid isPermaLink="false">https://codingcampus.net/?p=1000</guid>

					<description><![CDATA[<p>The post <a href="https://codingcampus.net/how-to-install-pyaudio-in-visual-studio-code/">How to Install PyAudio in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>PyAudio provides <a href="https://codingcampus.net/how-to-run-python-code-in-visual-studio-code/">Python</a> bindings for PortAudio, the cross-platform audio I/O library. This allows you to use PyAudio to record and play sound on various platforms and operating systems such as Windows, Mac, and Linux. There are two ways to install PyAudio in Visual Studio Code. You can run pip commands in the command line or install the wheel package. This guide will show you both methods.</p>
<h2>Installing PyAudio using the pip command</h2>
<p>In this method, we run two pip commands in the command line to install PyAudio. Do the following:</p>
<ol>
<li>Open the command line in your respective operating system:<br />
&#8211;<strong>Command Prompt</strong> on Windows and Linux<br />
&#8211;<strong>Terminal</strong> on Mac OS.</li>
<li>Run the following two commands:
<pre><code>pip install pipwin</code></pre>
<pre><code>pipwin install pyaudio</code></pre>
<p><figure id="attachment_13797" aria-describedby="caption-attachment-13797" style="width: 590px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-13797" src="http://codingcampus.net/wp-content/uploads/2022/05/pip-commands-600x191-1.png" alt="pip commands" width="600" height="191" /><figcaption id="caption-attachment-13797" class="wp-caption-text">Execute the given two commands.</figcaption></figure></li>
<li>To check if the installation is successful, open the terminal in VS Code.
<p><figure id="attachment_13801" aria-describedby="caption-attachment-13801" style="width: 1350px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13801" src="http://codingcampus.net/wp-content/uploads/2022/03/Terminal.png" alt="Terminal" width="1360" height="728" /><figcaption id="caption-attachment-13801" class="wp-caption-text">Open the Terminal in VS Code.</figcaption></figure></li>
<li>Run the following command in the terminal:
<pre><code>pip install PyAudio</code></pre>
<p><figure id="attachment_13807" aria-describedby="caption-attachment-13807" style="width: 513px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13807" src="http://codingcampus.net/wp-content/uploads/2022/05/Pyaudio-Command-1.png" alt="Pyaudio Command" width="523" height="181" /><figcaption id="caption-attachment-13807" class="wp-caption-text">Execute the following code in the terminal: pip install PyAudio.</figcaption></figure></li>
<li>The installation is successful if the output shows “Requirement already satisfied”
<p><figure id="attachment_13808" aria-describedby="caption-attachment-13808" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-13808" src="http://codingcampus.net/wp-content/uploads/2022/05/Successfull-Installation-1024x95-1.png" alt="Successful Installation" width="1024" height="95" /><figcaption id="caption-attachment-13808" class="wp-caption-text">You&#8217;ll be prompted with a &#8220;Requirement already satisfied&#8221; statement.</figcaption></figure></li>
</ol>
<h2>Installing PyAudio using wheel</h2>
<p>Wheel is a python package or library which contains the PyAudio module. Follow the steps below to install PyAudio using wheel:</p>
<ol>
<li>Firstly, check the version of python installed in your system. To do that, run the following command in the command line:
<pre><code>python</code></pre>
<p><figure id="attachment_13800" aria-describedby="caption-attachment-13800" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-13800" src="http://codingcampus.net/wp-content/uploads/2022/05/Python-Version-1024x109-1.png" alt="Python Version" width="1024" height="109" /><figcaption id="caption-attachment-13800" class="wp-caption-text">Type &#8220;python&#8221; in the command line and hit Enter.</figcaption></figure></li>
<li>Head over to this website: <a href="https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio">lfd.uci.edu/~gohlke/pythonlibs/#pyaudio</a></li>
<li>Press <strong>Ctrl + F</strong> to open the search bar and type “PyAudio”. Download the correct version of the Python wheel according to the python version and python architecture highlighted in the above image. Here I will choose 3.10 and 64 bit.
<p><figure id="attachment_13795" aria-describedby="caption-attachment-13795" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-13795" src="http://codingcampus.net/wp-content/uploads/2022/05/Download-PyAudio-1024x653-1.png" alt="Download PyAudio" width="1024" height="653" /><figcaption id="caption-attachment-13795" class="wp-caption-text">Download the PyAudio file according to your python version and python architecture.</figcaption></figure></li>
<li>Right-click on the downloaded file and select the <strong>Properties</strong> option.
<p><figure id="attachment_13799" aria-describedby="caption-attachment-13799" style="width: 754px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13799" src="http://codingcampus.net/wp-content/uploads/2022/05/Properties.png" alt="Properties" width="764" height="628" /><figcaption id="caption-attachment-13799" class="wp-caption-text">Right-click on the downloaded file and select the Properties option.</figcaption></figure></li>
<li>Select the location and press <strong>Ctrl + C</strong> to copy.
<p><figure id="attachment_13796" aria-describedby="caption-attachment-13796" style="width: 353px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13796" src="http://codingcampus.net/wp-content/uploads/2022/05/Path.png" alt="Path" width="363" height="509" /><figcaption id="caption-attachment-13796" class="wp-caption-text">Copy the location.</figcaption></figure></li>
<li>Open the command line and type “pip install”. Then, paste the copied path followed by the downloaded file&#8217;s name. This is what the command looks like according to my system:
<pre><code>pip install C:UsersgauraDownloadsPyAudio-0.2.11-cp310-cp310-win_amd64.whl</code></pre>
<p><figure id="attachment_13798" aria-describedby="caption-attachment-13798" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-13798" src="http://codingcampus.net/wp-content/uploads/2022/05/pip-wheel-command-1024x212-1.png" alt="pip wheel command" width="1024" height="212" /><figcaption id="caption-attachment-13798" class="wp-caption-text">In the command line, type &#8220;pip install&#8221;, followed by the path of the downloaded file.</figcaption></figure></li>
<li>To check if the installation is successful, open the terminal in VS Code.
<p><figure id="attachment_13801" aria-describedby="caption-attachment-13801" style="width: 1350px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13801" src="http://codingcampus.net/wp-content/uploads/2022/03/Terminal.png" alt="Terminal" width="1360" height="728" /><figcaption id="caption-attachment-13801" class="wp-caption-text">Open the Terminal in VS Code.</figcaption></figure></li>
<li>Run the following command in the terminal:
<pre><code>pip install PyAudio</code></pre>
<p><figure id="attachment_13807" aria-describedby="caption-attachment-13807" style="width: 513px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13807" src="http://codingcampus.net/wp-content/uploads/2022/05/Pyaudio-Command-1.png" alt="Pyaudio Command" width="523" height="181" /><figcaption id="caption-attachment-13807" class="wp-caption-text">Execute the following code in the terminal: pip install PyAudio.</figcaption></figure></li>
<li>The installation is successful if the output shows “Requirement already satisfied”
<p><figure id="attachment_13808" aria-describedby="caption-attachment-13808" style="width: 1191px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-13808" src="http://codingcampus.net/wp-content/uploads/2022/05/Successfull-Installation.png" alt="Successful Installation" width="1201" height="111" /><figcaption id="caption-attachment-13808" class="wp-caption-text">You&#8217;ll be prompted with a &#8220;Requirement already satisfied&#8221; statement.</figcaption></figure></li>
</ol>
<p>The post <a href="https://codingcampus.net/how-to-install-pyaudio-in-visual-studio-code/">How to Install PyAudio in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codingcampus.net/how-to-install-pyaudio-in-visual-studio-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1000</post-id>	</item>
		<item>
		<title>How to enable auto indent in VS Code</title>
		<link>https://codingcampus.net/how-to-automatically-indent-code-in-visual-studio-code/</link>
					<comments>https://codingcampus.net/how-to-automatically-indent-code-in-visual-studio-code/#respond</comments>
		
		<dc:creator><![CDATA[Kenneth Stenberg]]></dc:creator>
		<pubDate>Tue, 03 Jan 2023 18:22:00 +0000</pubDate>
				<category><![CDATA[Visual Studio Code]]></category>
		<guid isPermaLink="false">https://codingcampus.net/?p=987</guid>

					<description><![CDATA[<p>The post <a href="https://codingcampus.net/how-to-automatically-indent-code-in-visual-studio-code/">How to enable auto indent in VS Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Indenting makes code more structured and easy to read. It helps us keep code tidy to help with workflow. There are two methods to automatically indent code in Visual Studio Code. <strong>By default, auto indent is disabled on Visual Studio Code</strong>. This guide shows you how to enable auto-indentation for code in Visual Studio Code.</p>
<h2>Method #1: Enable auto-indent in Settings</h2>
<ol>
<li>From the top-level &#8220;File&#8221; menu, select <strong>Preferences</strong>. From the sub-menu, choose <strong>Settings</strong>. Alternatively, you can just press <strong><strong>Ctrl + ,</strong></strong>
<p><figure id="attachment_13785" aria-describedby="caption-attachment-13785" style="width: 570px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-medium wp-image-13785" src="http://codingcampus.net/wp-content/uploads/2022/05/Settings-2-580x600-1.png" alt="Settings" width="580" height="600" /><figcaption id="caption-attachment-13785" class="wp-caption-text">Open Settings.</figcaption></figure></li>
<li>In the search bar, type &#8220;indent&#8221;.
<p><figure id="attachment_13783" aria-describedby="caption-attachment-13783" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-13783" src="http://codingcampus.net/wp-content/uploads/2022/05/Search-Indent-1024x86-1.png" alt="Search Indent" width="1024" height="86" /><figcaption id="caption-attachment-13783" class="wp-caption-text">Type &#8220;indent&#8221; In the search bar.</figcaption></figure></li>
<li>Choose the option <strong>full</strong> from the &#8220;Editor: Auto Indent&#8221; drop-down.
<p><figure id="attachment_13782" aria-describedby="caption-attachment-13782" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-13782" src="http://codingcampus.net/wp-content/uploads/2022/05/Full-1024x258-1.png" alt="Full" width="1024" height="258" /><figcaption id="caption-attachment-13782" class="wp-caption-text">Choose full from the &#8220;Editor: Auto Indent&#8221; drop-down.</figcaption></figure></li>
<li>Auto-indentation is now enabled. VS Code will now <strong>automatically indent code</strong> when you <strong>type</strong>, <strong>paste</strong> or <strong>move</strong> your code.</li>
</ol>
<h2>Methods #2: Enable auto-indent on Save</h2>
<p>Visual Studio Code has built-in support for automatic formatting (including indentation) upon saving the document. We have written a guide on enabling VS Code auto-formatting <a href="https://codingcampus.net/how-to-auto-format-code-in-visual-studio-code/">here</a>.</p>
<p>The post <a href="https://codingcampus.net/how-to-automatically-indent-code-in-visual-studio-code/">How to enable auto indent in VS Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codingcampus.net/how-to-automatically-indent-code-in-visual-studio-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">987</post-id>	</item>
		<item>
		<title>How to Align Code in Visual Studio Code</title>
		<link>https://codingcampus.net/how-to-align-code-in-visual-studio-code/</link>
					<comments>https://codingcampus.net/how-to-align-code-in-visual-studio-code/#comments</comments>
		
		<dc:creator><![CDATA[Kenneth Stenberg]]></dc:creator>
		<pubDate>Mon, 02 Jan 2023 23:01:00 +0000</pubDate>
				<category><![CDATA[Visual Studio Code]]></category>
		<guid isPermaLink="false">https://codingcampus.net/?p=967</guid>

					<description><![CDATA[<p>The post <a href="https://codingcampus.net/how-to-align-code-in-visual-studio-code/">How to Align Code in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Aligning code helps make it more readable and consistent. There are two methods to align code in Visual Studio Code: using keyboard shortcuts and auto-formatting code on saving, which we explain in <a href="https://codingcampus.net/how-to-auto-format-code-in-visual-studio-code/">this</a> article. This guide will show you how to use <strong>keyboard shortcuts</strong> to align your code quickly.</p>
<h2>Align code with Keyboard shortcuts</h2>
<p>Code Alignment is available in Visual Studio Code through the following shortcuts or key combinations:</p>
<ol>
<li><strong>Open</strong> the file you want to align. You’ll notice that I have an unaligned code.
<figure id="attachment_12123" aria-describedby="caption-attachment-12123" style="width: 1014px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-large wp-image-12123" src="http://codingcampus.net/wp-content/uploads/2022/05/Unaligned-Code-1024x351-1.png" alt="Unaligned Code" width="1024" height="351" /><figcaption id="caption-attachment-12123" class="wp-caption-text">Open the code file you want to align.</figcaption></figure>
<p>Select the code you want to align and use the following shortcut:<br />
On Windows: <code>Shift + Alt + F</code><br />
On macOS: <code>Shift + Option + F</code><br />
On Linux: <code>Ctrl + Shift + I</code></p>
<p><figure id="attachment_12124" aria-describedby="caption-attachment-12124" style="width: 1350px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-12124" src="http://codingcampus.net/wp-content/uploads/2022/05/Align.gif" alt="Align" width="1360" height="728" /><figcaption id="caption-attachment-12124" class="wp-caption-text">Press the mentioned key combinations to align the selected code.</figcaption></figure></li>
</ol>
<p>The post <a href="https://codingcampus.net/how-to-align-code-in-visual-studio-code/">How to Align Code in Visual Studio Code</a> appeared first on <a href="https://codingcampus.net">Coding Campus</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codingcampus.net/how-to-align-code-in-visual-studio-code/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">967</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using Disk: Enhanced 

Served from: codingcampus.net @ 2026-07-08 02:13:26 by W3 Total Cache
-->