We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7d03ae commit ed89d5eCopy full SHA for ed89d5e
CHANGELOG.md
@@ -12,6 +12,8 @@
12
13
## master
14
15
+- Complete domProps for lowercase JSX components from `ReactDOM.domProps` if possible. https://github.com/rescript-lang/rescript-vscode/pull/883
16
+
17
## 1.32.0
18
19
#### :bug: Bug Fix
analysis/src/CompletionBackEnd.ml
@@ -1581,6 +1581,8 @@ let rec processCompletable ~debug ~full ~scope ~env ~pos ~forHover completable =
1581
match fromDomProps with
1582
| Some domProps -> domProps
1583
| None ->
1584
+ if debug then
1585
+ Printf.printf "Could not find ReactDOM.domProps to complete from.\n";
1586
(CompletionJsx.domLabels
1587
|> List.filter (fun (name, _t) ->
1588
Utils.startsWith name prefix
0 commit comments