From 7f972b45e6f7d252fbb32b0e96803b9a1f45c46e Mon Sep 17 00:00:00 2001 From: Martin Troiber Date: Wed, 7 Oct 2020 02:56:40 -0700 Subject: [PATCH] Add completion for @OnCalculateCachedValue Summary: Why? - OnCalculateCachedValue is used for both LayoutSpec and MountSpec and part of the documentation (https://fblitho.com/docs/cached-values) so users would expect auto-completion What? - Added OnCalculateCachedValue to increase coverage of MountSpec and LayoutSpec method completion which is used ~150 times across the Android code base Reviewed By: colriot Differential Revision: D24139359 fbshipit-source-id: 65d66a4b3be7a26e07b7334bf21d620450b9e4d2 --- .../src/main/resources/methodTemplates/methods.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/litho-intellij-plugin/src/main/resources/methodTemplates/methods.xml b/litho-intellij-plugin/src/main/resources/methodTemplates/methods.xml index 3ac74e1063b..793778731c9 100644 --- a/litho-intellij-plugin/src/main/resources/methodTemplates/methods.xml +++ b/litho-intellij-plugin/src/main/resources/methodTemplates/methods.xml @@ -33,4 +33,5 @@ +