Display Xcode for CK and Android Studio for Litho Components
Summary: Detect the framework used for a given component and accordingly, display a proper IDE list. [FB Only] changelog: It is now possible to directly open CKComponents from the Layout inspect Reviewed By: adityasharat Differential Revision: D23158628 fbshipit-source-id: 305f10752c72eac001334f09bab29264e3e328a6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7d0dd3c656
commit
8aa29d00f2
@@ -7,6 +7,8 @@
|
|||||||
* @format
|
* @format
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import {Element, ElementFramework} from 'flipper';
|
||||||
|
|
||||||
export enum IDEType {
|
export enum IDEType {
|
||||||
'DIFFUSION',
|
'DIFFUSION',
|
||||||
'AS',
|
'AS',
|
||||||
@@ -46,4 +48,22 @@ export abstract class IDEFileResolver {
|
|||||||
): string {
|
): string {
|
||||||
throw new Error('Method not implemented.');
|
throw new Error('Method not implemented.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static async resolvePath(
|
||||||
|
_className: string,
|
||||||
|
_framework: string,
|
||||||
|
): Promise<string> {
|
||||||
|
throw new Error('Method not implemented.');
|
||||||
|
}
|
||||||
|
|
||||||
|
static isElementFromFramework(
|
||||||
|
_node: Element,
|
||||||
|
_framework: ElementFramework,
|
||||||
|
): boolean {
|
||||||
|
throw new Error('Method not implemented.');
|
||||||
|
}
|
||||||
|
|
||||||
|
static isElementFromSupportedFramework(_node: Element): boolean {
|
||||||
|
throw new Error('Method not implemented.');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user