From 95ae98d925e27e1c9ce0706e3c7ded78eba7c13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Wielg=C3=B3rski?= Date: Wed, 5 Aug 2020 06:29:41 -0700 Subject: [PATCH] Added "Open in IDE" functionality for Litho Components inside Flipper Layout Plugin Summary: Dropdown menu to select IDE in which the Litho Component will be opened. Some Litho Components do not have corresponding Spec files. Hence, I am first trying to access files with Spec suffix and retrying if fails without the suffix. The number of such files is limited. [FB Only] changelog: It is now possible to directly open source files from the Layout inspector Reviewed By: adityasharat Differential Revision: D22922126 fbshipit-source-id: e1109c995427755a28ba78a65f5ff98392fb7060 --- desktop/app/src/fb-stubs/FileResolver.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/app/src/fb-stubs/FileResolver.tsx b/desktop/app/src/fb-stubs/FileResolver.tsx index 475339845..3ee29a4bd 100644 --- a/desktop/app/src/fb-stubs/FileResolver.tsx +++ b/desktop/app/src/fb-stubs/FileResolver.tsx @@ -8,6 +8,7 @@ */ export enum IDE { + 'DIFFUSION', 'AS', 'VSCODE', 'XCODE',