Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 6 ŋuɖoɖowo
  • 1 masɔmasɔ sia le esi
  • 14 views
  • Nuɖoɖo mlɔetɔ 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 trɔe

All Replies (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.