RechInformatica / rech-editor-batch

Edit Batch files with Visual Studio Code
MIT License
21 stars 5 forks source link

How to remove the line that runs down the editor #15

Closed L0garithmic closed 1 year ago

L0garithmic commented 3 years ago

https://i.imgur.com/rccXkC7.jpg

How do I turn this off? It comes on when I enable the plugin

BouwenMA commented 3 years ago

Appears the creator is defining "editor.rulers" inside this extension itself that overrides values specified for user preferences.

I found I was able to remove the rulers by editing the extension's "package.json" file under: ".\VSCode\Insiders\App\Data\extensions\rechinformatica.rech-editor-batch-0.0.19"

"editor.rulers": [
    120
],

The extension does not seem to provide any mechanism to override this via the normal preferences.json, so this is the only fix so far I know of that removes the ruler line until (if) the author provides an option.

Note: I also found several other editor settings defined in the extension that likely override user prefs (listed below). I am unsure as to whether any of these are actually required for the extension to work.

    "editor.tabSize": 3,
    "editor.detectIndentation": true,
    "editor.trimAutoWhitespace": true,
    "editor.useTabStops": false,
    "editor.renderIndentGuides": false
gustavosimon commented 1 year ago

Hello @L0garithmic and @BouwenMA! Thanks for opening this issue!

We can create settings to this.

I'm going to handle this as an improvement.