为什么我不能在Firebug中保存CSS更改? [英] Why can't I save CSS changes in Firebug?

查看:124
本文介绍了为什么我不能在Firebug中保存CSS更改?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Firebug是我发现编辑CSS最方便的工具 - 所以为什么没有一个简单的保存选项的CSS?



我总是发现自己在Firebug中做了调整,然后回到我的原始.css文件并复制调整。



有没有人想出更好的解决方案?



编辑:我知道代码存储在服务器上(在大多数情况下不是我自己的),但是我在构建自己的网站时使用。 / p>

Firebug只是使用.css文件从服务器下载的Firefox,它知道它正在编辑哪些文件。我不明白为什么没有一个导出或保存选项,它允许您存储新的.css文件。



我尝试在临时位置查找,然后选择文件> ... 并尝试Firefox上的输出选项,但我还是没有找到办法。



编辑2:
官方讨论组拥有



在你编辑CSS文件的时候改变浏览器。我现在做了改变,但我真的很想有这个功能内置到Firebug。 :)






[Update 1]

b

今天我刚看到这个视频: Firefox CSS在Sublimetext中进行编辑(正在进行中)看起来很有前途



如果您碰巧使用 a href =http://www.microsoft.com/visualstudio/eng/visual-studio-2013​​rel =nofollow noreferrer> Visual Studio 2013 与 Web Essentials ,您就可以自动同步CSS,如下面的视频所示:



Web Essentials:浏览器工具集成


Firebug is the most convenient tool I've found for editing CSS - so why isn't there a simple "save" option for CSS?

I am always finding myself making tweaks in Firebug, then going back to my original .css file and replicating the tweaks.

Has anyone come up with a better solution?

EDIT: I'm aware the code is stored on a server (in most cases not my own), but I use it when building my own websites.

Firebug's just using the .css file Firefox downloaded from the server, it knows precisely what lines in which files it's editing. I can't see why there's not an "export" or "save" option, which allows you to store the new .css file. (Which I could then replace the remote one with).

I have tried looking in temporary locations, and choosing File > Save... and experimenting with the output options on Firefox, but I still haven't found a way.

EDIT 2: The official discussion group has a lot of questions, but no answers.

解决方案

I got here looking exactly for this feature, that is, being able to save edited CSS properties back to the original file (on my local development machine). Unfortunately after searching a lot and not finding anything that suits my needs (OK, there's CSS Updater but you have to register and it's a paid extension...) I gave up on Firefox + Firebug and looked for something similar for Google Chrome. Guess what... I just found this great post that shows a nice way of getting this to work ( built into Chrome - there's no need for additional extensions ):

Change CSS and SAVE on local file system using Chrome Developer Tools

I tried it now and it works great highlighting the changed lines. Just click Save and you're done! :)

Here's a video explaining this and much more: Google I/O 2011: Chrome Dev Tools Reloaded

I hope it helps if it doesn't matter to you changing browser while editing your CSS files. I made the change already for now, but I would really love to have this functionality built into Firebug. :)


[Update 1]

Today I just saw this video: Firefox CSS live edit in Sublimetext (work in progress) Looks promising indeed.

[Update 2]

If you happen to be using Visual Studio 2013 with Web Essentials you'll be able to sync CSS automagically as shown in this video:

Web Essentials: Browser tools integration

这篇关于为什么我不能在Firebug中保存CSS更改?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆