Blitz.Goto 1.0.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package Blitz.Goto --version 1.0.7                
NuGet\Install-Package Blitz.Goto -Version 1.0.7                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Blitz.Goto" Version="1.0.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Blitz.Goto --version 1.0.7                
#r "nuget: Blitz.Goto, 1.0.7"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Blitz.Goto as a Cake Addin
#addin nuget:?package=Blitz.Goto&version=1.0.7

// Install Blitz.Goto as a Cake Tool
#tool nuget:?package=Blitz.Goto&version=1.0.7                

Blitz.GotoEditor

This project is a helper for Openning Any text Editor to a File/Line/Column.

Blitz.GotoEditor features:

  • Listing builtin editors
  • Expands Environment variables
  • Built in Aliases that you can list in your UI

Getting started

  • todo:

How to set up a new project that utilizes Blitz.Goto:

var definitions = new GotoDefinitions();
foreach (var gotoEditor in  new GotoDefinitions().GetBuiltInEditors())
{
    Console.WriteLine(
        $"Title: {gotoEditor.Title} -> {Path.Combine(gotoEditor.ExecutableWorkingDirectory, gotoEditor.Executable)} {gotoEditor.Arguments}");
}
  • Select Notepad++ from the list
var firstEditor = definitions.GetBuiltInEditors().FirstOrDefault(def => def.Title == "Notepad++")!;
  • Create a Goto Action from the Editor. Goto Action takes care of translating the tags and environment variables.
var gotoAction = new GotoAction(firstEditor);
  • Define what you want to go to. CreateAndTestFile will create a temp file path that you can test Goto Functionality with.
new GotoTestFile().CreateAndTestFile(out var myFileName,out var lineNumber, out var columnNumber );
  • Create a directive for the goto action.
var directive = new GotoDirective(myFileName, lineNumber, columnNumber);
  • Execute goto
gotoAction.ExecuteGoto(directive);
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.8 93 10/24/2024
1.0.7 85 10/23/2024
1.0.6 71 10/17/2024
1.0.5 102 9/3/2024
1.0.1 127 4/12/2024
1.0.0 116 4/7/2024

Adding Preview Support for VS Code.