What is the exact difference between custom attributes and extension attributes? Are they the same?
How to find out what to use in what case?
Compared to both, which is better to use? Custom attribute or Extension attribute? What do you suggest?
Please make me understand with any example
Related
I'm creating a little baseclass for webcomponents. For this I have created my own filetype (.wco => web components), divided in a tag and a tag. Now I face the problem that VS Code (logically) not know my custom file type, therefor it displays it as plain-text. How can I apply Typescript formatting/hightlighting and CSS formatting/hightlighting for the same file? Is there a way to create an extension for this? Or is it already possible with prettier? How to define the language?
I'm not searching an answer for all questions of course, more some hints into which direction I should look for. (Thinking about how svelte/vue does this?)
Any help is appreciated
I have found out that we can add embedded languages with a language extension.
Information can be found here:
https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide
As the title says, I am not talking about the file extension but the new feauture added.
Thanks.
The Extension feature allows you to use the Extension APIs in Tableau. There are some interesting ones. I like the Data-Driven Parameters. The Extension Gallery is worth checking out. https://extensiongallery.tableau.com/
Is there a way to add a custom attribute at customer in Magento2 CE, which are shown in the Admin with autocompletion like the category for product?
I'm not really sure what you mean. If you are talking about a custom attribute with a predefined set of possible values, you could just use a "dropdown" or "multiselect" type attribute.
Otherwise, if you want to get "real" autosuggestions, for example from some kind of rest API, you would need to write that yourself.
I am currently implementing rating and reviewing system in my project which is made in yii, netbeans. I want to use yii extension, but I do not have any idea,about any rating extension. Please I need your suggestions. which extension should I choose so that in future I would be able to find the helping material easily on this extension.I want to implement star rating.
I assume you are referring to yii. In this hypothesis you can try this extension:
http://www.yiiframework.com/extension/dzraty/
or this
http://www.yiiframework.com/extension/pcstarranking/
depend on your neeed
the first is a wrapper for http://yii.dezero.es/dzraty
probably is the more interesting.
I have an interface (ISomeInterface) with full xml comments, and some derived classes with matching xml comments.
If I change the comment in the interface, is it possible to update the comments in all derived classes with GhostDoc (or any other tool)?
I appreciate this may cause unwanted changes in some scenarios but I'm not concerned about that in this case.
Yes, you can use Re-Document command of the GhostDoc v4.0 Beta - it will recreate XML documentation while preserve your custom tags.
Let me know if this helps.
Thanks!