Home
last modified time | relevance | path

Searched defs:SnippetCap (Results 1 – 10 of 10) sorted by relevance

/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/render/
Dvariant.rs21 snippet_cap: Option<SnippetCap>, in render_record_lit()
50 snippet_cap: Option<SnippetCap>, in render_tuple_lit()
99 snippet_cap: Option<SnippetCap>, in format_literal_label()
Dpattern.rs167 snippet_cap: Option<SnippetCap>, in render_record_as_pat()
196 snippet_cap: Option<SnippetCap>, in render_tuple_as_pat()
Dfunction.rs163 cap: SnippetCap, in add_call_parens()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/completions/
Dsnippet.rs121 fn snippet(ctx: &CompletionContext<'_>, cap: SnippetCap, label: &str, snippet: &str) -> Builder { in snippet()
130 cap: SnippetCap, in add_custom_completions()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-db/src/
Dlib.rs401 pub struct SnippetCap { struct
405 impl SnippetCap { argument
406 pub const fn new(allow_snippets: bool) -> Option<SnippetCap> { in new()
Dsource_change.rs201 _cap: SnippetCap, in insert_snippet()
215 _cap: SnippetCap, in replace_snippet()
238 pub fn add_tabstop_before(&mut self, _cap: SnippetCap, node: impl AstNode) { in add_tabstop_before()
244 pub fn add_tabstop_after(&mut self, _cap: SnippetCap, node: impl AstNode) { in add_tabstop_after()
250 pub fn add_placeholder_snippet(&mut self, _cap: SnippetCap, node: impl AstNode) { in add_placeholder_snippet()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/completions/postfix/
Dformat_like.rs46 cap: SnippetCap, in add_format_like_completions()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/
Ditem.rs497 cap: SnippetCap, in insert_snippet()
508 pub(crate) fn snippet_edit(&mut self, _cap: SnippetCap, edit: TextEdit) -> &mut Builder { in snippet_edit()
Drender.rs63 fn snippet_cap(&self) -> Option<SnippetCap> { in snippet_cap()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-assists/src/
Dutils.rs213 pub(crate) fn render_snippet(_cap: SnippetCap, node: &SyntaxNode, cursor: Cursor<'_>) -> String { in render_snippet()