Git Product home page Git Product logo

umbsense's Introduction

umbsense's People

Contributors

adam-werner avatar kevinjump avatar leekelleher avatar owainwilliams avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

umbsense's Issues

How do you test the extension?

Hi @KevinJump,

When I added in some of the other directives, I was following by example. I couldn't figure out how to actually test it out within Visual Studio.

So how do you test it out? Is it a case of dropping the DLLs in a specific folder location?

Thanks.

vs-code: scrape the Umbraco repo to build the json files?

For a vs-code version see branch : https://github.com/KevinJump/UmbSense/tree/vs-code

Creating the json files to define the tags seems like a lot of work, and all the data is already in the umbracoCMS repo (https://github.com/umbraco/Umbraco-CMS/blob/e9627f2ee962a73cd8c007a42845c9129e3339ee/src/Umbraco.Web.UI.Client/src/common/directives/components/buttons/umbbutton.directive.js)

comments using @ngdoc syntax already define the attributes / values etc, in a perfect world it would be AMAZING! if we could somehow get this information from the documentation build so we could just keep the extension in sync with the docs.

How to define combo of Children and Attributes?

Hi @KevinJump,

I'm wondering how we can define the intellisense for a combo of attributes and child elements? As far as I can tell a class marked with HtmlCompletionProvider can only do one of the things. Would we need to have separate classes for attributes and child elements?

Here's my example... The <umb-editor-view> directive has an undocumented attribute for footer="false": https://github.com/umbraco/Umbraco-CMS/blob/release-8.6.4/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorview.directive.js#L71-L73

The intellisense class is here: https://github.com/KevinJump/UmbSense/blob/master/UmbSense/Completion/Directives/UmbEditorView.cs#L7

That has [HtmlCompletionProvider(CompletionTypes.Children, TagName)] ... so would we need a separate class for [HtmlCompletionProvider(CompletionTypes.Attributes, TagName)]?

I think that's the case, but wanted to clarify it. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.