I am working on a Node.js project that has Handlebars .hbs files in it. I am unable to format the .hbs files, because the standard version of the Prettier extension for VS Code doesn't support the .hbs file-type, or the Handlebars syntax.
            Asked
            
        
        
            Active
            
        
            Viewed 2,970 times
        
    3
            
            
        What visual studio code formatter can i use to format
- 
                    if I search the market place there are formatters for handlebar – rioV8 Dec 31 '21 at 21:23
 - 
                    I personally use the default "HTML Language Features" as a formatter... It formats the HTML part of the .hbs file. The handlebars code is left untouched, which is a good thing, since there aren't many good hbs file formatters in the market at the moment – Alexandros Kourtis Jan 10 '23 at 14:29
 
1 Answers
4
            
            
        Try using the extension: "mfeckies.handlebars-formatter"
It worked well for me when I was working with .hbs files 18 months ago.
        JΛYDΞV
        
- 8,532
 - 3
 - 51
 - 77