dxcore

Get a list of files in a Solution/Project using DXCore console application

不羁的心 提交于 2019-12-05 01:51:18
问题 I understand that the following snippets can be used to extract a VS solution info when used in a plug-in. EnvDTE.Solution solution = CodeRush.ApplicationObject.Solution; EnvDTE.Projects projects = solution.Projects; Q: I would like to build a console application and access these file details. My aim is to create a console application (that can be run without VS) to generate a report based on the design issues I find in the input .sln file. What functions do I use for this? 回答1: The original

Get a list of files in a Solution/Project using DXCore console application

杀马特。学长 韩版系。学妹 提交于 2019-12-03 16:13:53
I understand that the following snippets can be used to extract a VS solution info when used in a plug-in. EnvDTE.Solution solution = CodeRush.ApplicationObject.Solution; EnvDTE.Projects projects = solution.Projects; Q: I would like to build a console application and access these file details. My aim is to create a console application (that can be run without VS) to generate a report based on the design issues I find in the input .sln file. What functions do I use for this? The original (and updated) post is located here . Actually, DXCore is not designed to be used outside of Visual Studio,

Get a list of Solution/Project Files for VS Add-in or DXCore Plugin

*爱你&永不变心* 提交于 2019-11-28 06:32:48
I am trying to write a add-in for Visual Studio that, among other things, needs to keep track of every file in a Visual Studio solution. I know what events I need to subscribe to (when a Solution is opened, when a file is added/removed/edited in it, the same for projects, etc), but I don't understand how to actually get a list of files from any of it. I recently installed CodeRush and have been playing with the DXCore framework. I'm very happy with it's approach at plugins, but I still don't see an obvious way to get a list of files in the solution. So to sum it up: How, via the Visual Studio

How to extend IntelliSense items?

假装没事ソ 提交于 2019-11-27 14:40:58
I would like to manually extend the IntelliSense list by various items. I want to be responsible for the action triggered by the item (i.e. code completion and tooltip info). It doesn't matter what items. Is this possible with an VisualStudio add-in, ReSharper / DXCore or any otherg plugin? Background: Some of you may know FOP (feature-oriented programming). FOP would require various changes to intellisense and editor behavior. Edit: Another interesting post . This is definitely doable very easily by writing a ReSharper plugin . Start by implementing ICodeCompletionItemsProvider which will

Get a list of Solution/Project Files for VS Add-in or DXCore Plugin

混江龙づ霸主 提交于 2019-11-26 20:06:09
问题 I am trying to write a add-in for Visual Studio that, among other things, needs to keep track of every file in a Visual Studio solution. I know what events I need to subscribe to (when a Solution is opened, when a file is added/removed/edited in it, the same for projects, etc), but I don't understand how to actually get a list of files from any of it. I recently installed CodeRush and have been playing with the DXCore framework. I'm very happy with it's approach at plugins, but I still don't

How to extend IntelliSense items?

旧巷老猫 提交于 2019-11-26 16:54:15
问题 I would like to manually extend the IntelliSense list by various items. I want to be responsible for the action triggered by the item (i.e. code completion and tooltip info). It doesn't matter what items. Is this possible with an VisualStudio add-in, ReSharper / DXCore or any otherg plugin? Background: Some of you may know FOP (feature-oriented programming). FOP would require various changes to intellisense and editor behavior. Edit: Another interesting post. 回答1: This is definitely doable