-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Method separator #56530
Comments
There already exists a shortcut to go back, you can find it under Go > Back. I'm not sure what you mean by method separator, can you please detail that? |
@asifcreativ Email attachments do not make their way to github. Can you please upload directly on the github UI at #56530 |
I'd like many checkboxes: [ ] show separator before class definition [ ] show separator before function definition |----[ ] show separator if function body is at least [ 3 ] lines long [ ] show separator before class method definition |----[ ] show separator if class method's body is at least [ 3 ] lines long each type of separator would be themable (color and maybe height in pixels) |
+1 |
1 similar comment
+1 |
+42 |
Any progress? I just found this request because I was moving from VS to VS Code on some projects and missed the method separator in VS Code. |
+1 |
maybe +69 is going to work ?? :) +69 |
One of great features I miss after moved from webstorm to vscode is the methods divider. This horizontal line make the code much easier to read, it appears between methods in class and between normal functions. Anybody know extension do that. I'm also thinking about implementing an extension, but it looks unavailable to control these stuff at vscode extensions. |
Hello everyone! |
Hi |
+1 Would use :) Merry Christmas! |
Please add this feature. Makes it very easy to see where code starts and stops. |
Pleeease add this feature. I've been using an editor with method separators for the first 15 years of my career. In recent 10 years I am forced to use editors without, and I never feel well with those. |
+1 Pretty please on this. I'm actually shocked that this does not exist already and I can't seem to find a good plugin for this either. |
+1 |
any progress? |
Any progress please ? |
I think everyone who loves this feature on Jetbrains IDEs but switched to VS Code eventually finds their way here. |
Hi, Any progress please? |
+1 for this feature. Would be an absolute boon. Two years in the making already.... and agree, everyone from a jetbrains exposure has probably landed on this page more than once. |
I'm the one who opened duplicate #108229 Please can we have this? A small addition with a lot of added value. |
Waiting for this feature as well.. Please? |
1 similar comment
Waiting for this feature as well.. Please? |
I just published an extension to provide such feature. It’s called Separators. It uses the VS Code/extensions engine to detect Methods, Functions and Constructors, so it will work out of the box with any language extension you already have installed. This is the initial release, but I’m thinking about adding some of the features commented above. What do you say? If you find any error or have any suggestion, feel free to open issues on extension’s repo https://github.com/alefragnani/vscode-separators. Enjoy 😉 |
Thank you very much for this! |
What's the property to change the separator colour? I'm using radical theme and the separator is a bit bold, I'd like to tame it, but hell yeah, thanks man. |
Got them... Ace |
Thank you! |
Well done man... thanks!!! |
Thanks a lot, very useful! I thought' maybe it could be useful to limit these lines length to fit to right ruler (say, 80 symbols)? Thanks again! |
Hi @efibutov , I'm glad you like the extension! I guess it is possible. Feel free to open an issue on extension's repo, so I could take a look, or someone which already know how to do it, could contribute. Thank you |
Thanks! Thanks again |
is there enough vote ? |
here a temp alternative https://marketplace.visualstudio.com/items?itemName=alefragnani.separators |
Post is open since 2018... It looks like going the extension route is the only option. Was on the backlog, but was removed.... A nice feature unfortunately lost. +1 for what it is worth should the VSCode dev's look at the request again...
|
This works perfectly, thanks! |
This issue should be closed because Separators works perfectly. It is as good as a native feature! Thanks and much respect to you @alefragnani! 🥳 🎉 |
Thank you so much! It works greate! |
Issue Type: Feature Request
Please add method separator in class and shortcut for go back to previous Edit/last edit location ... Thanks
VS Code version: Code 1.26.0 (4e93618, 2018-08-13T16:20:44.170Z)
OS version: Darwin x64 17.7.0
The text was updated successfully, but these errors were encountered: