1

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':

<?php
    class Foo {
        public function foo($a) { echo $a; }
    }
    $f = new Foo();
    $f->
?>

Any suggestions? P.S. Also .codeintel directory doesn't contain any log files and yes, I'd restarted SublimeText 2 after plugin install.

FelikZ
  • 2,976
  • 4
  • 32
  • 41
  • 3
    This is most likely OS related, as I can confirm that it does work for me on Mac OSX. I'd recommend posting the issue on the packages Git repo, or a post in the Sublime Text forums. – Valjas Jul 20 '12 at 03:17

3 Answers3

1

yep there is issue with Sublime 2.0.1 You need wait for CodeIntel update

1

This issue appears to have been solved.

Manually Downloading the latest version of SublimeCodeIntel solved this issue for me. I basically deleted the "SublimeCodeIntel" folder from the Sublime\Data\Packages dir and cloned the entire repo directly from github into that folder and worked as expected! :)

https://github.com/Kronuz/SublimeCodeIntel

Jose Browne
  • 4,482
  • 3
  • 28
  • 29
0

Here's what got CodeIntel to work for PHP for me:

  1. Delete all files under .codeintel/db/php (for Windows 7, it's at C:\Users\[name]\.codeintel\db\php)
  2. Restart Sublime Text 2
Peter
  • 31
  • 2