Sevin777
Sevin777
Marijnh changed the way that full doc requests are made in Tern. After upgrading to new Tern version code will need to be changed to support this: https://github.com/marijnh/tern/pull/425#issuecomment-111991033 # other...
add user configuration beautify options ``` javascript ace.config.loadModule('ace/ext/html_beautify', function (beautify) { editor.setOptions({ autoBeautify: true }); //modify beautify options as needed: beautifyOptions = {}//user options (will have to parse each) });...
allow configuring things like tern plugins for Caret-T using Caret's configuration (json page) Or - modify [Marijnh's code](https://github.com/marijnh/tern/blob/bb88e1eabe8497cb60b159ad8f18c6741bbdc97b/bin/tern) that reads tern-project file (for node) to work for web/chrome.
closing bracket shouldn't trigger auto format when its inside of a string literal (using string interpolation) ``` `string interpolation bug ${closeThisBraketAndItTriesToAutoFormat` ``` Interpolation is only allowed in in template strings...
Try to get arg hints to work here: `TestObjectArg({[cusor})` ![image](https://cloud.githubusercontent.com/assets/5360920/6541608/af8d4984-c4a9-11e4-9b2b-b254caf859cf.png) _Will likely be very difficult to implement._
https://github.com/c9/c9.ide.language.javascript.tern https://github.com/c9/c9.ide.language.jsonalyzer See [get call position function](https://github.com/c9/c9.ide.language.javascript.tern/blob/master/worker/tern_worker.js): ``` javascript function getCallNode(currentNode, cursorPos) { var result; currentNode.traverseUp( 'Call(e, args)', 'New(e, args)', function(b, node) { result = node; return node; }, function(node)...
Tern won't support this as marijnh said its not a problem... Use a quick and ghetto hack to make it work: - Attempt rename using tern - If rename fails,...
``` javascript /** * @param {function} cb - callback to execute before setting value. * Will only be executed if value is passed. * 1st param {object} v - is...
There is a lot of functionality that is using custom functions that can be replaced by Ace's built in libs. Examples: - escape html in `ace/lib/lang` ``` javascript exports.escapeHTML =...
Add a feature that generates a JS doc outline for an existing function ``` javascript function test(a,b){ return a*b; } ``` Should generate: ``` javascript /** * @returns {number} {description}...