brackets-zurb-foundation icon indicating copy to clipboard operation
brackets-zurb-foundation copied to clipboard

HTML file suffix is already added

Open badcat opened this issue 7 years ago • 2 comments

Not sure where this is coming from, but after creating a new Zurb Document then choosing File > Save, the file name is already suffixed with .html -- So, the user would wind up with a file ready to save as "untitled.html.html"

How do we remove the first .html from the file name?

badcat avatar Aug 09 '17 13:08 badcat

The plugin is predefined to save as html the file when you create a Zurb Foundation document. And in most cases that's the default functionality of a html template. So it's automated right now.

If you make the mistake with double .html.html you can rename your file afterwards.

GBratsos avatar Aug 09 '17 14:08 GBratsos

Yes.. just seems like there should be a way to resolve the double suffix. I saw the original Bootstrap one did this too. Was hoping to have the save dialog only highlight the name of the file to be typed in and leave the (single) suffix alone. Like below from Visual Studio Code. highlight I'll look into this.

badcat avatar Aug 09 '17 14:08 badcat