Summary: 106 instances, 104 unique Text Count // TODO: add support for using the kind. 1 //TODO: this causes a lot of shuffling, should we use a growing ring buffer? compaction? 1 kind string // "type", "func", "method", "field" TODO: "const", "var" 1 // other loop/switch/select if they have a label. TODO: add support for 1 // TODO: what if there's more than one? Probably doesn't matter much. 1 //TODO: do we need to handle errors on these calls? 1 // TODO: deprecate GCDetails in favor of ToggleGCDetails below. 1 // TODO: Unit? 1 // TODO: Preserve multi-named fields instead of flattening. 1 // TODO: go back to using URI 1 //TODO: rethink the concept of metric handles 1 // TODO: test swap corresponding types (e.g. u1 <-> u2 and u2 <-> u1) 1 // TODO: support type params. 1 // TODO: support workspace folders. 1 // TODO: propagate more. See golang.org/issue/14252. 1 // TODO: support type params. 1 // TODO: don't report removed/changed methods for both value and pointer method sets? 1 // TODO: Remove this when we stop allowing the serve verb by default. 1 // TODO: deprecate Test in favor of RunTests below. 1 // TODO: to be correct, this should probably be synchronized, but right now 1 //TODO: should we do more than just log it? 1 // TODO: CODE COVERAGE 1 //TODO: Resource? 2 // TODO Commands below not fully supported yet. 1 // TODO: Preserve comment, for now get rid of them. 1 if build.Default.GOARCH != "amd64" { // TODO: arm64 also? 1 // TODO: investigate other cases of missing body and parameters 1 // TODO: must also check that if any methods were added or removed, every exposed 1 //TODO: do we want other grouping strategies? 1 //TODO: make sure the end of the uri is unambiguous 1 // TODO: handle passing a version 1 // TODO: Support function extraction for an expression. 1 // TODO: We should write this in terms of the scanner. 1 continue // TODO: report error? proceed? 1 // TODO: SumOfSquaredDeviation? 1 // TODO: maybe check if ident is a reserved word, if true then don't continue and return results. 1 //TODO: Status? 1 // TODO: stricter rules for selectorExpr. 1 // TODO: work out how to handle tags if/when they are needed. 1 // TODO: add highlight when breaking a select. 1 //TODO: catch the error returned from the method 1 // TODO: await initial configuration here, or expect gopls to manage that? 1 // TODO: should use the bug reporting API 1 // TODO: fix the error reporting when this runs async. 1 // TODO: Include identifiers that are assigned prior to being 1 // TODO: Disable complaint about '0' for Go 1.10. To be fixed properly in 1.11. 1 //TODO: StackTrace? 1 //TODO: we should not need to adjust the discovered configuration 1 // TODO: Actually implement a discovery protocol rather than a hard coded address 1 // TODO: remove this when it falls out of use. 1 // TODO: Need to think about constants in test files. Maybe write type_string_test.go 1 // State encapsulates the server state TODO: explain more 1 // TODO: find a way to use checkCompatibleObjectSets for this. 1 // TODO: check constant values: large values aren't representable by some types. 1 // TODO: Remove this once the lsp deprecates SymbolInformation. 1 // TODO: attach Resource? 1 // TODO instead of pretty-printing the node, should use the original source instead 1 return // TODO: handle more cases 1 // TODO: it's unclear if this is correct. Here we create the buffer (with 1 // TODO: This handles integer comparisons only. 1 // TODO: Add other CodeLenses such as GoGenerate, RegenerateCgo, etc.. 1 // TODO: do this better, so it works for all 1 //TODO: Links? 1 // TODO: Document all the incompatibilities we don't check for. 1 // TODO: show that two-non-empty dotjoin can happen, by using an anon struct as a field type 1 // TODO: should we allow to limit the queue size? 1 // TODO: test exported alias refers to something in another package -- does correspondence work then? 1 // TODO: do we want to allow contraction of stacks before comparison? 1 // TODO: Relax these checks; issue 26555. 1 // TODO: extend this to "ChangeConfiguration", once we refactor the way editor 1 asmWriteBP = re(`,\s*BP$`) // TODO: can have false positive, e.g. for TESTQ BP,BP. Seems unlikely. 1 //TODO: This code is wrong, it ignores handler and assumes non standard 1 // TODO: filter out facts that belong to 1 // TODO: Add GoGenerate, RegenerateCgo etc. 1 //TODO: make this more efficient 2 //TODO: Resource? 1 // TODO: probably a better solution for deferring closure to the caller would 1 // TODO: if not in dryRun mode, just fix it? 1 // TODO: set client capabilities 1 // TODO test: Doc 1 // TODO: Improve scoring algorithm. 1 // TODO: We should be able to do better than this. 1 //TODO: right now calling exit terminates the process, we should rethink that 1 // TODO: if go is currently installed install new version over that 1 // TODO: what if there's more than one? Probably doesn't matter much. 1 OCAgent: "off", //TODO: Remove this line to default the exporter to on 1 ctx := xcontext.Detach(ctx) //TODO:a way of shutting down the internal server 1 line, col := 1, 2 // TODO: Why is this 2? 1 // TODO: labels? 1 // TODO: note that we may miss correspondences because we bail early when we compare a signature (e.g. when lengths differ; we could do up to the shorter) 1 // TODO: if you add an unexported method to an exposed interface, you have to check that 1 // TODO: Reportedly gri does. Fix this to handle that too. 1 // TODO: consider making this fatal, after the Go 1.11 cycle. 1 // TODO: Ideally, this should always be precomputed for all pages, but then 1 // TODO: Nested simple blocks get unnecessary (but correct) counters 1 // Also see many other "TODO: opt" suggestions in the code. 1 //TODO: MessageEvents? 1 // TODO provide a non-nil *Environment 1 // TODO: we should prefer the right-most input if it overflows, rather 1 // TODO: handle Histogram metrics 1 // TODO (findleyr): we should probably do something with the error here, 1 if linker == "" && !is6g { // TODO: Support 6l 1 //TODO: push back the fun raw 1 // ---- TODO ---- 1