Vscode: Method separator

Created on 16 Aug 2018  路  32Comments  路  Source: microsoft/vscode

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 (4e9361845dc28659923a300945f84731393e210d, 2018-08-13T16:20:44.170Z)
OS version: Darwin x64 17.7.0

editor-rendering feature-request

Most helpful comment

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)

All 32 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 https://github.com/Microsoft/vscode/issues/56530

screen shot 2018-08-16 at 7 49 53 pm

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

+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!
Any progress here?

Hi
Any progress here?

+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
I would greatly appreciate this feature!

Please, save me.

image

(those lines are made by Comment Divider extension, with some configs tweak and pressing manually [Alt]+[Y])

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?

Waiting for this feature as well.. Please?

I just published an extension to provide such feature. It鈥檚 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鈥檓 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鈥檚 repo https://github.com/alefragnani/vscode-separators.

Enjoy 馃槈

I just published an extension to provide such feature. It鈥檚 called Separators.

Thank you very much for this!

I just published an extension to provide such feature. It鈥檚 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鈥檓 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鈥檚 repo https://github.com/alefragnani/vscode-separators.

Enjoy 馃槈

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

I just published an extension to provide such feature. It鈥檚 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鈥檓 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鈥檚 repo https://github.com/alefragnani/vscode-separators.

Enjoy 馃槈

Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sirius1024 picture sirius1024  路  3Comments

mrkiley picture mrkiley  路  3Comments

VitorLuizC picture VitorLuizC  路  3Comments

curtw picture curtw  路  3Comments

lukehoban picture lukehoban  路  3Comments