Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

How to set up the show-hint feature #30

Open
wuarmin opened this issue May 23, 2017 · 1 comment
Open

How to set up the show-hint feature #30

wuarmin opened this issue May 23, 2017 · 1 comment

Comments

@wuarmin
Copy link

wuarmin commented May 23, 2017

Hello,
nice addon 😄 !

I don't know how to use the show-hint feature with this addon. I know how to add the addonFiles(described at doc), but I couldn't find out, what's the way to use it.

thx

@nmccready
Copy link

Here is a way:

ember-cli-build.js

codemirror: {
      modes: ['javascript', 'sql'],
      themes: ['solarized', 'twilight', 'monokai'],
      addonFiles: [
        'hint/show-hint.css', 'hint/show-hint.js',
        'hint/sql-hint.js',
        'hint/javascript-hint.js'
      ]
    }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants