-
Notifications
You must be signed in to change notification settings - Fork 381
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
TYPE: fold the r#
in raw-identifiers
#3759
Conversation
I did some general cleanup in related files. |
I have received some negative comments on this feature. Maybe I should make it disabled by default (but how can I test it then?). |
Signed-off-by: ice1000 <ice1000kotlin@foxmail.com>
I'm not sure, but it seems that in tests all regions are folded (regardless of the settings). |
@mchernyavsky I've modified the tests to let it:
, please take a look. |
Signed-off-by: ice1000 <ice1000kotlin@foxmail.com>
bors ping |
pong |
LGTM, thanks! |
3759: TYPE: fold the `r#` in raw-identifiers r=mchernyavsky a=ice1000 Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> <!-- Hello and thank you for the pull request! We don't have any strict rules about pull requests, but you might check https://github.com/intellij-rust/intellij-rust/blob/master/CONTRIBUTING.md for some hints! Note that we need an electronic CLA for contributions: https://github.com/intellij-rust/intellij-rust/blob/master/CONTRIBUTING.md#cla After you sign the CLA, please add your name to https://github.com/intellij-rust/intellij-rust/blob/master/CONTRIBUTORS.txt :) --> Before:  After:  Co-authored-by: ice1000 <ice1000kotlin@foxmail.com>
Hm, I'm not sure that it's a useful feature
But other implementations don't make sense at all because Due to the described reasons, we cannot turn on it by default (in this PR is just turned off) and looks like won't do it in the future. Including settings complication, nobody won't discover it. Finally:
So I'm going to revert these changes @ice1000 Sorry for so non-instant feedback |
3773: TYPE: Revert raw identifiers folding r=mchernyavsky a=Undin Reverts changes from #3759 See #3759 (comment) for more details Co-authored-by: Arseniy Pendryak <a.pendryak@yandex.ru>
Yeah that's what I heard from my friends too. No problem, that's reasonable. |
Signed-off-by: ice1000 ice1000kotlin@foxmail.com
Before:


After: