305 questions with Developer technologies | Visual Studio | Extensions tags

Sort by: Updated
0 answers

How to load Langauge Server (LSP) when loading the extension package

I have a requirement of loading the Language Server (LSP) explcitly without opening any file (of the Language Server's content type). But currently the Langauge Server gets loaded only when a file of this content type is opened. Is there a way to load…

Developer technologies | Visual Studio | Extensions
asked 2025-07-14T14:45:30.3366667+00:00
Sajith 11 Reputation points
commented 2025-07-14T15:09:45.8+00:00
Abdur Rahim 0 Reputation points
0 answers

VS sends 'textDocument/didClose' to LSP server when file is not closed

I have a Language Server (LSP) implemented. For the first file opened (of the specified content type, which causes the Language Server to be loaded) I am getting textDocuement/didOpen message followed by textDocument/didClose message. But the file is…

Developer technologies | Visual Studio | Extensions
asked 2025-07-14T14:56:50.57+00:00
Sajith 11 Reputation points
1 answer

How to open a new file in memory in visual studio using my editory factory

I want to open a new .sql file in memory not in the disc and also when the file is open i want to use my editory factory to it I tried this method to create a new .sql in memory file but using this way I am not able to use my editory factory to it. var…

Developer technologies | Visual Studio | Extensions
asked 2025-07-11T06:50:32.34+00:00
Vasu Bansal 20 Reputation points
edited an answer 2025-07-14T11:29:51.1133333+00:00
Varsha Dundigalla(INFOSYS LIMITED) 235 Reputation points Microsoft External Staff
3 answers

Attaching to WSL process from a visual studio extension.

I can attach to a WSL process in visual studio by going Debug -> 'Attach To Process' in the menu, then setting the 'Connection type' to 'Windows subsystem for Linux', selecting the process from the list, and clicking the 'attach' button. How can I do…

Developer technologies | Visual Studio | Extensions
asked 2025-06-02T10:10:24.7433333+00:00
Kev Martin 0 Reputation points
commented 2025-07-14T08:44:22.0666667+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 5 Reputation points Microsoft External Staff
1 answer

Can I use my MSDN Visual Studio Enterprise subscription to create Azure connectors for my development boxes?

We are having issues with our new development boxes get created, spun up and then after getting upgraded to 10.0.43, the environments come up as incomplete. We are being told that is has to do with the Azure Connectors not being current and expired. …

Developer technologies | Visual Studio | Extensions
asked 2025-06-11T19:36:08.05+00:00
Reg Cracknell 0 Reputation points
answered 2025-07-14T06:07:41.04+00:00
Omkara Varshitha Kunapalli (INFOSYS LIMITED) 80 Reputation points Microsoft External Staff
0 answers

SSDT 2017 - TargetServerVersion issue with SQL Server 2019

Hi All, I have a computer on which I installed SSDT 2017 (standalone installer) 2-3 years ago. Offical MS site claims that Supported SQL Versions for SSDT 2017 are "SQL Server 2012 - SQL Server 2019". I can develop, deploy and run SSIS…

Developer technologies | Visual Studio | Extensions
asked 2025-07-11T10:08:21.93+00:00
Joerce30 0 Reputation points
1 answer

How to duplicate a document on Visual Studio 2022?

I'm working on a Visual Studio 2022 C# extension, and I'm trying to "programmatically" duplicate an open document and move it into a different group. By "duplicate" I mean like when you click on the option "Window > New…

Developer technologies | Visual Studio | Extensions
asked 2025-07-10T06:53:23.4333333+00:00
Lilo 20 Reputation points
answered 2025-07-10T15:40:36.7066667+00:00
Mammon Z Baloch 0 Reputation points
0 answers

LSP message for Word Completion from Visual Studio

I have a Langauge Server (LSP) implemented in C#. Have implemented textDocument/Hover and textDocument/Completion. This works fine on hover and typing in the editor. But Word Completion does not work. Which LSP message is sent from Visual Studio for Word…

Developer technologies | Visual Studio | Extensions
asked 2025-07-10T15:11:17.22+00:00
Sajith 11 Reputation points
0 answers

Visual studio extension in code editor to have menu and submenu.

I want to develop an extension for VS. When I select some code in the cs file or any file there should be some option in code editor like Mymenu and submenu Please guide. how to achieve it. I have one comand class which actually shows Mymenu when I…

Developer technologies | Visual Studio | Extensions
asked 2025-07-09T09:42:04.36+00:00
Vishal Suravase 21 Reputation points
edited the question 2025-07-09T23:27:46.3166667+00:00
Rob Caplan - MSFT 6,037 Reputation points Microsoft Employee Moderator
1 answer

Microsoft Visual Studio Installer Projects 2022 - The location where the file is opened is invalid

hello, ,Visual Studio 2022 : 17.14.7, I created a shortcut in the User's Desktop node, question : “Right click mouse” -> "attribute" -> "The button to open the location of the file is invalid" "Right click mouse"…

Developer technologies | Visual Studio | Extensions
asked 2025-06-29T13:41:37.0166667+00:00
929Free 641 Reputation points
answered 2025-07-08T11:38:41.7266667+00:00
Adiba Khan 5 Reputation points Microsoft External Staff
0 answers

How to show connection information of the file in the properties window in Visual Studio

I am opening a new/existing file using this way Guid editorFactory = new…

Developer technologies | Visual Studio | Extensions
asked 2025-07-08T09:47:46.68+00:00
Vasu Bansal 20 Reputation points
edited the question 2025-07-08T09:52:10.0366667+00:00
Vasu Bansal 20 Reputation points
0 answers

can VS Code highlight TIE syntax?

Can VS Code recognize and highlight TIE syntax? Is it and extension? Where do I get it, how do I install it? If not yet available, how do I create one?

Developer technologies | Visual Studio | Extensions
asked 2025-06-24T00:45:51.0966667+00:00
Laszlo Borbely-Bartis 0 Reputation points
1 answer One of the answers was accepted by the question author.

Can't find 'adapter_config.json' for console_chat.py for Windows AI Toolkit

Hello, I cannot run console_chat.py using Windows AI Toolkit. Here is the error: "An error occurred: Can't find 'adapter_config.json' at ..." Is there updated code for the microsoft/Phi-3-mini-4k-instruct project? williamj

Developer technologies | Visual Studio | Extensions
asked 2025-06-20T16:40:02.71+00:00
William Johnston 106 Reputation points
commented 2025-06-21T14:44:11.38+00:00
William Johnston 106 Reputation points
0 answers

Publishing MSIX packages to the store on VS2022 for AR

I have an app which I package and publish for several years via VS2019 using the Windows Application Packaging Project. This deploys direct to the Microsoft Marketplace where I can publish it. I have recently upgraded to VS 2022 for ARM and can no longer…

Developer technologies | Visual Studio | Extensions
asked 2025-06-19T14:47:30.7266667+00:00
Neil Elroy 0 Reputation points
0 answers

How to open a untitled file

I want to open a Untitled file in visual studio, when i open the file it is supposed to save in the disk until user explicitly saves it and also I want to attach my Editor factory or language service to that untitled file I am using this code but it is…

Developer technologies | Visual Studio | Extensions
asked 2025-06-19T09:52:38.9633333+00:00
Vasu Bansal 20 Reputation points
2 answers

How to remove the toolbar menu for .sql files

I’m trying to remove the toolbar menu that appears specifically when .sql files are opened in Visual Studio. Do we need to implement a custom editor factory to achieve this? If yes, could you please explain how that can be done? If not, is there a…

Developer technologies | Visual Studio | Extensions
asked 2025-06-11T10:07:49.8333333+00:00
Vasu Bansal 20 Reputation points
commented 2025-06-18T07:17:14.3133333+00:00
Vasu Bansal 20 Reputation points
0 answers

After Deployment in Azure function - Internal server error 500 (exception caught attempting to connect to SQL DB)

Create Azure Resources: Azure Function App: Create an Azure Function App in the Azure portal. Key Vault: Set up an Azure Key Vault to store your sensitive information like passwords securely. Azure SQL Database: Create an Azure SQL Database in the…

Developer technologies | Visual Studio | Extensions
asked 2025-06-17T12:39:07.56+00:00
Reshma 0 Reputation points
4 answers One of the answers was accepted by the question author.

PORTABLE NUGET PACKAGE

I download a Nuget package for a .NET Core project in Visual Studio, then the same package is needed by another project, so the same process is repeated. I do not want to connect remote computer every time. I want to download the package one time and…

Developer technologies | Visual Studio | Extensions
asked 2025-06-08T09:13:28.3633333+00:00
MOON 40 Reputation points
accepted 2025-06-16T07:46:31.6+00:00
MOON 40 Reputation points
0 answers

How to bypass the default language service when opening the .sql file

I am trying to associate my language service when opening .sql file but it is connecting the default lang service also showing these tool menu and I don't want to show these tool menu i have my custom tool menu for that but with .pls etc i am able to…

Developer technologies | Visual Studio | Extensions
asked 2025-06-09T13:54:52.19+00:00
Vasu Bansal 20 Reputation points
edited the question 2025-06-10T05:42:38.05+00:00
Vasu Bansal 20 Reputation points
0 answers

Extension could not be found during debugging

I am writing a Visual Studio extension, and when I build it is telling me that the extension is not installed, so I cant build why? This extension works fine on another PC and I can debug it, but not on the PC I am trying to work with. Extension…

Developer technologies | Visual Studio | Extensions
asked 2025-05-20T12:08:42.3+00:00
JeffLund 5 Reputation points
commented 2025-06-09T06:15:54.44+00:00
Einstein Ning 0 Reputation points