(prefix string)
| 268 | } |
| 269 | |
| 270 | func removeQuote(prefix string) string { |
| 271 | if len(prefix) > 0 && (prefix[0] == 34 || prefix[0] == 39) { |
| 272 | return prefix[1:] |
| 273 | } |
| 274 | return prefix |
| 275 | } |
| 276 | |
| 277 | func createEnumItems(schema *jsonschema.Schema, params *protocol.CompletionParams, wordPrefixLength protocol.UInteger) []protocol.CompletionItem { |
| 278 | items := []protocol.CompletionItem{} |