From 60a494c5e1137b1ff1ea3ac0139426155d602c22 Mon Sep 17 00:00:00 2001 From: Jonas Pauthier Date: Sat, 22 Dec 2018 21:15:06 +0100 Subject: [PATCH] Add emmet configuration to README As mentioned in https://github.com/reasonml-editor/vscode-reasonml/issues/196#issuecomment-392367945 --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 9d90e50..3d52375 100644 --- a/README.md +++ b/README.md @@ -174,3 +174,19 @@ let foo (arg: list 'a) => switch arg { | [_] | [_, _, ..._] => failwith "" }; ``` + +## FAQ + +- How do I enable emmet in ReasonReact files? + +Add this in your `settings.json`: +```json +"emmet.includeLanguages": { + "reason": "javascriptreact" +} +``` + +Plus if it's not already there, consider adding: +```json +"emmet.triggerExpansionOnTab": true, +```