Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML file suffix is already added #11

Open
badcat opened this issue Aug 9, 2017 · 2 comments
Open

HTML file suffix is already added #11

badcat opened this issue Aug 9, 2017 · 2 comments

Comments

@badcat
Copy link
Contributor

badcat commented Aug 9, 2017

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?

@GBratsos
Copy link
Owner

GBratsos commented Aug 9, 2017

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.

@badcat
Copy link
Contributor Author

badcat commented Aug 9, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants