Support defining formatting for file names on Windows
See original GitHub issueCurrently (giter8 0.6.2), it is not possible to define formatting for file names on Windows, since double quotes (surrounding format name in format specification) cannot be used in file name on Windows. List of that one and other reserved characters on Windows can be found here
E.g. in my template project, under directory named project I wanted to create a file named:
$name;format="Camel"$Build.scala
Creating
$name;format='Camel'$Build.scala
worked ok.
Consider replacing double quotes or for backward compatibility supporting also single quotes around format name. Even better, consider removing any characters wrapping around format name.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Naming Files, Paths, and Namespaces - Win32 apps
Some file systems, such as NTFS, support linked files and directories, which also follow file naming conventions and rules just as a regular ......
Read more >Best Practices for File Naming - Records Express
Adopting good file naming conventions can help ensure that files will work with different operating systems and disk formats, such as Windows, ...
Read more >Common Windows file extensions | Technical Support Services
Windows file names have two parts; the file's name, then a period followed by the extension (suffix). The extension is a three- or...
Read more >File naming and structure - Research Data Management at ...
Avoid special characters or spaces in a file name; Use capitals and underscores instead of periods or spaces or slashes; Use date format...
Read more >File format - Wikipedia
File type may also refer to Unix file types or Filename extension. Learn more. This article has multiple issues. Please help improve it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sslavic or @eed3si9n I think this can be closed since the original issue was addressed since now you can use the syntax
$name__Camel$Build.scala
.As a future reference it works to add the formatting option after the name field using two underscores (
__
), like so:Here’s the documentation explaining that a bit more in detail: http://www.foundweekends.org/giter8/formatting.html