Skip to content

Commit 77b634b

Browse files
committed
add reanalyze note
1 parent 7936860 commit 77b634b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

analysis/src/CompletionBackEnd.ml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,9 @@ It is also possible to map a ReScript record to a JavaScript array by passing in
14221422
14231423
`@dead` suppresses reporting on the value/type, but can also be used to force the analysis to consider a value as dead. Typically used to acknowledge cases of dead code you are not planning to address right now, but can be searched easily later.
14241424
1425-
[Read more and see examples in the documentation](https://rescript-lang.org/syntax-lookup#dead-decorator).|};
1425+
[Read more and see examples in the documentation](https://rescript-lang.org/syntax-lookup#dead-decorator).
1426+
1427+
> Hint: Did you know you can run an interactive dead code analysis in your project by running the command `> ReScript: Start dead code analysis.`? Try it!|};
14261428
] );
14271429
( "deriving",
14281430
[
@@ -1492,7 +1494,9 @@ Alternatively, use the `@@deprecated` decorator to add a deprecation warning to
14921494
14931495
`@live` tells the dead code analysis that the value should be considered live, even though it might appear to be dead. This is typically used in case of FFI where there are indirect ways to access values. It can be added to everything that could otherwise be considered unused by the dead code analysis - values, functions, arguments, records, individual record fields, and so on.
14941496
1495-
[Read more and see examples in the documentation](https://rescript-lang.org/syntax-lookup#live-decorator).|};
1497+
[Read more and see examples in the documentation](https://rescript-lang.org/syntax-lookup#live-decorator).
1498+
1499+
Hint: Did you know you can run an interactive dead code analysis in your project by running the command `> ReScript: Start dead code analysis.`? Try it!|};
14961500
] );
14971501
( "meth",
14981502
[

0 commit comments

Comments
 (0)