spectacles / CodeComplice

CodeIntel for Sublime Text 2 / 3
Other
167 stars 18 forks source link

Plugin doesn't work now... #19

Closed PixelT closed 9 years ago

PixelT commented 9 years ago

The tooltip doesn't wan't to display...

Edit. I downloaded the version 1.1.0 from releases, and they work OK - the 1.1.1 version not Testes on ST 3 Build 3070

spectacles commented 9 years ago

I've supposedly fixed this and re-released 1.1.1! Can you please re-install from packagecontrol and confirm it is working now?!

Thanx for reporting!

PixelT commented 9 years ago

After reinstall 1.1.1 the autocomplete works now - thanks! One small things can be fact, that after install CodeComplice, my ST was crashed.... I have no certainty whether it is caused by CC, but I install it 2 times, ST crashed 2 times always after finish install (I must restart ST manually then)

PixelT commented 9 years ago

@spectacles At this moment I reinstall the CodeComplice, and they don't work now in js files... :(

spectacles commented 9 years ago

Nothing, not the tiniest bit has changed since your last comment!

PixelT commented 9 years ago

OK, I have new information in this subject. ( | is mouse caret )

Autocomplete show:

$( document ).ready(function() {
        var xxx = 'example string';
        xxx.|

        var lightbox = $('figure.lightbox-image');
        lightbox.picture();
});

Autocomplete doesn't show:

$( document ).ready(function() {
        var lightbox = $('figure.lightbox-image');
        lightbox.picture();

        var xxx = 'example string';
        xxx.|
});

In console: evaluating 'xxx' at filename.js#8: could not resolve first part of 'xxx'

The picture() is a method from other (external) library. When I comment the line lightbox.picture() in the second example, the autocomplete popup will be show, so I think the external function call stops / breaks plugin work?

spectacles commented 9 years ago

Yes it's true, Komodo's JavaScript lexer/parser gets easily confused!