VSSDK-Extensibility-Samples/Caret_Fish_Eye
WillBrown2000 f59cecb137 Upgraded extensibility documentation (#92)
* Updated new picture for ReadMe file.

* Updated Example.BuildProgressBar.png, Updated ReadMe file with correct references.

* Updated Example.CaretFishEye.png and Readme.md with current references

* Updated Example.CodeSweep.png and Readme.md with current references

* ReadMe.md updates and ComboBox.png update

* fixed typo

* Updated ReadMe.md references.

* Updated Example.CommandTargetRGB.png

* Updated references in Readme.md and Example.CompletionTooltipCustimzation.png.  Upgraded to make roundtripable.

* Fixed Typo in Readme.md

* Removed typo.

* Updated ReadMe.md and Example.DiffClassifier.png

* Updated Reame.md and Example.EditorWithToolBox

* Updated Readme.md and Example.SpelllingError.png

* fixed typo

* updated Example.HighlighWord.png and Readme.md

* Updated ReadMe.md and Example.IntraTextAdornment.png

* Updated Example.LightBulb.png and readme.md

* Updated Example.MSDN.png and Readme.md

* Updated Example.MenusAndCommands.png and ReadMe.md

* Fixed Typo

* Updated Example.Ook.png and Readme.md

* updated ReadMe.md

* Updated Example.OptionsPage1.png and Readme.md

* Updated Example.Package.png and readme.md

* Updated Example.Reference.Service.png and Readme.md

* Fixed Typo

* updated Example.RTDEvent.png and readme.md

* Fixed typo.

* Fixed Typo

* Fixed typo in png name

* updated Example.SingleFileGenerator.png and Readme.md

* updated Example.SingleFileGenerator.png

* Updated Example.SccProvider.png and readme.md

* Updated Example.SourceControlStatus.png and readme.md

* Fixed file locations

* Fixed typo

* Updated Readme.md and Example.ToDoClassification.png

* Fixed Typo

* Updated Readme.md

* Updated png and readme.md

* Fixed white space

* Corrected file location

* Updated Example.ToolWindow.png and Readme.md

* Fixed Typo

* Updated Readme.md

* Fixed white space
2017-06-06 16:00:53 -07:00
..
C# Upgraded extensibility documentation (#92) 2017-06-06 16:00:53 -07:00
Readme.md Upgraded extensibility documentation (#92) 2017-06-06 16:00:53 -07:00

Readme.md

Caret Fish Eye Provider Sample

Demonstrate how to implement the Line Transformation API in Visual Studio.

  • Technologies: Visual Studio 2017 SDK
  • Topics: Visual Studio Editor, VSX

Description

This sample extension for Visual Studio 2015 modifies the text editor using the Line Transformation API. The extension visually scales lines so that they gradually appear smaller as they get farther away from the text caret.

image

Requirements

Visual Studio 2017

Get all samples

Clone the repo (How to):

git clone https://github.com/Microsoft/VSSDK-Extensibility-Samples.git

Run the sample

  1. To run the sample, hit F5 or choose the Debug > Start Debugging menu command. A new experimental instance of Visual Studio will launch.
  2. Once loaded, open any file in the Text Editor
  3. Move the text caret around the screen
  4. Compare the text size of the line that the caret is currently on to the size of surrounding lines

Project Files

  • AssemblyInfo.cs

This file contains assembly custom attributes.

  • CaretFisheyeLineTransformSource.cs

This class derives from ILineTransformSource, and implements all of the functionality of Caret Fish Eye

  • CaretFisheyeLineTransformSourceProvider.cs

This class a connector that produces the CaretFisheye LineTransformSourceProvider

Functional Tests

  • Verify the sample builds in all configurations
  • Verify that the sample was registered. The About box should list the product as installed
  • Verify that lines visually change in size as the caret is moved about the screen

Related topics