I have a visual studio integration package that tracks output from the debug window. I can get the IVsTextView of the output window, like so:
IVsTextView view = GetService(typeof(SVsOutputWindow)) as IVsTextView;
// grab text from the view and process it
However, if a different panel other than the "Debug" panel is currently active, t...
I'm starting research on what I'd need in order to build a user-level plugin system (like Wordpress plugins) for a Rails app, so I'd appreciate some general pointers/advice. By user-level plugin I mean a package a user can extract into a folder and have it show up on an admin interface, allowing them to add some extra configuration and t...
Hello, I am creating a Ruby On Rails website, and for one part it needs to be dynamic so that (sorta) trusted users can make parts of the website work differently. For this, I need a scripting language. In a sort of similar project in ASP.Net, I wrote my own scripting language/DSL. I can not use that source code(written at work) though, ...
I have a .dbml file which of course contains the auto-generated classes based on my tables.
I would however, like to extend them to my own classes. Typically I design such that each of my tables get their own namespace in their own folder containing all of their associated dao and service classes. So if I am dealing with a page that onl...
I have made a Visual Studio Add-in as part of a project I'm working on using web services.
When I created the new Add-in project in visual studio it generated all the code required and installed the blank add-in on my pc (I assume).
Since this is a large project we are using svn to manage the code base and once I had done some of the w...
I have a add-in that requires a login and I want the add-in to exit if the user closes the login dialog without logging in first.
The problem is that I cant find any documentation on how to programmatically close the add-in.
Any ideas?
...
im developing a game in android, and i've been thinking about subdividing many of the elements of the game (e.g. game objects) into separate classes and sub-classes. but i know that method calls to these objects will cause some overhead. would it be better to improve performance or to improve extensibility?
...
VS2010 has made it easy to write extensions via MEF exports and imports. However, if you want to do anything useful you have to know what service provider(s) you need to implement your super awesoem extension.
Unfortunately, this information is often spread out all over the place, not well documented or both.
What I'd really love to s...
Hiya,
I have a Visual Studio (2010) package that combines multiple text operations, e.g. it inserts custom properties into my csharp files.
These inserts can become quite numerous and I would like to be able to reverse the effect of the Command with a single click of the undo button. Is there a way of doing this?
Steve
...
I'm trying to implement a plug-in like application. I know there are already several solution out there but this is just going to be proof of the concept, nothing more. The idea would be to make the application main application almost featureless by default and then let the plugins know about each other, having them have implement all th...
I've a project where some business logic is separated to an DLL project, this DLL contains the business logic for this software for a specific customer.
Now I've a problem after another client with different rules want to implement the software, I need someway that the application load the appropriate dll according to the client using...
PowerShell's type extension facility is neat, but I haven't yet figured out the way -- if one exists -- to extend an indexer. I've tried to add a ScriptProperty for the indexer property (Chars in the case of System.String) and a ScriptMethod for the getter (get_Chars), but neither approach seems fruitful. Is it at all possible, or am I w...
I've just started a new job and one of the things my new boss talked to me about was code longevity.
I've always coded to make my code infinently extensible and adaptable. I figured that if someone was going to change my code in the future then it should be easy to do.
But I never really had a clear idea on how far into the future tha...
I have a situation where I have a Common.Domain.Person and Specific.Domain.Person.
First one should be provided as a part of a common package.
Second one appears when common package has to be customized to fit the needs of specific project.
In the object model, it can be easily implemented with inheritance.
In the NH mapping, however...
I'm obviously brand new to these concepts. I just don't understand why you would limit access to properties or methods. It seems that you would just write the code according to intended results. Why would you create a private method instead of simply not calling that method? Is it for iterative object creation (if I'm stating that correc...
Hello:
I've been looking around for different methods of providing plug-in support for my application. Ideally, I will be creating a core functionality and based on different customers developing different plug-ins/addons such as importing, exporting data etc... What are the some methods available for making a C# application extensible ...
There are a few buttons associated with the Output window in Visual Studio (VS2005/2008/2010). One of them is "Clear All Panes".
How can I install an event handler that's called when that button is clicked?
I'm building a Visual Studio extensibility package, working in C#.
...
I have developed an addin for Visual Studio 2008, which extends the main menu with custom menu items.
These menu items have custom images and I finally managed to have them displayed correctly using transparency masks.
The only problem that still persists is, that the icons look really ugly and unprofessional, when the menu items are dis...
After installing a bunch of extensions to try out I restarted VS 2010 and it started crashing. Unfortunately, it consistently crashes when opening Tools | Extension Manager. Any ideas how to fix and avoid a complete uninstall/reinstall?
Event log has this: Application: devenv.exe Framework Version: v4.0.30319 Description: The process w...
I have an app written in python. I want to give my users the ability to manipulate the apps objects by allowing them to run their own scripts. They are likely to make errors in their scripts. If there is an error I want to ensure that the app doesn't stop running. I'd like to embed a debugger in my app to help them debug their scripts.
...