View a diff of changes in chrome developer tools

天大地大妈咪最大 提交于 2019-12-10 20:48:50

问题


Can devtools show a diff between the original file and current modifications?
or a list of modified selectors and their new values, in the case of CSS?

I'm aware of:

  • Local Modifications - history of every change, but not original..current
  • Map to workspace - save modified files to their source
  • Source Maps - see preprocessed sources (SCSS)

Workflow (SCSS)

  • Compose changes with Elements pane using CSS (can't edit SCSS rules directly)
  • Remember changes or cross-reference in two windows
  • Add to SCSS, compile, reload and hope I didn't miss anything.

If it were possible to edit SCSS in the elements pane, then we could save with workspace mapping and livereload but it would be a slower than modifying CSS in-browser.

来源:https://stackoverflow.com/questions/23642839/view-a-diff-of-changes-in-chrome-developer-tools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!