-
Notifications
You must be signed in to change notification settings - Fork 645
On file save few characters gets deleted #2921
Comments
Please share all Go related settings that you might have added/edited. |
This is my settings.json file |
This sounds like golang/go#34955. Can you comment on that issue and answer the questions listed there? |
@VijayUpadhyay Thanks for sharing the settings. |
We have writ
Issue Type: Bug
Following Golang file:
package deckinfo
import "fmt"
//deck ...represen string array of cards
type deck []string
//NewDeck ...representsewly created decks
func NewDeck() deck {
return []string{"a", "n"}
}
func (d deck) Print() {
f _, val := range d {
fmt.Printf("val is: %s", val)
}
}
It changes in below format while saving(ctrl+s)
package deckinfo
import "fmt"
//deck ...represen string array of cards
ype deck []string
//NewDeck ...representsewly created decks
fnc NewDeck() deck {
eturn []string{"a", "n"}
}
func (d deck) Print() {
f _, val := range d {
fmt.Printf("val is: %s", val)
}
}
Extension version: 0.11.9
VS Code version: Code 1.40.2 (f359dd69833dd8800b54d458f6d37ab7c78df520, 2019-11-25T14:54:45.096Z)
Please let me know what is the issue or if we have any fix for this in upcoming releases.
The text was updated successfully, but these errors were encountered: