Coder Social home page Coder Social logo

agauniyal / vscode-caniuse Goto Github PK

View Code? Open in Web Editor NEW
48.0 3.0 6.0 268 KB

Browser support tables for modern web technologies - plugin for vscode

Home Page: https://marketplace.visualstudio.com/items?itemName=agauniyal.vscode-caniuse

License: MIT License

JavaScript 100.00%
vscode vscode-caniuse plugin caniuse

vscode-caniuse's Introduction

vscode-caniuse (UNMAINTAINED)

Instant & Offline check for HTML5, CSS3, SVG, JS API compatibility through Can I Use.

"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.

vscode-caniuse screenshot


Installation

You can install it via extension sidebar, search for vscode-caniuse. Or you can launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.

ext install vscode-caniuse

Features

  • Highlight any text and either execute Can I Use or use default keybinding alt + i to display compatibility in status bar.
  • Provide user defined browser scope to perform search on either by executing Browser scope which sets for current session, or through extension config caniuse.browser_scope. A default keybinding alt + b is also available.
  • Toggle visiblity of major browsers vs all browsers through extension config caniuse.show_all.

Extension Settings

This extension contributes the following settings:

  • caniuse.show_all: show all available browsers(true) or only major ones(false).
  • caniuse.browser_scope: set the browser scope - Browserl.ist ie. "> 1%, last 2 versions, Firefox ESR".

TODO

  • Tests

vscode-caniuse's People

Contributors

agauniyal avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

vscode-caniuse's Issues

Cannot read property 'title' of undefined

It very good idea so I rate 4. But it won't work for me, when I highlight something and push "alt+i" I just get error message "Cannon read property 'title' of undefined". In the same time in status bar I see only "Search in browser". I hope it will fixed someday.

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.

Browser scope is not saved / updated

Current behaviour:
I first tried to set my browser scope through the setting.json, however, it did not have anny effect. I tried to then set it in the workspace settings. Also nothing.
When I use the shortcur (alt + b) and type e.g. "safari 10, ie 6-8" I can see that the scope os limited to Safari and IE, however, this setting is not saved in either of the above places (global or workspace settings).
When I restart VSC, the browser scope is yet again not set.

Expected behaviour:
Browser scope is saved in either of the settings and remains saed after I restart VSC.

Cannot find property in local database, you can still search through status bar.

I receive this error message when using the Can I Use command or ALT + i. It happens for everything I look up in my CSS and JS. If there is a step to install a local database for CanIUse it would be nice to have the instructions in the readme. Am I missing something here? Would be great to have this working as I use the CanIUse website every day.

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.