(&self, cx: &App)
| 98 | configure_completion( |
| 99 | InputState::new(window, cx) |
| 100 | .placeholder("Key") |
| 101 | .default_value(&entry.key), |
| 102 | completion_engine.as_ref(), |
| 103 | CompletionContext::FormName, |
| 104 | ) |
| 105 | }); |
| 106 | let completion_engine = self.completion_engine.clone(); |
| 107 | let value_input = cx.new(|cx| { |
| 108 | configure_completion( |
| 109 | InputState::new(window, cx) |
| 110 | .placeholder("Value") |
| 111 | .default_value(&entry.value), |
| 112 | completion_engine.as_ref(), |
| 113 | CompletionContext::FormValue, |
| 114 | ) |
| 115 | }); |
| 116 |
nothing calls this directly
no test coverage detected