From 3814c8fdfc1bc4ea7fb5262f966525f96087904e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Wielg=C3=B3rski?= Date: Fri, 17 Jul 2020 03:47:18 -0700 Subject: [PATCH] Move openInIDE to Flipper core Summary: Share functionality from D22375637 Reviewed By: mweststrate Differential Revision: D22595715 fbshipit-source-id: 496a29c1c8e85eb1f065f48e650047a25c99b9d3 --- desktop/app/src/fb-stubs/FileResolver.tsx | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 desktop/app/src/fb-stubs/FileResolver.tsx diff --git a/desktop/app/src/fb-stubs/FileResolver.tsx b/desktop/app/src/fb-stubs/FileResolver.tsx new file mode 100644 index 000000000..13db2fce5 --- /dev/null +++ b/desktop/app/src/fb-stubs/FileResolver.tsx @@ -0,0 +1,30 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @format + */ + +export enum IDE { + 'AS', + 'VSCode', + 'XCode', +} + +export async function resolveFullPathsFromMyles( + _fileName: string, + _dirRoot?: string, +) { + throw new Error('Method not implemented.'); +} + +export function openInIDE( + _filepath: string, + _ide: IDE, + _lineNumber = 0, + _repo?: string, +) { + throw new Error('Method not implemented.'); +}