| How to use property page (4 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Hi, I am trying to create my own editor as a Visual Studio Integration Package using C#. I used the Wizard provided by VSIP SDK, replaced the text editor with my own control and all worked fine. Now depending on what my editor control shows, some properties should be shown on the properties window. How can I do this? How doe I get the properties window and how can I fill it? Any help would be appr... |
|
| Acessing Class View (3 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Hi !! I need acess the class view and i wrote the follow code: Window win DTE.Windows.Item(Constants.vsWindowKindClassView); UIHierarchy CV (UIHierarchy) win.Object; But when i try acess the UIHierarchyItem the compiler say that i did a NULL REFERENCE. What?s wrong?? How i do to acess the class view?! I need know how many class exists in my project. Regards From: Daniel Pegas Posted by a user from... |
|
| Adding Toolbox Tab and Items (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Hello, I'm trying to add a new ToolBox tab and items to VS.NET 2003 (from an external application). I use the code below. It doesn't throw any exception, but it only creates the new tab without creating the toolbox item :( Dim latestDTE As Type Type.GetTypeFromProgID("VisualStudio.DTE.7.1") Dim inst As EnvDTE.DTE Activator.CreateInstance(latestDTE) Dim win As Window inst.Windows.Item(EnvDTE.Consta... |
|
| When wil the IVsColorizer::CloseColorizer be called? (3 replies) |
| microsoft.public.vsnet.vsip |
| Hi Experts, I had implemented a [designer] view, which uses the same textbuffer with a [code] view. Furthermore, I had implemented a language service and colorizer. When I open a [designer] view or a [code] view, the IVsLanguageInfo::GetColorizer will be called by system. However, IVsColorizer::CloseColorizer method won't be called if I close the view. Could anyone tell me about the usage of IVsCo... |
|
| missing glyphs (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| I reset my exp hive and now when I run my app I am missing the glyphs in the solution explorer window what could be causing this? Ruth Struck |
|
| UICONTEXT_SolutionExists - error with VSIP Extras (2 replies) |
| microsoft.public.vsnet.vsip |
| This section from a CTC file used to work just fine on an older ATL implementation of a VSPackage: VISIBILITY SECTION // Command GUID when visible guidFooMenuGrp:IDM TLB FOO, UICONTEXT NoSolution; guidFooMenuGrp:IDM TLB FOO, UICONTEXT SolutionExists; guidFooMenuGrp:IDM TLB FOO, UICONTEXT EmptySolution; VISIBILITY END However with the VSIP extras implementation I get the following CTC compiler erro... |
|
| VSIP - Custom task list view - help needed (2 replies) |
| microsoft.public.vsnet.vsip |
| Hi. I'm writing a VSIP package that needs to display custom task list view. I put som keys to registry and implemented interfaces (described in MSDN), but I can't get it work :( Could someone please send me an example that uses custom task list view ? Thanks in advance. |
|
| Hierutil problem (4 replies) |
| microsoft.public.vsnet.vsip |
| Sorry for the simple question, but I am lost! I am trying to add custom nodes to VS projects. To do so if I understand correctly, I need to implement a VSHierarchy. Reading the docs, it seems I should use hierutil as it provides tons of functionality. So I created a new project with the VSIP wizard. Added the hierutil dependency and everything is breaking! In order to use hierutil, it seems I need... |
|
| Problems opening files with automation in the text editor (4 replies) |
| microsoft.public.vsnet.vsip |
| We are trying to open an XML file called "documentation.udcdoc" using the DTE model. In Visual Studio we have also associated the ".udcdoc" file extension to a custom tool (.exe). When we try to open the text editor using the following code, it opens our custom tools instead of the text editor. EnvDTE.Window CurrentFile DTE.OpenFile(EnvDTE.Constants.vsViewKindTextView, System.IO.Path.Combine(curre... |
|
| IVsCompletionSet Help please (3 replies) |
| microsoft.public.vsnet.vsip |
| Hi, how to set the width of the completion window. I can make it appear and it is functionnaly correct but, the completion window always has the same width, and it is way to short to display my set of displayNames. I have tried with several name length. The with is about the icon 6 characters. I have tried several flags both in the UpdateCompletionSet and GetFlags, but it doesn't change anything. ... |
|
| Designing a compiler for VSIP extensions (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| I am currently redesigning a compiler, adding object syntax and better support for different backends (including .NET CLR). While I am doing this, I'm reviewing VSIP extensibility. I have simple projects and the core language services working basically everything in the Babel language package and have a few questions: Am I correct in assuming that the error tips service is re parsing the entire so... |
|
| Problems with TextLineMarkers (Crashes VS) (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| I am using C#. I create a simple Region Expanded marker. 1) First problem, if I create it during the DocumentFrame event (SelectionChanges) phase, it doesn't get displayed. Is there a specific phase during which to create text markers? So for test purposes I create it another way 2) Second problem: when i click on the glyph, iItem is set to 0x101 (OK) but pbstrText is null, so there is no way to r... |
|
| Wizards, javascript and other programming languages (3 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Is there a way to create VS2003 wizards without using JavaScript for C projects? Right now we are developing several complex wizards and we would like to use C# or C unmanaged that allow us to get compile time errors. Is there any supported way to do that being able to use the "wizard" object available in JavaScript? Is there any documentation? Thanks for your help |
|
| Registration tricks (note) (7 replies, VIP) |
| microsoft.public.vsnet.vsip |
| When compiling a package the UI dll is compiled first and ends with setting up the devenv which in some cases loads the package ... which is not already re compiled. This way, the values used for the setup might be wrong if Registration attributes have changed in the Package. Would it be possible to have the post build "devenv /rootsuffix exp /setup" done at the end of the package compilation so t... |
|
| Where to implement ISpecifyPropertyPages (3 replies) |
| microsoft.public.vsnet.vsip |
| I'm working on a project type based on the Figures and MyC samples. I need a configuration independent property page. The help says "You display Common properties if ISpecifyPropertyPages is implemented from the item's browse object". Which object is the "item's browse object"? I tried adding ISpecifyPropertyPages to the MyProjectHierarchy, but I already have a property interface (analogous to IMy... |
|
| Pb with GetPairExtent (3 replies, VIP) |
| microsoft.public.vsnet.vsip |
| I am using C# with VSIP extra. I want to access two kinds of information: The PairExtent and the TipData of the C# editor I tried two ways: 1) use the IVsLanguageTextOps interface of the C# language service but it throws a NotImplemented exception (I don't know if it the exception comes from the VSIP extra or from the C# editor) 2) query the IVsTextViewFilter interface from the IOleCommandTarget w... |
|
| References node in a VsHierarchy (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| I'm working on a new project type, basing my code on the Figures sample. I need to have a References node in my project, very similar to the one in C# projects. I'm having trouble finding any information on how to implement this. I've found info on using IVsComponentSelectorDlg to display the Add Reference dialog, but not much else. Does anyone have or know of sample code or other example of how t... |
|
| Implementing CodeDOM and CodeModel for a language (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Can anybody point me to documentation on implementing CodeDOM or CodeModel for a specific language? What are they used for in Visual Studio? Thanks, David Barron Posted by a user from .NET 247 (http://www.dotnet247.com/) Id v7HD S9NkeXkfkv3ZOeDg /Id |
|
| Localizing ToolWindow names (2 replies) |
| microsoft.public.vsnet.vsip |
| I am using the VSIPHelper ProvideToolWindow attribute to define tool windows. I need to localize the string passed to this attribute. I cannot call my GetString utility from within the attribute. Where best can I put the Tool Window names so they can be localized? |
|
| adding resources from a class wizard (3 replies, VIP) |
| microsoft.public.vsnet.vsip |
| We want to add a resource from a class wizard. The only interface we see to manage resources is the object Wizard and the property ResourceHelper. This property returns an object with the method AddResource that can be used, but the problem we are facing is that we want to provide an ID as a string instead of the automatically assigned number. For example if you look at the resource file we want t... |
|
| Solution Explorer Toolbar (8 replies, VIP) |
| microsoft.public.vsnet.vsip |
| How to programmatically access to the Toolbar of the Solution Explorer ToolWindow? I can access the window itself I can also acces the UIHierarchy but I can't find how to access the embedded Toolbar |
|
| Unable to call override of CAtlExeModuleT::MonitorShutdown from MonitorProc() (2 replies) |
| microsoft.public.vsnet.vsip |
| I've worked through the complete VSIP Debugging SDK TestInterpreter tutorial but have run into a snag. When MonitorProc calls MonitorShutdown it is going to the funciton in atlbase.h instead of the override MonitorShutdown defined in CTextInterpreterModule. I'm new to ATL and COM, so any help and/or pointers would be appreciated. Code snippets: class CTextInterpreterModule { public: // Override CA... |
|
| .NET help gives "Action cancelled" error (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Hi, My terminal server users are getting "Action Cancelled" when they start the ..NET help. They are members of VS developers and debuggers groups but stil not avail. Only local admins can view and use the help files. Any ideas? Vlad |
|
| IVsSccProject2 - what am I doing wrong? (4 replies) |
| microsoft.public.vsnet.vsip |
| I've managed to reimplement most of the functionality provided by HierUtil7 in a C# class library (our project system is written in C# as well). I've gotten everything else working, but this is driving me crazy as I can't get any decent error information back. My hierarchy implements IVsProject3, and IVsSccProject2 (along with other interfaces). When I add the project to source control, the enviro... |
|
| How to register my own project type in managed code (2 replies) |
| microsoft.public.vsnet.vsip |
| hi evrybosy. i whant to register my own project in VS but i dno't knoq how to do that. i try to do that IVsRegisterProjectTypes p null; System.IntPtr ptr System.IntPtr.Zero; try { psp.QueryService( ref sg,ref sg, out ptr); p.ToString(); } catch(System.Exception ex) { System.Diagnostics.Debug.WriteLine(ex.Message); } in SetSite method but that method never have been called : (, anybody know how to ... |
|
| VSPackage not loading during command-line builds. (2 replies) |
| microsoft.public.vsnet.vsip |
| Hi. We have a package which performs some pre and post build steps. The package correctly loads when opening the environment (devenv) in interactive mode, but is not loaded during command line builds (devenv Solution.sln /Build ConfigName). Is there a special context GUID for command line builds? Since this particular package does not implement a project type, I assume it has to be loaded via the ... |
|
| How create item in Main menu (2 replies) |
| microsoft.public.vsnet.vsip |
| hi does anybody can explayne me (sample or link) how add my menu group in main menu of VS like that: File|View|My Menu| ..... My meny item 1 My meny item 2 thx. |
|
| Defining a submenu in .ctc file (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Hello! Can somebody please shed some light on how can I create a submenu in Tools menu? I'm using VSIP and .ctc file. I've read "How to: Create Cascading Submenus" topic, but it's written in a bit confusing way so in fact I've lost. Small .ctc pseudo code, pleeeeease? Oleg Tkachenko [XML MVP, XmlInsider] http://blog.tkachenko.com |
|
| ToolWindows - hosting as MDI children? (3 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Hi. I'm not sure if this is possible or not at this stage, but I'd like to host a tool window as an MDI child window (ie. making it look like a standard editor window). Is this possible, or am I barking up the wrong tree? Cheers, Adam. |
|
| MSSCCI new license and the old NDA? (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Given the VSIP Extras include the MSSCCI material under a new license, what does that mean to the folks (like me) who signed the old NDA? Does the NDA no longer apply? Can my sources (written to implement the SCC API) be open source? Who knows the answer to any of these questions?? :) |
|
| Can VS.NET Editors be extended? (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| A customer wants to extend the editors (text editor, resource editor, etc.) that come with VS.NET 2003. Can this be done? Thanks, Yanming |
|
| Package Debugging - How? (2 replies) |
| microsoft.public.vsnet.vsip |
| Hi All, I'm just getting to grips with VSIP....... I'm looking at the bscedt sample, and wondering 'how do I set up the debugger to debug the package? I'm also wondering why I'm not getting the ATLTRACEs. Can anyone provide any pointers? Thanks Col |
|
| Why no wizard after installed VSIP? (4 replies, VIP) |
| microsoft.public.vsnet.vsip |
| I have tried some times. The same result. |
|
| Registration Error (5 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Whenever I try to register on the www.vsipdev.com site, it says "An Error has occurred"... |
|
| Custom item with codebehind? (2 replies) |
| microsoft.public.vsnet.vsip |
| I am trying to create a new project item type that will have a file plus a "codebehind" class (similar to ASPX items), but I am unable to find anything on this in the VSIP SDK. Is it possible to do this, or is this capability reserved for native items only? Andy Hopper |
|
| How to link tool windows? (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Hi, I'm a beta tester for VSIP Extras the managed addition to VSIP. I was wondering how to link two or more tool windows together (i.e. one tool window with two tabs, such as the Server Explorer and Toolbox are linked). I can't find any code to do this in any of the samples. A C# code example would be ideal, but I'll take what I can get (VB, C , COM). Thanks! Will |
|
| Debugger sample? (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| What is the state of the debugger sample? My client is starting to get antsy about things. |
|
| Adding a new method from an Addin. (2 replies) |
| microsoft.public.vsnet.vsip |
| Hi Does anyone know of a way to add a new C# method to the end of an open file in VS? This sort of works, except if there are blank lines after the closing brace, or both end braces are on the last line etc. TextDocument doc (TextDocument)applicationObject.ActiveDocument.Object("TextDocument"); EditPoint ep doc.EndPoint.CreateEditPoint(); ep.LineUp(2); ep.Insert("Method Text"); What I want is a wa... |
|
| Use of VISP in a local team (3 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Hi My company is trying to develop Add in that uses multiple threads to build our projects. The VS automation doesn't provide threadsafe way of writing to OutputWindow so I am looking at using VSIP. Can i load my VSIP package without valid PLK to machines which have VSIP SDK installed but without use of "/RootSuffix Exp" command parameter? If so is that legal? I am not trying to develop and distri... |
|
| C# Addin for VS.Net IDE (2 replies, VIP) |
| microsoft.public.vsnet.vsip |
| I would like to write a Addin in c#. I want to bring a new dockable window(Rightside) in VS.net IDE is there any tutorial site or any suggestions please !!!!!. Regards, |
|
| VERY URGENT...... (2 replies) |
| microsoft.public.vsnet.vsip |
| I would like to integrate my Plugin in VS.net and when i click my solution explorer i want my bring my EXE there. Is there any referance sites for this. How to add the EXE thru ApplicationObject or is there any other way to add my EXE in the VS.Net solution explorer. |
|
| Persisting toolwindows position & dock state (3 replies) |
| microsoft.public.vsnet.vsip |
| I have a toolwindow that I create with the shim. I'm saving its position and dockstate in a string in DTE.Globals, and can restore position (so long as I first make sure it's not docked) but I can't restore the dock state. That is, DTE.MainWindow.LinkedWindows.Add(myToolWindow) always docks to the bottom, even if the toolwindow is over on the left or the right, where it was last docked. Google sea... |
|
| VSA IDE? (2 replies) |
| microsoft.public.vsnet.vsip |
| Where can I buy a license for the VSA IDE for distribution to end users? I believe that it is in the VSIP program but I can't find any mention of the VSA IDE in http://www.vsipdev.com/ Thanks, Michael |
|
| AddNamedCommand error in IDTExtensibility2.OnConnection (5 replies) |
| microsoft.public.vsnet.vsip |
| I'm writing a small add in, using the add in extensibility project wizard and am getting erratic results when trying to add a comand to the tools menu. I keep getting the error "A Command with that name already exists." when I make a call to DTE.Commands.AddNamedCommand, using a command name of "MethodList", from within the OnConnect method. This error didn't happend the first time I run and teste... |
|
| Is it possible to add nested menu items? (3 replies) |
| microsoft.public.vsnet.vsip |
| Can anyone verify whether it is possible to add nested menu items to the Tools menu using an IDTExtensibility2 based add in. Eg. I would like to add the following menu structure to the IDE: Tools MenuLevel1 MenuLevel2a MenuLevel2b I'm using C# if any sample are available. Thanks, Ben |
|
| Adding Menu Item to IDE Code Editor Context Menu (4 replies) |
| microsoft.public.vsnet.vsip |
| Does anyone know how to programmatically add a custom menu item to the context menu that appears when right clicking in an IDE code editor winbow? I'd like to add my own menu, as described above, using a standard C# VS Add In without using VSIP. Thanks Ben |
|
| Custom Tool Windows (2 replies) |
| microsoft.public.vsnet.vsip |
| Is it possible to create custom tool windows using out of the box VS.Net add ins? I have code that uses Windows.CreateToolWindow to display ActiveX controls inside a tool window. However, I'm looking to put my own Windows Form(s) inside VS.Net Tool Windows from inside my own add ins. Do I need to register my Windows Form as an ActiveX control? If so, how do I do this? |
|
| Is there an IVsMultiFileGenerator interface or similar functionality? (4 replies) |
| microsoft.public.vsnet.vsip |
| Hi All, Does VS.NET support the concept of a CustomTool or CodeGenerator that generates multiple *.cs files (and possibly other files too) from a single input file? If not, what feature of VS.NET can I use to allow me to: 1) execute a commandline app (or some other code) to create multiple files when a Build Project or Run Project is requested 2) add the generated source files to the project if th... |
|
| globals object to persist properties to project file (2 replies) |
| microsoft.public.vsnet.vsip |
| Has anyone successfully used the Globals object in C# code to persist text strings containing property data into a .vbproj or .csproj file? If so can you post some sample code to do this along with the References needed? Thanks Robert Kozlowski |
|
| Property Browser extension (4 replies) |
| microsoft.public.vsnet.vsip |
| I would like to be able to add a PropertyTab to the property browser. I want the tab to be available any time a MarshalByRefObject derived object is selected in a designer. Basically, I want it to behave very much like the Events tab. I know I can make my tab available to specific components by utilizing the PropertyTab attribute, but how can I make the tab available to components where I don't ha... |
|