On 15.07.2016 16:31, Jan Mercl wrote:
On Fri, Jul 15, 2016 at 4:29 PM Thomas Frössman <thom...@jossystem.se
<mailto:thom...@jossystem.se>> wrote:
> Yeah. I also have (several) linux trees, gcc's and stuff in my
GOPATH.. I would really like some global config way to tell
goimports/gorename/... to ignore a bunch of subtrees.
I do not use goimports. My 2c anyway: What about checking for
.goimportsignore in the root of the subtree that should be skipped?
As we're speaking of Git trees here, I wouldn't like poluting them with
extra files. Git is very picky about that, for a good reason.
Also, it could be another performance hit, because now goimports tool
would need to check the existence of .goimportsignore file in each and
every folder (not unlike Apache's .htaccess).
I think I'd rather see a single ~/.config/goimports/goimports.ini config
file, where we could have a section along these lines:
[Ignore]
git.kernel.org/torvalds/linux
...
The config file might become useful later for other possible customizations.
Regards,
--
Zlatko
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.