GithubHelp home page GithubHelp logo

madskristensen / editorguidelines Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pharring/editorguidelines

0.0 1.0 0.0 950 KB

A Visual Studio extension that adds vertical column guides to the text editor

License: MIT License

C# 100.00%

editorguidelines's Introduction

Editor Guidelines

A Visual Studio extension that adds vertical column guides to the text editor.

The extension adds vertical column guides behind your code. This is useful if you are trying to tabulate columns of data or if you want to ensure that your lines don't extend beyond a certain length. You specify where the guides go and what color they should be.

Getting Started

Download and run the extension (VSIX) for Visual Studio 2012 or later from the Visual Studio Marketplace or, from within Visual Studio, search for "Editor Guidelines" in the "Extensions and Updates" UI.

Control guidelines via the context (right-click) menu on the editor surface. You will see a Guidelines flyout with three commands:

GuidelinesContextMenu

  • When Add Guideline is selected, a vertical dashed line will be drawn at the same position as the caret (insertion point).
  • Remove Guideline will remove any guideline at the current insertion point.
  • Remove All Guidelines does exactly that.

You can change the guideline color from the Fonts and Colors page in Tools|Options. Look for Guideline in the Text Editor category:

GuidelinesToolsOptions

These commands may also be accessed from Visual Studio's Command Window.

GuidelinesCommandWindow

Note that the column numbers used for the Edit.AddGuideline and Edit.RemoveGuideline commands refer to the right side of the given column of text. i.e. To place a guide to the right of column 80, use Edit.AddGuideline 80. To place a guide to the left of the first column use Edit.AddGuideline 0.

Note: This extension collects and transmits anonymized usage statistics to the extension author for product improvement purposes.

editorguidelines's People

Contributors

pharring avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.