![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Is there a way for saving code snippets in Firefox if no why don't you provide the same?
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)
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:
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.
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.
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... :)
I'm not involved with Developer Tools. I did add a comment to your thread on the other forum.
No problem sir... Thanks for your time, attention and help.