candidateKey produces a dedup key for a candidate.
(text string, typ base.CandidateType)
| 131 | |
| 132 | // candidateKey produces a dedup key for a candidate. |
| 133 | func candidateKey(text string, typ base.CandidateType) string { |
| 134 | return string(typ) + ":" + text |
| 135 | } |
| 136 | |
| 137 | // isColumnContext returns true if the cursor position appears to be in a |
| 138 | // context where column names should be suggested. This covers: |
no outgoing calls
no test coverage detected