mirror of
https://github.com/golang/go
synced 2024-11-19 03:14:42 -07:00
a8d5d34286
In CL 192137 deep fuzzy matching was enabled by default. We also have options independent options "deepCompletion" and "fuzzyMatching" to control this. When fuzzy matching is disabled, case insensitive prefix matching is used. Provide an option, "caseSensitiveCompletion", which allows for case sensitive prefix matching when fuzzy matching is disabled. Change-Id: I17c8fa310b2ef79e36cc2f7303e98870690b5903 Reviewed-on: https://go-review.googlesource.com/c/tools/+/194757 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
17 lines
426 B
Go
17 lines
426 B
Go
// Copyright 2019 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package casesensitive
|
|
|
|
func _() {
|
|
var lower int //@item(lower, "lower", "int", "var")
|
|
var Upper int //@item(upper, "Upper", "int", "var")
|
|
|
|
l //@casesensitive(" //", lower)
|
|
U //@casesensitive(" //", upper)
|
|
|
|
L //@casesensitive(" //")
|
|
u //@casesensitive(" //")
|
|
}
|