Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.16k stars 303 forks source link

Missing auto-completions for JSON in javascript #2181

Open babobski opened 7 years ago

babobski commented 7 years ago

Short Summary

Missing auto-completion for JSON.parse() and JSON.stringify() while editing Javascript.

Platform Information

Komodo IDE 10.1.1 Windows 10

th3coop commented 7 years ago

I actually get a completion for parse but not stringify.

Defman21 commented 7 years ago

I don't have JSON object at all :\

[2016-11-24 15:59:30,355] [ERROR] koCodeIntel:     INFO: eval 'JSON' at test.js#1  <Trigger 'javascript-complete-object-members' at 5 (explicit)>
    INFO: start scope is (<blob 'test.js'>, [])
    INFO: find 'JSON' starting at (<blob 'test.js'>, [])
    INFO: is 'JSON' accessible on (<blob 'test.js'>, [])? no
    INFO: is 'JSON' accessible on (<blob '*'>, [])? no
    INFO: is 'JSON' accessible on (<blob '*'>, ['Window'])? no
    INFO: lookup 'JSON' in <JavaScript curdirlib>
    INFO: lookup 'JSON' in <JavaScript cataloglib: >
    INFO: lookup 'JSON' in <javascript stdlib>
    ERROR: evaluating 'JSON' at test.js#1: could not resolve first part of 'JSON'