Code Monkey home page Code Monkey logo

brackets-html5codehints's Introduction

LICENSE https://registry.brackets.io/ Maintainers Wanted code style: prettier Tip Me via PayPal

Brackets-HTML5CodeHints

This project is not maintained. I no longer use Adobe Brackets so this extension is no longer maintained. I'm interested in porting this to VS Code. If you can help please get in touch!

Extend Brackets HTML code hints with more HTML5 elements and attributes such as Picture, Srcset, Template, inputmode as well as some HTML4 elements such as cellpadding, cellspacing and iframe. Also includes hints for Web Components and Schema.org.

Complete list of elements added:

HTML4 Tags

  • acronym
  • center
  • frame ("frameborder", "name", "scrolling", "src")
  • frameset ("rows")

HTML4 Attributes

  • iframe ("frameborder", "scrolling")
  • table ("cellpadding", "cellspacing", "height", "width")

HTML5 Tags

  • content (Shadow DOM)
  • picture
  • template (Web Components)

HTML5 Attributes

  • autocorrect
  • autocapitalize
  • inputmode
  • itemscope, itemtype, itemprop (Microdata - Schema.org)
  • onsearch
  • srcset

HTML5 Attribute Options

  • audio ("buffered", "played")
  • autocomplete ("billing", "cc-name", "cc-number", "cc-css", "cc-exp-month", "cc-exp-year", "cc-type", "country", "email", "name", "postal-code", "region", "shipping", "street-address", "tel", "url")
  • http-equiv ("X-UA-Compatible", "content-language")
  • img ("sizes", "srcset")
  • input ("autocorrect", "inputmode", "minlength")
  • inputmode ("email", "numeric", "tel")
  • link/rel ("canonical", "dns-prefetch", "import", "profile", "shortlink")
  • meta/name ("format-detection", "publisher", "referrer", "robots", "theme-color", "viewport")
  • meta/property ("al:ios:url", "al:ios:app_store_id", "al:ios:app_name", "al:android:url", "al:android:app_name", "al:android:package", "al:web:url") [applinks.org]
  • script/type ("application/ld+json")
  • source ("sizes", "srcset")
  • textarea ("autocomplete", "spellcheck")
  • video ("buffered", "crossorigin", "played")

If you spot a HTML tag or attribute missing that you'd like added please open an issue or pull-request. https://github.com/coliff/Brackets-HTML5CodeHints

brackets-html5codehints's People

Contributors

coliff avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

brackets-html5codehints's Issues

Some attributes (schema.org) not working

I do not get attributes like itemscope, itemtype... for schema.org structured data.
I'm trying to add them to a div, like the schema.org examples show (but I've tried other elements too).
Other elements and attributes do work (e.g. playing for audio, or the picture element).
I'm using Brackets 1.3 on Mac (current at time of writing).
Thanks!
screen shot 2015-05-08 at 8 53 03 am

maybe

thats not realy html5 but maybe you could add -webkit-, -moz-
just if you want

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.

Since we did not receive a CI status on the greenkeeper/initial branch, we assume that you still need to configure it.

If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/.

We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

Hint requests are handled even when no hints can be shown

In your existing code, when hints are explicitly called on an attribute, you are returning true without checking whether you can actually provide hints for the attribute. This means your extension is handling hint sessions when it shouldn't be, causing extensions with lower priority to never get run.

I have created a pull request with a solution to a repository that forked yours, but I don't know how to make a pull request to yours with just my changes so I've created this issue.

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.