Comments (8)
The second option sounds great !!
That way they can either choose to format or not
from prettier-browser-extension.
I'll try to find some time to implement something. I'd like to start with option 2, because I think it's the simplest approach, and will allow us to iterate from there if we feel like it needs a more robust GUI.
from prettier-browser-extension.
from prettier-browser-extension.
Instead of finding specific textarea elements on specific pages, what if the extension worked on any textarea element on a given page?
I implemented #290 for Firefox, where we should be able to format any Textarea on the page (except those in iframe's), via context menu.
Chrome doesn't let us to identify elements where context menu is clicked hence it is not implemented. A Workaround has to be done
from prettier-browser-extension.
This seems to be a duplicate of #20 and #21 but I'm in support of these ideas too.
from prettier-browser-extension.
Could we close this as a duplicate and track it in #20? Or would you prefer to keep it around as a meta issue? Or close #20 and #21 moving their requirements into here?
from prettier-browser-extension.
I'm fine with having one issue! I'm not sure the other two issues are the same as this one, since they're additive. I'd really like to remove the current functionality because I think it's far too high of a maintenance burden. I'm personally not against leaving them all open for now.
from prettier-browser-extension.
Apologies for the delay on my end. We had a death in the family and I'm slowly getting caught up.
from prettier-browser-extension.
Related Issues (20)
- Feature request: ability to format code files hosted on github HOT 9
- Add isRequired to prop types
- Support GitHub Wiki pages!
- Unable to load unpacked extension after development build HOT 3
- Fields should have labels including field titles and checkbox descriptions
- Options link in extension options has broken link HOT 3
- Add screenshot(s) to `README.md` showing usage HOT 5
- Add instructions for setting options to `README.md` HOT 2
- Safari support for macOS Big Sur
- Code formatting on working on GitHub HOT 1
- Change default branch to main HOT 6
- Consider adding more web-ext scripts
- Stack Overflow code snippets are not formatted
- formatting errors for generics when `lang-tsx` is selected
- Publish to firefox addons AMO store
- How to use it? HOT 1
- Support Stack Exchange sites other than Stack Overflow
- Prettier button appears where it shouldn't on GitHub
- Upgrade to Prettier 1.19 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prettier-browser-extension.