Skip to content
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

Disable built-in guidelines #4

Open
ygoe opened this issue Nov 1, 2018 · 3 comments
Open

Disable built-in guidelines #4

ygoe opened this issue Nov 1, 2018 · 3 comments

Comments

@ygoe
Copy link

ygoe commented Nov 1, 2018

When this extension is active, is there a chance that the VS-built-in guidelines can be automatically disabled? They've been added some time in the past and are on by default. Unfortunately, their setting cannot be exported and imported in VS and Microsoft has decided to leave it like that. So it would be very helpful (and reasonable anyway) to fix that from this extension's side. I'd be fine with either properly deactivating that option, or plain hacking the lines out of the view if possible.

(Update: Microsoft has altered the comments and status of the item so that it is no longer closed as "Won't fix". This setting might still better be handled within this extension though.)

@Kiefy
Copy link

Kiefy commented Oct 23, 2020

I don't know if this is a new setting, but in case you never figured it out and for future visitors, you can disable VS default indent guides with this setting:

Options > Text Editor > General > Show structure guide lines.

@ygoe
Copy link
Author

ygoe commented Oct 25, 2020

I did figure that out. And I always set it. Otherwise you'd have two lines and that would be a giant mess. That setting has been there since Microsoft added their own ugly lines.

My issue was about automatically changing that setting through the add-on because Microsoft constantly fails to do import/export of settings properly. When I report it, they either can't see it (too dumb) or don't want to fix it (too lazy). So setting up a new installation always needs certain manual fixes. This add-on could ease it a bit, and it would even be appropriate. After all, who wants the built-in lines if they installed an add-on to get other lines?

@zooba
Copy link
Owner

zooba commented Jan 24, 2022

I think the best way to do this is to detect the VS setting the first time a document is opened and show an info bar offering to disable it.

I'm unlikely to add it myself, but would happily consider a contribution. It shouldn't actually have to integrate with the rest of the extension at all, as it can do its own detection of text view creation. But it does make sense to bundle it with this one, so happy to be the package it ships with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants