Questions tagged [extensibility]
Extensibility is a system design principle where the implementation takes future growth into consideration. For iOS app extensions, use [ios-app-extension].
291
questions
0
votes
1
answer
93
views
How to support UI extensions in the form of plugins
My project consists of two main components - ASP.NET Core Web API and React SPA.
I want to allow users to extend their UI experience by developing their own plugins. Plugins should be stored somehow ...
3
votes
5
answers
183
views
Extending SCSS Styles in an Angular Dashboard with Plugin Architecture
I am developing a Dashboard in Angular with a Plugin Architecture to keep it easily extensible. The dashboard consists of pre-defined visualizations like scatter plots. I also want to allow adding ...
0
votes
0
answers
122
views
PWA studio extend paymentmethods option from my own package without changing the Venia-ui source code
I would like to extend the CheckoutPage/PaymentInformation/paymentMethods.js component from my own package so that it can be used without having to manually change the source code from venia-ui.
I can ...
0
votes
0
answers
139
views
"Comment Selection" command is not currently available in Visual Studio C++ editor MEF extension
We want to extend the Visual Studio C++ editor using an MEF component to add some features to it. To do so, We used the C/C++ BaseDefinition:
[Export]
[Name("mycpp")]
[BaseDefinition("C/...
1
vote
1
answer
302
views
How to make BASH Script accept plugins
I have a BASH script that's finished, but now I need to add the capability for it to accept plugins.
As an example, the script can move files from one filesystem location to another. It's currently ...
0
votes
0
answers
82
views
How to call a JavaScript user extension function from Saxon-JS?
In Java based Saxon (like 8.1.1 that I am still running after more than a decade) it was super easy to call on your own Java extension functions from within XPath, and moderately easy to build your ...
0
votes
1
answer
104
views
Hyperledger Fabric Network Expand with External Organization
Lets say we have a network with 3 organizations that are already joined and make transactions within a channel. All 3 are under the same server.
A new organization needs to join the channel and the ...
0
votes
1
answer
157
views
Looking for a better way to extend methods
I'm working on a hobby project in Unity. I have MonoBehaviour scripts for my characters that use component objects for each behavior the character has. When I create new characters, I inherit a new ...
6
votes
1
answer
331
views
How to avoid changing many parts of code when adding new enum value, thus providing easier extensibility?
I am trying to make my code easier to extend in terms that a little change will not affect much other code.
I have an enum MyEnum, which values might increase in future.
Then, there are classes that ...
3
votes
1
answer
1k
views
How to add extra info to BenchmarkDotNet summary?
How can I add extra informationto extend the summary information produced by BenchmarkDotNet?
Like:
current host name or
current (Git) branch name
I would like to achieve something similar to this ...
3
votes
1
answer
789
views
How to implement Exp in Bool or Iff from the paper Extensibility for the Masses
I'm currently going through the paper Extensibility for the Masses. Practical Extensibility with Object Algebras by Bruno C. d. S. Oliveira and William R. Cook (available many places on the internet - ...
1
vote
1
answer
40
views
Register Visual Studio property extender for C# project references
Using the following answer I was able to add custom properties to C# files in a project: https://stackoverflow.com/a/32700681/638244.
Now I would like to do the same for references that are added to ...
0
votes
1
answer
64
views
Is this a good solution for handling unique customer behavior in frontend?
Background:
We have a CMS frontend (Angular2+) that serves all clients with the same build (each tenant has their own unique URL to access their pages, mapped with URL-slugs stored in DB). Handling UI ...
1
vote
1
answer
4k
views
How could you recreate UE4 serialization of user-defined types?
The problem
The Unreal Engine 4 Editor allows you to add objects of your own types to the scene.
Doing so requires minimal work from the user - to make a class visible in the editor you only need to ...
0
votes
0
answers
73
views
VBE - New Code Not Attaching to Target Workbook
I am writing a macro that merges multiple forms into one and then adds a 'BeforeRightClick' method programmatically to the new combined file.
The code mostly works except instead of adding the code to ...
1
vote
0
answers
56
views
Parse custom element using adaptive card sdk in iOS
Want to write a deserialize method for parsing the new property in adaptive card using the adaptive card SDK at the iOS client.
Example :
{
"type": "AdaptiveCard",
"...
0
votes
0
answers
121
views
Inject a GStreamer pipeline
Suppose I have an application written with GStreamer that has a pipeline for processing video data. For simplicity let's assume it looks like this:
appsrc->identity->appsink
While application ...
0
votes
1
answer
34
views
Unable open a project or project folder (by giving the path) into solution explorer with an vsix extension?
I have a requirement to load a project in solution explorer by providing a path in the extension.
Suppose I have a menu button that opens a window form having a text field and a simple button. Now ...
2
votes
1
answer
71
views
Is it possible to extend TestCafe Studio?
I am looking to extend the studio IDE and add custom on-page-actions or assertions. The goal is to enable non-technical team members to write more robust tests without writing any code.
I know ...
0
votes
2
answers
333
views
I want to create an extensible app via plugins with C++ and Python
I want to create an app that will be extensible via plugins.
I know that I have 2 options.
I can create my own interpreted language and app with a built-in interpreter for this language.
I can use ...
1
vote
2
answers
575
views
How to set multiple commands into a menu item in tools menu?
I am trying to add a menu item in the Tools menu (using IDM_VS_MENU_TOOLS) which is having two child menu buttons. But not able to do it. But if I add the same with IDG_VS_MM_TOOLSADDINS as a top-...
14
votes
5
answers
5k
views
LibGit2Sharp DllNotFoundException: Unable to load DLL 'git2-106a5f2'
I am working on a vsix project where I need to get information about a local git directory. I am following this article. When I am using LibGit2Sharp library, I am getting an exception as described in ...
0
votes
2
answers
542
views
How to customize the position of a menu item button in vsix extensibility project?
I am creating an extension where I am trying to add a menu item containing two child menu buttons. This menu item must be shown as a top-level menu item but when I do that, The menu item added into ...
1
vote
0
answers
114
views
In C# - How to get line number from cursor point?
I want to get the line number or line content of the line where the cursor is pointing. How can I do this?
I tried this solution but it is deprecated for VS 2019 version. I need a solution for VS ...
2
votes
2
answers
1k
views
In C# VSIX, How to get current file name along with its relative path which is currently being editing?
I am working on a VSIX project, where I want to get the current file name and path (relative to the project) which is being edited in the VS IDE (or in an experimental window)? How can I do that?
I ...
2
votes
1
answer
642
views
How to create Dockerfile mixins
I'm building developer tooling, my users are using docker, and I'd like them to be able to integrate my tooling into their images.
To do so they need to run a selection of extra build steps in their ...
-2
votes
1
answer
88
views
Modular application (scale, performance, possible problems)
I'm currently working on a project (very early stage) and the goal is to create modular application, that is easily scalable by adding new modules. Modules can be anything from simple function to ...
0
votes
1
answer
233
views
IdentityServer4: What is the Idiomatic Way to Integrate a Custom Source for Authentication and Profile Retrieval?
Let's say I have to integrate with a legacy enterprise system which maintains users. Assume this enterprise system provides a C# SDK with two methods as follows:
Authentication:
sdk.Authenticate("...
0
votes
1
answer
87
views
Visual Studio for Mac adding a new Project Item type
The context is that in a Xamarin.Forms project, I want to right-click and add an item from VS in the usual project content menu as maybe an entry called "Add Image Asset", let's say a raster or SVG ...
0
votes
1
answer
3k
views
SSRS Delivery Extension not found
I'm trying to develop a delivery extension for SSRS.
I created a dll with one class. The class implements both IExtension and IDeliveryExtension interfaces. I copied the built dll file (MyExtension....
5
votes
1
answer
274
views
Haskell not using the more specific instance of a typeclass
I've been having trouble the past few days figuring out whether something I'm trying to do is actually feasible in Haskell.
Here is some context:
I am trying to code a little markup language (akin to ...
0
votes
1
answer
2k
views
NLog extensibility - How to add custom field using ExtendValues?
I try to add some custom fields to NLog using extensibility.
Part of my nlog.config file looks like that : (simplified for exhibit)
<nlog>
<extensions>
<add assembly="...
0
votes
1
answer
90
views
How to design extensible multiple inheritance?
I have yet another question about multiple inheritance design which has an answer i.e. here (but focused on footprint) or here (too vague), but most answers I stumbled upon is emphasizing the ...
0
votes
1
answer
20
views
Are there any good extensible language cross compilers?
I am working on a project right now, and I would greatly enjoy being able to extend a cross compiler to convert some code into other languages. For example, I might have an AST of some code, and I ...
0
votes
1
answer
30
views
Package manager - how to extend module with ability of module update
When I use some package manager like Composer I want to use some 3rd-party module and to have an ability for example to change some views (templates) of this module, and simultaneously to have an ...
0
votes
1
answer
83
views
What is the most extensible way to manage Django UI choices that correspond to Python functions?
I am trying to create a static shared list of functions and their descriptions to display in a Django form MultipleChoiceField.
I want this to be extensible in case I add more file options later on, ...
1
vote
0
answers
201
views
Breakpoint Line Numbers in VB Editor
Does anyone know how to get line numbers of breakpoints in the VB Editor programmatically? I can't find a way to do this currently with the VBA Extensibility Library (Microsoft Visual Basic for ...
0
votes
2
answers
93
views
Hide non mutual methods in superclass facade
Is there a way we can hide the non mutual methods for types which are not qualified for the specific methods?
Lets say we have an abstract superclass with methods we don't want to expose to the ...
0
votes
1
answer
22
views
Visual studio project template get visual studio version
I'm writing a project template for Visual Studio.
In some of the files generated, I have a string which depends on visual studio version.
Can I get the visual studio version from the template file?...
0
votes
1
answer
56
views
Replacement for _dispSolutionEvents_ProjectAddedEventHandler
I am migrating an existing add-in to an extension targeting VS2017.
In this process i started converting converting DTE events to IVsSolutionEvents. Then i came across ...
0
votes
0
answers
2k
views
Extend Visual Studio functionality for Installshield ISPROJ Project type
InstallShield must be the crappiest "industry standard" application in existence, for reasons too numerous to enumerate here. However, one of those deficiencies is something I'd like to be able to ...
5
votes
1
answer
599
views
In a VS 2017 custom project system, how can I make a project item bold in the Solution Explorer?
I'm writing a project system extension for VS 2017, and each project in my language has one file that's the "startup file". I want that file to appear bold in the Solution Explorer.
Python Tools for ...
-1
votes
1
answer
616
views
How to use the Debug API in Visual Studio Extension?
I have seen a lot about the related issues, but still feel very puzzled
I now mainly encountered the problem is unable to obtain the current state of the debugging process, such as when to encounter ...
0
votes
1
answer
101
views
Reusability and Extensibility in OOPL
I have 3 problems, which are more or less similar.
Given a integer array, I want to find the longest continuous subarray, such that the subarray is in increasing order of numbers.
Given a integer ...
4
votes
0
answers
82
views
Linking DLL with external resource dependency based on MEF
I read both .net MEF (Managed Extensibility Framework) and MAF (System.AddIn) and I got confused by their online reviews.
While MEF seems newer and more attractive than MAF. I can't understand how we ...
4
votes
1
answer
2k
views
Visual Studio External Tools sending command to command prompt
I added Run IL button to external tool section of visual studio .
when this button triggered i want to compile current file with ilasm.I can open developer command prompt in this way,however i couldn'...
5
votes
1
answer
755
views
How to create extensible Electron applications?
Atom and Visual Studio Code are probably the biggest Electron apps so far and they're both quite extensible, and the are other smaller examples like N1. By extensible I mean, they support plug-ins.
...
6
votes
1
answer
798
views
Caching MEF Components
Is there a way to cache MEF components graph per-application startup (WPF), like the MAF do to avoid discovering the directories and constructing the components graph every application startup. in ...
0
votes
1
answer
404
views
How to change Keyboard Layouts in iPhone and iPad from a xib file?
I am designing a custom keyboard for iOS devices.
I have designed a xib file that works best under iPhone devices.
But, I now realized the iPad keyboard is different from iPhone keyboard (Extra ...
1
vote
2
answers
66
views
Which is better: explicit or typeless get()?
Suppose the following two versions of the same class A:
Version 1
class A
{
public:
enum class Retrievable { Integer, String };
A(): m_integer(123), m_string("string") {}
~A() {...