Skip to content

Commit 8e02a40

Browse files
committed
update docs
1 parent 9ad08ca commit 8e02a40

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

crates/analyzer/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ fn do_analysis() {
7676
// Computes inlay hints.
7777
let inlay_hints = analysis.inlay_hints(None);
7878
dbg!(&inlay_hints);
79+
80+
// Computes signature help.
81+
let signature_help = analysis.signature_help(TextSize::from(71));
82+
dbg!(&signature_help);
7983
}
8084

8185
fn project_code_stubs() {

crates/analyzer/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
//! // Computes inlay hints.
5151
//! let inlay_hints = analysis.inlay_hints(None);
5252
//! dbg!(&inlay_hints);
53+
//!
54+
//! // Computes signature help.
55+
//! let signature_help = analysis.signature_help(TextSize::from(71));
56+
//! dbg!(&signature_help);
5357
//! }
5458
//!
5559
//! fn project_code_stubs() {

0 commit comments

Comments
 (0)