Questions tagged [code-intelligence]

Code Intelligence is the autocomplete system used in Komodo IDE, Komodo Edit, and SublimeText.

16 questions
28
votes
2 answers

Javascript, SublimeCodeIntel and hinting Code Intelligence auto-completion

Are there any tips or tutorials to set-up Javascript auto-completion with Sublime Text 2 and SublimeCodeIntel? What are the limitations of Code Intel auto-completion (modules inside wrapper functon, etc.) How Javascript namespace tree is build and…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
21
votes
6 answers

Are there any PHP code visualization tools?

Looking for software that will analyze php code (i.e. all of wordpress or the thematic theme) and show me pretty pictures (perhaps a block diagram) of all the connections to help me more quickly get an understanding of where things are and what's…
3
votes
3 answers

How does intelligent code completion work in Scheme?

From reading a Lisp book I remember they showed an example of an OOP-style method dispatcher based on closures: (defun create-object () (let ((val 0) (get (lambda () val)) (set (lambda (new-val) (setq val new-val))) (inc…
katspaugh
  • 17,449
  • 11
  • 66
  • 103
3
votes
1 answer

Ignoring single line marked as incorrect by Sublime CodeIntel

I'm using Sublime for a Python project. I have a dictionary comprehension like so: inv_map = {v:k for k, v in map.items()} CodeIntel is marking this as an "invalid syntax" error, but this is correct and runs without trouble. How can I tell…
alex-bf
  • 103
  • 5
3
votes
1 answer

SublimeText Codeintel Python library completion

Has anyone got any experience adding system Python libraries to Codeintel's index? It's great for completion of project files, but it'll be nice if it can also pick up, for example, PIL methods and Google App Engine libraries.
Ahmed Nuaman
  • 12,662
  • 15
  • 55
  • 87
3
votes
2 answers

How to take advantage of the autocomplete with Komodo

I am a noob to Komodo and I'm trying to figure out how to use it to my best advantage. One thing keeps bugging me & there's probably a very simple answer. As an example, when I type if(isset($_GET[' Komodo will automatically fill in the rest of…
JakeParis
  • 11,056
  • 3
  • 42
  • 65
1
vote
1 answer

Komodo Edit autocompletion JS object literal

The problem is Komodo intelli-sense doesn't see object methods defined this way: var App = window.App || { method: function() { ... } } Typing "App." gives no result. However, defining an object like below works fine: var App = { …
mef
  • 46
  • 4
1
vote
1 answer

Adding Zend code intelligence for Komodo

How can I add code intelligence for Zend library in Komodo? Thanks
user1083320
  • 1,836
  • 8
  • 22
  • 29
1
vote
1 answer

Spring Tool Suite, "Content Assist Error" while accessing class memebers

Most of the times here is the error message displayed for content assist while accessing class members.
1
vote
3 answers

SublimeText 2 CodeIntel for PHP on Windows?

Just installed SublimeCodeIntel via PackageControll plugin on my Windows 7 x64 PC for the latest (v 2.0.1) SublimeText 2, and there has no effect when I try autocomplete simple class method 'foo':
FelikZ
  • 2,976
  • 4
  • 32
  • 41
0
votes
0 answers

How to make the predicate spent(Passengers, Year, Sum)?

1. Write the predicate spent(Passengers, Year, Sum) to find the total cost of tickets for passengers from of the list of Passengers in year Year. trip(01, Kuiv, Odessa, 1500). trip(02, Kuiv, Lviv, 700). trip(03, Uzhorod, Krum, 6000). trip(04,…
Mashka
  • 35
  • 4
0
votes
1 answer

How to prevent Intellij destroying code, again

Given : function hide(){ displayer.hide(error); } Refactored the function name yields: function refactored_to_new_name() { …
mjs
  • 21,431
  • 31
  • 118
  • 200
0
votes
1 answer

Importing .cix NumPy API catalog in Komodo Edit

I've generated a numpy.cix file by following the instructions given here: http://community.activestate.com/faq/generate-python-api-catalog via the command python gencix.py --onefile=numpy.cix --name="NumPy" --description="Python NumPy module"…
Pybe
  • 133
  • 8
0
votes
1 answer

CodeIntel2: can it be used under Py3?

I try to run simple test py-file under Py3k, with CodeIntel2 lib. Package is suitable for SublimeText 2 and 3, so i guess lib is ok for Py3k. I get this error on importing manager.py: File "g:\_CodeIntel\serverwork.py", line 12, in from…
Prog1020
  • 4,530
  • 8
  • 31
  • 65
0
votes
1 answer

C#/WPF intellisense order by type VS2012

The order is usually alphabetical: I want the order will be by Type, ie: poperty first and after that attached property and so on... There is any way to do that?
cheziHoyzer
  • 4,803
  • 12
  • 54
  • 81
1
2