1,790 questions
-2 votes
0 answers
24 views
Whitesmith autoindentation of C/C++ code in VSCode
How can I get autoindentation to use Whitesmith style for C/C++ files in VSCode? I use Microsoft C/C++ Extension pack and clang-format. "Format Document" works ok with C/C++ files.
0 votes
0 answers
27 views
Why isn't my VSIX extension for VS 2022 enabling?
I have written a VSIX extension to bring my "version" of ChatGPT into Visual Studio 2022. I haven't even gotten to the wireup with Chat GPT phase yet. All I've done thus far is write it to ...
0 votes
0 answers
32 views
Is there a way to get a list of symbols defined in a JavaScript or TypeScript file in Visual Studio?
I'm developing an extension for VS 2022 (https://github.com/dubeg/VsQuickJump2022) and I can easily find symbols for C# files using Microsoft.CodeAnalysis.Document, but for JS/TypeScripts files (ie. ...
0 votes
0 answers
33 views
Creating Visual Studio Extension Property Page
I have been following a tutorial on creating a Visual Studio extension. How do you create a property page with text boxes?
0 votes
0 answers
129 views
How to inject "system prompt" in Cursor IDE window by own extension?
I'm trying to write extension to Cursor IDE which can be also used with other VS like editors. It gives more power to Agent help and it's coding. I'm searching for a couple of last weeks or even ...
0 votes
0 answers
18 views
How can I get a list of the servers and databases in SSOX (SQL Server Object Explorer)?
I am writing a VS extension for VS 2022 and want to retrieve a list of servers/databases in SQL Server Object Explorer. This window is provided by (I believe) SQL Server Data Tools. It is not the same ...
0 votes
0 answers
61 views
How to populate the 'Code' field of the VS 2022 Error List using ITableEntry for a VS Extension?
So I've been mostly going off of this post How to populate the 'Code' field of the VS 2022 Error List when writing a VS Extension? to figure out how to populate the code field for error list ...
0 votes
0 answers
45 views
VSIX extension works in Community edition but not in Pro/Enterprise (even though manifest includes them)
I'm working on my first Visual Studio extension (VSIX). I have the first version published. It is working as expected in local debug (Visual Studio Pro) and deployed for Visual Studio community. For ...
2 votes
0 answers
71 views
How to style the text of a collapsed outline region?
I'm working on a Visual Studio 2022 C# extension to customize the text of C++ #pragma region #pragma endregion 1: default, 2: modified using the code below, 3: collapsed I would like to ask how i ...
0 votes
1 answer
56 views
How to set the text insertion point in a Visual Studio 2022 menu command extension?
I'm writing a Visual Studio 2022 extension to aid developers in adding a history line to the top of their source file. The extension fills in the current date, the developer's name, the problem report ...
0 votes
1 answer
60 views
How to customize the line height of text sent on the Output window?
I’m trying to use ILineTransformSourceProvider to customize the height of the lines sent on the “Output” window: internal class LineTransformSource : ILineTransformSource { public ...
0 votes
0 answers
22 views
Adding a command to the Output Window's context menu
I've been trying for several hours to extend the context menu of the Output window in Visual Studio, so that clicking on it with the left mouse button would display an item linked to my custom command....
1 vote
0 answers
307 views
Problems with seeing R plots and view() in Visual Studio Code
My problem here is that I can't see the results or any change in my VS Code for view(), plot(), and ggplot() functions. What I suspect is that the functions that require extra panel to show the ...
0 votes
1 answer
92 views
Was wondering how I can execute some logic when Visual Studio loads up for my extension command I'm creating in C#
I'm working on a Visual Studio extension command in C# that should execute every time "Build" is executed. I made it a command so that it can manually be triggered, but I also want it too ...
0 votes
1 answer
83 views
Switch Toolbar button icon in Visual Studio extension
I've created a toolbar button in a Visual Studio extension. This toolbar contains a button with text and icon. The button has two states. When first clicked, the button displays icon1. After a second ...