Blitz.Goto
1.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Blitz.Goto --version 1.0.1
NuGet\Install-Package Blitz.Goto -Version 1.0.1
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.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Blitz.Goto --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Blitz.Goto, 1.0.1"
#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.1 // Install Blitz.Goto as a Cake Tool #tool nuget:?package=Blitz.Goto&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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:
Create an empty console Appliction.
Add a the nuget reference to the latest version:
<PackageReference Include="Blitz.GotoEditor" Version="x.y.z.t" />
List Built in Editors
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 | Versions 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.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Blitz Goto handles wrangling command lines, to open any Text Editor to a Filename, Line, and Column.