Chrome Dev tools: code folding

Is there a way to enable cold fold in CodeMirror used in Chrome Dev Tools source panel.

You usually enable this with the option

foldGutter: true

      

I can see that the options for CodeMirror are handled through source_frame_module.js. Can this file be customized?

+3


source to share


1 answer


Currently, you cannot change anything about how CodeMirror works in DevTools. The only thing you can do is reinstall using a custom theme extension. There have been numerous error messages requiring this kind of functionality, but due to security reasons it hasn't been operational yet until it's planned, as far as I know.



+1


source







All Articles