-
Notifications
You must be signed in to change notification settings - Fork 31.8k
fix #79275 enable encodings for web #101706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Great 🚀 . This was by far not a simple task, given complexities with streams etc and also because this code is hit every time a text file is read or written. I am happy how this turned out in the end 👍
Feel free to do more contributions as you see fit, for example we have 2 queries for issues where we are open for contributions: Especially around
Yeah that sounds about right, the only reason it was not there before is because
I think it is always good to correlate a PR back to an issue, e.g. in our testing process at the end of the month we use issues to verify new features or bug fixes. Having a PR without an issue would not allow us to follow that process. Is there an area in particular where you thought about contributing? |
Cool, that's exactly the reason though you've had before :)
How would I connect something like moving
Thanks you for suggesting which categories of issues I can look at. I think I'll try to see if there are issues I can solve on the web side. While I am waiting Also I highly appreciated your test coverage, which helped a lot during my work. I will see if I can make it even better! |
I agree, this example is probably one where an issue is too much. Though we do have the label The reason we typically ask for an issue first is also so that VSCode devs have a chance to comment wether they would accept a PR or not. For example we often receive PRs for cosmetic or style code changes or even linting fixes that we close because we did not ask for help or it comes down to personal preference of the developer if certain code is written like it is. Often a refactoring falls into this category and thus the PR author might end up doing a lot of work without getting accepted. Bottom line, a PR is safest if it traces back to a "help wanted" issue 👍 |
* fix microsoft#79275 enable encodings for web * fix one more place and prettify object * 💄 Co-authored-by: Benjamin Pasero <[email protected]>
@bpasero truly epic day today as we are finally there after more than a month of work! Big thanks to you for guiding me through this! 🎉
I believe this is the last bit needed to enable encodings.
Contributing to VSCode was very enjoyable both because I love the editor and use it for many years and because it was very interesting to work with the codebase.
During my work I tried to keep changes that are not strictly important for the feature to work to minimum, so you are not overwhelmed by the amount of changes. However I had some ideas about small refactorings which I would like to try out and see your opinion on if result looks good. I guess I feel a bit of ownership now for the code I worked with 😄
A very simple example would be moving
SUPPORTED_ENCODINGS
toencoding.ts
, so all the encoding stuff lives together.I know that you in VSCode team have to deal with huge amount of issues and PRs every day, so I don't want to create more work for you just for the sake of it. That's why I would like to ask if you are open to the idea of me doing it. And also what would be the best process for it. Can I just open a PR not connected to any issue?