Test adding struct tags with dialogs

-- capabilities.json --
{
	"experimental":{"interactiveResolve":{"inputTypes":["string","bool","number","enum"]}}
}

-- flags --
-ignore_extra_diags


-- addtags.go --
package addtags

type A struct {
	x int //@codeaction("x", "refactor.rewrite.addTags", edit=singleline, answers=`{"tags":"xml","transform":"camelcase"}`)
	y int //@codeaction(re`(?s)y.*.z int`, "refactor.rewrite.addTags", edit=twolines, answers=`{"tags":"xml","transform":"camelcase"}`)
	z int //@codeaction(re`()n`, "refactor.rewrite.addTags", edit=entirestruct, answers=`{"tags":"xml","transform":"camelcase"}`)
}
-- @entirestruct/addtags.go --
@@ -4,3 +4,3 @@
-	x int //@codeaction("x", "refactor.rewrite.addTags", edit=singleline, answers=`{"tags":"xml","transform":"camelcase"}`)
-	y int //@codeaction(re`(?s)y.*.z int`, "refactor.rewrite.addTags", edit=twolines, answers=`{"tags":"xml","transform":"camelcase"}`)
-	z int //@codeaction(re`()n`, "refactor.rewrite.addTags", edit=entirestruct, answers=`{"tags":"xml","transform":"camelcase"}`)
+	x int `xml:"x"` //@codeaction("x", "refactor.rewrite.addTags", edit=singleline, answers=`{"tags":"xml","transform":"camelcase"}`)
+	y int `xml:"y"` //@codeaction(re`(?s)y.*.z int`, "refactor.rewrite.addTags", edit=twolines, answers=`{"tags":"xml","transform":"camelcase"}`)
+	z int `xml:"z"` //@codeaction(re`()n`, "refactor.rewrite.addTags", edit=entirestruct, answers=`{"tags":"xml","transform":"camelcase"}`)
-- @singleline/addtags.go --
@@ -4 +4 @@
-	x int //@codeaction("x", "refactor.rewrite.addTags", edit=singleline, answers=`{"tags":"xml","transform":"camelcase"}`)
+	x int `xml:"x"` //@codeaction("x", "refactor.rewrite.addTags", edit=singleline, answers=`{"tags":"xml","transform":"camelcase"}`)
-- @twolines/addtags.go --
@@ -5,2 +5,2 @@
-	y int //@codeaction(re`(?s)y.*.z int`, "refactor.rewrite.addTags", edit=twolines, answers=`{"tags":"xml","transform":"camelcase"}`)
-	z int //@codeaction(re`()n`, "refactor.rewrite.addTags", edit=entirestruct, answers=`{"tags":"xml","transform":"camelcase"}`)
+	y int `xml:"y"` //@codeaction(re`(?s)y.*.z int`, "refactor.rewrite.addTags", edit=twolines, answers=`{"tags":"xml","transform":"camelcase"}`)
+	z int `xml:"z"` //@codeaction(re`()n`, "refactor.rewrite.addTags", edit=entirestruct, answers=`{"tags":"xml","transform":"camelcase"}`)
