Hi.   I type 

import "github.com/zalando/go-keyring" 

and save, and VSCode deletes my line. 

I know why it's doing it.  I haven't yet used the library in my routine, 
and I have yet added the library to my go.mod file. 

But I want it to inform me of the problem, and leave it to me to fix it!  
Not change my code without my permission.  (My Prius yanks the wheel when 
it thinks I'm about to hit something.  Not appreciated.) 

Is there some set of settings that will accomplish this?  I hate to abandon 
VSCode.  The Go team has put in a lot of effort to make it the best place 
to write Go code.  Thanks. 

Keywords:   VSCode autoformat format formatonsave 

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/204f5c1e-d02d-4c67-a19c-d7a4497174fen%40googlegroups.com.

Reply via email to