dschwen / switch-header-source

Quick switching between C/C++ header and source files
MIT License
13 stars 49 forks source link

Doc on howto add a new couple of switches #18

Closed bguil closed 6 years ago

bguil commented 6 years ago

17 is fixed in 0.24.4, thanks.

I use the package for Ocaml editing and so I need to switch between <file>.ml and <file>.mli. With previous version, it worked (See screenshot for parameters used) but it doesn't work anymore with 0.24.4.

Can you add a few lines in the README to explain how to add a new couple of extensions?

Thanks,

screen shot 2017-12-14 at 07 55 36
bguil commented 6 years ago

I finally manage to make it work with the regular expression: (.*)\.(ml|mli)$. Anyway, a few lines in README may be useful for other users.

dschwen commented 6 years ago

Yes, I agree. I'll reopen the issue to track the README update.

dschwen commented 6 years ago

Please reopen if you have further ideas on how to improve the README!