I'm working on a VSCode extension with an LSP (implemented in C#/Omnisharp). I've implemented my language hover provider in the LSP and it's working fine. However, I want to add a clickable [vscode] command link to the hover. I've done this before using markdown in extension Typescript code like [Label](command:some-command), but it's not working from the LSP C# code. From there it just displays flat text as Label, but not as a clickable URI link. If the Uri is a regular https link it works, but not if it's a vscode Uri. Anyone know the magic to enable vscode command links in markdown from LSP C# code?
LSP hover text markdown links from C# not working
596 Views Asked by Chris At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in VISUAL-STUDIO-CODE
- vscode file icons
- Building C# code in VSCode on Mac
- How do I support jasmine and es6 syntax in Visual studio Code?
- JS Code didn't work, trying do a demo in css lessons
- Debug Java in Brackets editor or Visual Studio Code
- Visual Studio Code, C# support on Windows
- What is the use of the Developer Tools in VS Code?
- Option to push disabled in Visual Studio Code
- How do I include 'System.Runtime.Serialization.Json' namespace in my VSCode project on Mac OS X?
- Using System.Web.Http on mac os x
- VSCode intelliSense autocomplete for javascript
- Set language for syntax highlighting in Visual Studio Code
- Import {} from location is not found in VS Code using TypeScript and Angular 2
- Predefined type 'System.Object' is not defined or imported [dnxcore50]
- VS code appending special characters on paste
Related Questions in VSCODE-EXTENSIONS
- Get locale in visual studio code
- Parsing support in vscode namespace
- How to add context menu with VSCode extension?
- VS Code - changing tab disables extensions. What am I doing wrong?
- How to display hover message in left bar in vscode active text editor?
- Visual Studio Code NodeJS debugger uses different version than installed
- VSCode: No extensions found. However the ~/.vscode/extensions folder has all the extensions
- vscode creates terminal popups
- How to reference a COM type library (interop) in a VS Code extension?
- Visual Code: Emmet html auto comment stopped working
- How to enable "Go to symbol" with a custom language in vscode?
- vscode new language configuration not changing syntax colors
- Different syntax highlighting between specific tags in VSCode
- How to get the lines with a cursor programatically in VS Code?
- Visual Studio Code Extension : List tasks with typescript
Related Questions in OMNISHARP
- OmniSharp ignoring #if / #endif blocks in Visual Studio Code (0.1.0 - 0.5.0)
- Intellisense no longer works
- How can I configure the omnisharp syntastic syntax checker to be more lenient?
- ECONNREFUSED 127.0.0.1:9000 on OmniSharp install in Visual Studio Code on WSL2 behind corporate cloud proxy
- How can I resolve "The type or namespace name 'System' could not be found" errors in VS Code?
- LSP hover text markdown links from C# not working
- Omnisharp update v1.23.3 breaks Unity references
- VSCode "you must add a reference to assembly 'netstandard'" but compiles fine
- VSCode .Net Core MVC reports problems but Project Builds and Runs just fine
- Debugging C# Standard Class Library from a PowerShell Script in VSCode
- The type or namespace name 'System' could not be found on Visual Studio Code for Mac
- Unable to start omnisharp-server on osx
- Autocompletion using CompletionItem.InsertText instead of CompletionItem.Label in Omnisharp VSSCode?
- Omnisharp error in C# VSCode "It was not possible to find any installed .NET Core SDKs"
- Lauching dotnet fails ("dotnet" is not a file of a symlink)
Related Questions in LANGUAGE-SERVER-PROTOCOL
- Can I test my LSP server without writing an extension?
- VS Code documentation on completion not shown
- LSP hover text markdown links from C# not working
- lsp-mode for go erring out with "no views in session"
- clangd installed via mason-lspconfig shows "Use of undeclared indentifier" for evreything
- How to convert this vscode-languageserver-node-lsp-sample to use on atom and vim?
- Why aren't my custom language server VS Code extension's completions showing?
- How do I track data flowing through a codebase? Like finding all references to an object after it has been passed through deep function calls?
- VS Code Language Server Extension Guide Lacks "Attach" Launch Configuration
- How does codingame.com's monaco c# language server implementation work
- Filtering and code completion do not work when '#' character is used
- Ways to access class structure/adding or removing highlighting via eclipse.jdt.ls Plugin API
- How I can turn off reportGeneralTypeIssues in lsp pyright?
- Why is jedi installed?
- Kotlin Language Server Does not recognize gradle dependencies
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You need to set the markdown content
isTrustedflag to get links to work. For a language extension server you need edit theLanguageClientOptionsin the client's typescript file.It's described on their GitHub in this issue