odotocodot / visualstudio4flow Goto Github PK
View Code? Open in Web Editor NEWA Visual Studio plugin for Flow Launcher
License: MIT License
A Visual Studio plugin for Flow Launcher
License: MIT License
I'm using Preview version of VS. vswhere.exe does not show this without "-prerelease" flag.
Here info from log
18:20:40.3985+03:00 - ERROR - PluginManager.InitializePluginsAsync - Fail to Init plugin: Visual Studio Launcher
EXCEPTION OCCURS: System.InvalidOperationException: Cannot transcode invalid UTF-8 JSON text to UTF-16 string.
---> System.Text.DecoderFallbackException: Unable to translate bytes [FF] at index 23 from specified code page to Unicode.
at void System.Text.DecoderExceptionFallbackBuffer.Throw(byte[] bytesUnknown, int index)
at bool System.Text.DecoderExceptionFallbackBuffer.Fallback(byte[] bytesUnknown, int index)
at int System.Text.Encoding.GetCharCountWithFallback(ReadOnlySpan bytes, int originalBytesLength, DecoderNLS decoder) x 2
at int System.Text.UTF8Encoding.GetCharCount(Byte* bytes, int count)
at string string.CreateStringFromEncoding(Byte* bytes, int byteLength, Encoding encoding)
at string System.Text.Encoding.GetString(ReadOnlySpan bytes)
at string System.Text.Json.JsonReaderHelper.TranscodeHelper(ReadOnlySpan utf8Unescaped)
--- End of inner exception stack trace ---
at string System.Text.Json.JsonReaderHelper.TranscodeHelper(ReadOnlySpan utf8Unescaped)
at string System.Text.Json.JsonDocument.GetString(int index, JsonTokenType expectedType)
at new Flow.Launcher.Plugin.VisualStudio.VisualStudioInstance(JsonElement element)
at Task Flow.Launcher.Plugin.VisualStudio.VisualStudioPlugin.GetVisualStudioInstances()+(int index) => { }
at ParallelLoopResult System.Threading.Tasks.Parallel.ForWorker(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action body, Action<int, ParallelLoopState> bodyWithState, Func<int, ParallelLoopState, TLocal, TLocal> bodyWithLocal, Func localInit, Action localFinally)+(ref RangeWorker currentWorker, int timeout, out bool replicationDelegateYieldedBeforeCompletion) => { } x 2
at void System.Threading.Tasks.TaskReplicator+Replica.Execute()
I have MS Visual Studio Insiders installed, not the stable version. Version I have is installed through Choco package manager. I am not sure if this plugin can be adjusted to secondarily look for the Insiders (or any one of the other forks or versions) but her is what I am seeing:
Flow Launcher version: 1.17.2
OS Version: 22621.3296
IntPtr Length: 8
x64: True
Python Path: C:\Users\Administrator\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe
Node Path:
Date: 03/26/2024 15:37:48
Exception:
Visual Studio Launcher Exception:
Websites: https://github.com/Odotocodot/VisualStudio4Flow
Author: Odotocodot
Version: 1.0.2
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Object reference not set to an instance of an object.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Flow.Launcher.Plugin.VisualStudio.Main.QueryAsync(Query query, CancellationToken token)
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass23_0.<<QueryForPluginAsync>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 196
--- End of stack trace from previous location ---
at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 34
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 195
--- End of inner exception stack trace ---
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass23_1.<QueryForPluginAsync>b__1(ActionContext _) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 224
at Flow.Launcher.Plugin.Result.ExecuteAsync(ActionContext context) in /_/Flow.Launcher.Plugin/Result.cs:line 221
at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 294
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.