KomodoEdit icon indicating copy to clipboard operation
KomodoEdit copied to clipboard

New file from template: Sass and Scss files are missing

Open babobski opened this issue 6 years ago • 7 comments

Short Summary

If you wan't to create a scss or sass file, using the new file from template function, these files are missing.

Expected results

That you are able to create these files using "new file from template"

Platform Information

Komodo IDE, version 11.0.2, build 90813, platform win32-x86.

babobski avatar Jan 29 '18 09:01 babobski

Thanks for the report.

mitchell-as avatar Jan 29 '18 15:01 mitchell-as

We added as many languages as we're going to add. It's very easy to add new Templates now, Toolbox gear icon > Add > Template.

th3coop avatar Jan 29 '18 16:01 th3coop

@cgchoffman I understand that I know can easily add this to you're toolbox, but is still feels like Komodo dropped language support for these files.

If I use K10 I can create these files(less,sass,scss) out of the box using new file from template. In K11 I'm unable to create these files out of the box, I can't create these files using new file or using new file from template.

For me it feels like a step backwards, I think this process can be optimilized, I don't think it's that clear that you can create you're own new templates.

babobski avatar Jan 31 '18 10:01 babobski

note: I think #3455 would be a good solution for this

babobski avatar Jan 31 '18 12:01 babobski

Let's just add empty templates for all our major languages, it's low effort.

Naatan avatar Jan 31 '18 18:01 Naatan

@th3coop can you maybe fix this? test driving the semicolon fix. But I'm unable to create a less or scss file from scratch. Unable with new 'file from template' and a new file gives me a php file (from my config).

I still think this is more a bug than a enhancement. As I'm really unable to create the files out of the blue. If I compare the functionality with K10 there is a lot missing beside the tempates.

K10: afbeelding

K12 afbeelding

In K10 there is a lot more:

  • you can specify your filename
  • you can specify your file location (remote or not)
  • You can open the template folder directly
  • and there is even a help function
  • You can organize you're templates in folders

The only things I'm missing are:

  • you can specify your filename
  • You can open the template folder directly

In K12 there is no option to add new templates from the "new file from template" menu. I think this is really a short coming, as I'm unable to create less or scss files and when opening the new files from template menu. It is not clear I have to do this:

It's very easy to add new Templates now, Toolbox gear icon > Add > Template.

babobski avatar Feb 21 '20 02:02 babobski

@babobski adding templates for LESS and SCSS is a perfect candidate for a PR. File Templates are in the Edit repo as well. I can't prioritize this in my schedule.

Removing the step to provide the filename was done consciously. That is working as expected. You set the name and save location the first time you press ctrl/cmd + s after opening the template file. Also, adding this back is not trivial, compared to adding two new template files..

th3coop avatar Feb 21 '20 19:02 th3coop