marijnh/tern — pull request #325 by angelozerr (2014-05-06 16:02:45+00:00)
Title: Completion inside string + sample with node.js#require

Here a pull request to manage completion inside string. The idea is to delegate completion to tern plugin when completion is executed inside string.

For instance for require of node.js, completion must show modules name like 'fs', 'http' :

require(' // here Ctrl+Space shows modules name like 'fs', 'http'

Here a screenshot with CodeMirror addon :

![completioninsidestring](https://cloud.githubusercontent.com/assets/1932211/2891956/b97eb4d0-d537-11e3-8a0b-fe0ee21eccd0.png)

this patch is just an idea to implement string compeltion, but I think it can be more improved.

If you accept this issue, I will try to manage other tern plugins.

Hope you will like this idea.