-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add setting work for some file formats #2
Comments
Hi @kytosai , Thanks for the recommendation. Yes, I saw this problem very soon after I published it, just never got around to it. Just for reference, I will make it work only for I'll try to get this fixed soon. |
@ffpetrovic Really helpful extension and it even works on other files too. I suspect it basically reacts to every { } in any file so the name of this extension is rather unfortunate. Should be simply Scope Helper :) It could use some improvements though, since in some languages a standard is to have opening brace in new line and so far this extension expects to have "label" in the same line. Otherwise it shows only // after }. PHP PSR-2 standard is to use { in new line for classes and functions, but in the same line after 1 space for all logic inside functions so it would be good if it checked also 1 line before { if generated label is empty.
Scope should be at least 4-5 lines to generate helper label:
|
same here in php files too, the decoration leak is very frustrating |
Do we have any updates today? |
I don't know if anyone is still watching this extension in any way, shape, or form, but I did a very crude (but also very functional) fix to the extension in this fork I made: https://github.com/Elvanos/scss-scope-helper As for @ffpetrovic - You can use the fix from my branch to basically insta-fix the issue (or even add more file formats for the whitelist) and update the extension on VScode's store in like... 5 minutes. :) |
I open setting.json and this extesion show comment in close bracket in .json file
Demo: https://drive.google.com/uc?id=1v86RnO-NkhyGOP4dC7BOO7AmmL2hKXpy
Please add setting to set plugin work for some file formats
Thanks !
The text was updated successfully, but these errors were encountered: