Index: Source/devtools/front_end/sources/InplaceFormatterEditorAction.js |
diff --git a/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js b/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js |
index cf36944467b62a7c689cba411412e61b70fd094c..b0ab997f956b0562c46ad54301870854efe0742c 100644 |
--- a/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js |
+++ b/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js |
@@ -68,6 +68,8 @@ WebInspector.InplaceFormatterEditorAction.prototype = { |
{ |
if (!uiSourceCode) |
return false; |
+ if (uiSourceCode.project().type() === WebInspector.projectTypes.FileSystem) |
+ return true; |
return uiSourceCode.contentType() === WebInspector.resourceTypes.Stylesheet |
|| uiSourceCode.project().type() === WebInspector.projectTypes.Snippets; |
}, |