Skip to content

Commit ed89d5e

Browse files
committed
changelog
1 parent d7d03ae commit ed89d5e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
1313
## master
1414

15+
- Complete domProps for lowercase JSX components from `ReactDOM.domProps` if possible. https://github.com/rescript-lang/rescript-vscode/pull/883
16+
1517
## 1.32.0
1618

1719
#### :bug: Bug Fix

analysis/src/CompletionBackEnd.ml

+2
Original file line numberDiff line numberDiff line change
@@ -1581,6 +1581,8 @@ let rec processCompletable ~debug ~full ~scope ~env ~pos ~forHover completable =
15811581
match fromDomProps with
15821582
| Some domProps -> domProps
15831583
| None ->
1584+
if debug then
1585+
Printf.printf "Could not find ReactDOM.domProps to complete from.\n";
15841586
(CompletionJsx.domLabels
15851587
|> List.filter (fun (name, _t) ->
15861588
Utils.startsWith name prefix

0 commit comments

Comments
 (0)