搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Is there a way for saving code snippets in Firefox if no why don't you provide the same?

  • 6 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 Shubham

more options

I am using Firefox as the main browser for web development but it doesn't have functionality for saving code snippets. Most of the developers are switching to chrome because of this inability to save code. Firefox is good with other things but please provide this function. It would be one of the demanding updates for web developers. Please show some concern about this issue.

I am using Firefox as the main browser for web development but it '''doesn't have functionality for saving code snippets'''. Most of the developers are '''switching to chrome''' because of this inability to save code. Firefox is good with other things but please provide this function. It would be '''one of the demanding updates for web developers'''. Please show some concern about this issue.

由Shubham于修改

所有回复 (6)

more options

Hi Shubham, do you mean this feature:

https://developers.google.com/web/tools/chrome-devtools/javascript/snippets

I haven't heard of that before. What have you found yourself using it for?

The DevTools team has its own forum. I think that would be a good place to mention this:

https://discourse.mozilla.org/c/devtools

more options

jscher2000 said

Hi Shubham, do you mean this feature: https://developers.google.com/web/tools/chrome-devtools/javascript/snippets I haven't heard of that before. What have you found yourself using it for? The DevTools team has its own forum. I think that would be a good place to mention this: https://discourse.mozilla.org/c/devtools


Yes, I mean the same feature

[https://developers.google.com/web/too.../snippets]

It is very useful when you learn a new concept and try it out in console or even save that code for future use. No need to go to a code editor for small-small things. We can try it there and persist it. It makes learning and remembering that concept easy.

more options

Shubham said

It is very useful when you learn a new concept and try it out in console or even save that code for future use. No need to go to a code editor for small-small things. We can try it there and persist it. It makes learning and remembering that concept easy.

When you use the multi-line mode in Firefox's Web Console, you can use the ^ and v buttons to go back and forth through recently executed code snippets, and there's a search button where you can search for words from snippets that are not in the back-forward buffer. But I don't think you can name and organize them:

https://developer.mozilla.org/docs/Tools/Web_Console/The_command_line_interpreter

So maybe saving specific snippets to a personal library, and a button to access those, could be integrated there.

more options

jscher2000 said

Shubham said

When you use the multi-line mode in Firefox's Web Console, you can use the ^ and v buttons to go back and forth through recently executed code snippets, and there's a search button where you can search for words from snippets that are not in the back-forward buffer. But I don't think you can name and organize them:

https://developer.mozilla.org/docs/Tools/Web_Console/The_command_line_interpreter

So maybe saving specific snippets to a personal library, and a button to access those, could be integrated there.


Yes, I do use multi-line console but as you also noticed that we are still waiting for facility to save and organize that snippet. If you are the part of Firefox team please try to convey this request to right person. Thanks in advance... :)

more options

I'm not involved with Developer Tools. I did add a comment to your thread on the other forum.

more options

No problem sir... Thanks for your time, attention and help.