Showing posts with label Step by Step Guide. Show all posts
Showing posts with label Step by Step Guide. Show all posts

Sunday, 11 September 2022

Visual Studio Code Prettier Extension Set up

Recently I needed to use the Prettier code formatter extension in visual studio code. I thought it would be similar to other extensions. But it is not. We need to set a setting for this extension to work automatically. We will go through that setting for the windows system in this blog.

Prettier Extension Set up

  • Open visual studio code as an administrator.
  • From extensions, install “Prettier – code formatter”




Once you have installed it, you can use it with CTRL + CMD + P (macOS) or CTRL + Shift + P (Windows) to manually format a file or a selection of code

Required Settings

We need to enable format on save settings for this extension. By default, it is disabled in visual studio code, and it is a manual setup.

Also, we need to set the Prettier extension as the default formatter.

Windows Machine set up

In windows, we can follow the below steps for the required settings:
  • Click settings. You will find it in the left bottom corner.


  • Click on Settings in the menu.


  • It will open the settings page. In that, click on the text editor.


  • Scroll down to “Default Formatter” settings.


  • Here, we need to select Prettier.



  • After this from the left menu click on “formatting”.


  • Here, checks the option “Format on save”.




Verify the changes

  • To verify the settings, click on the new text file from the file menu.


  • Click on select a language. Then select – HTML



  • Paste the below code and save the file.

 <html>  
 <head> <title>This is test</title> </head>  
 <body> <p>this is test</p> <p>This is test 2</p> <p>test</p> </body>  
 </html>  

  • When you save the file, it will be automatically formatted.




Final Comments 


With Prettier, the life becomes easy, and code becomes readable. However, be aware that this applies to every project now. If you happen to work on a project with a team where the project does not use Prettier, you will format every file once you save it. If not agreed upon with your teammates, this may cause trouble.

Thursday, 23 September 2021

Set up SharePoint Designer 2013 Step By Step Part 3

SharePoint Designer 2013 – a tool that is most useful few years back, still handy in some projects, and that still gives me trouble when need to set up for any new machine. So, here is a set up process that I believe can be helpful in future.

Here is order of installation we are going to follow in this article:

  • Pre-requisite Installation 
  • SharePoint Designer 2013 
  • Service Pack 1 (This Blog)
  • Security Update for Microsoft SharePoint Designer 2013 (kb2863836) (This Blog)
  • Update for Microsoft SharePoint Designer 2013 (kb3114337)
  • Update for Microsoft SharePoint Designer 2013 (kb3114721)
If you miss any previous post, you can visit using the above link:

In this blog we are going to install Service Pack 1.


Once the SharePoint designer 2013 is installed, we need to install Service Pack 1 and other updates. Without this I face blank workflow open or workflow not open issues.

  • Double click on “spdsp2013-kb2817441-fullfile-x64-en-us.exe” to start installation.
  • It will ask to read the License terms and accept it.
  • Check the “Click here to accept the Microsoft Software License Terms” checkbox after reading the terms. It will enable continue button.
  • Click the “Continue” button.

  • It will start installation of Service pack 1. It may take couple of minutes to install.
  • Once installation is done, click ok.


Once the Service Pack 1 installation is done,  we need to install Security Update for Microsoft SharePoint Designer 2013. 

  • Double click on “spd2013-kb2863836-fullfile-x64-glb.exe” to install the update.
  • It will open dialog to show terms.
  • Click on “Click here to accept the Microsoft Software License Term” after reading the terms. Once checked, continue button will be enabled.
  • Click continue.


  • It will install the update. It may take few minutes to install.
  • Once installation is completed, click ok.



In the next blog, we will complete the set up with pending two updates. 

Set up SharePoint Designer 2013 Step By Step Part 2

SharePoint Designer 2013 – a tool that is most useful few years back, still handy in some projects, and that still gives me trouble when need to set up for any new machine. So, here is a set up process that I believe can be helpful in future.

Here is order of installation we are going to follow in this article:

  • Pre-requisite Installation 
  • SharePoint Designer 2013 (This Blog)
  • Service Pack 1
  • Security Update for Microsoft SharePoint Designer 2013 (kb2863836)
  • Update for Microsoft SharePoint Designer 2013 (kb3114337)
  • Update for Microsoft SharePoint Designer 2013 (kb3114721)

If you miss any previous post, you can visit using the above link:

In this blog we are going to install SharePoint Designer:

Follow below steps to install the SharePoint Designer 2013. For this blog, I will use 64 Bit download:

  • Double Click on “sharepointdesigner2013_64bit.exe” file to start the installation.
  • It will extract the files first.


  • Once extraction is done, it will open Installation wizard. Click “Install Now”.


  • It will install the designer in the system. This may take couple of minutes.
  • Once installation is done, click close to complete installation.



In the next part we will install Service Pack 1.

Set up SharePoint Designer 2013 Step By Step Part 1

SharePoint Designer 2013 – a tool that is most useful few years back, still handy in some projects, and that still gives me trouble when need to set up for any new machine. So, here is a set up process that I believe can be helpful in future.


Here is order of installation we are going to follow in this article:
  • Pre-requisite Installation (This Blog)
    • Service pack 1 for .Net Framework 3.0
  • SharePoint Designer 2013
  • Service Pack 1
  • Security Update for Microsoft SharePoint Designer 2013 (kb2863836)
  • Update for Microsoft SharePoint Designer 2013 (kb3114337)
  • Update for Microsoft SharePoint Designer 2013 (kb3114721)
In this blog we are going to install Pre-requisites:

This will save you from error - Windows workflow Foundation, part of .Net Framework 3.0 must be installed to use this feature.





  • When you start installation, it will take a moment to identify the features to be install. Click “Download and install feature”.


  • Once installation complete, click close.



We are done with Pre-requisites. We will start the SharePoint Designer Installation in next part.