groc icon indicating copy to clipboard operation
groc copied to clipboard

added preserve-extensions functionality

Open tjb1982 opened this issue 10 years ago • 1 comments

This helps in situations where you have two files with the same name, differing only by extension, which happens a lot in C/C++/Objective-C, etc.

e.g. you might have some files like this:

  • bar.c
  • bar.h
  • foo.c
  • foo.h
  • main.c

which groc generates as:

  • bar.html
  • bar.html
  • foo.html
  • foo.html
  • main.html

In order to prevent ambiguous filenames, preserve the extension:

  • bar.c.html
  • bar.h.html
  • foo.c.html
  • foo.h.html
  • main.c.html

tjb1982 avatar Jan 17 '15 02:01 tjb1982

I'd really like to see this get added as I'm trying to groc some .cpp and .h files that have the same names

RussellChamp avatar Feb 23 '15 20:02 RussellChamp