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

Komodo IDE css autocompletion not working with dashes #52

Closed jwdeitch closed 9 years ago

jwdeitch commented 9 years ago

Hi!

On Komodo IDE 9 mac, autocompletion for CSS doesn't seem to be entirely functional - typing in "font" will bring up the font-family, font-size, float, etc. suggestions like it should, however, once you add a dash ('-'), then the autocompletion should narrow down it's suggestions to things like font-family, font-size... however this is not the case: there is simply no autocompletion after a dash is appended..

Naatan commented 9 years ago

I cannot reproduce this on mac. Could you try it with a brand new CSS file?

Defman21 commented 9 years ago

The bug exist in <style> tag. That's all I can say.

jwdeitch commented 9 years ago

I just tried again and it works! Very strange.

Naatan commented 9 years ago

Cannot repro with a style tag either;

<style>
    * {
        font-|
    }
</style>

Pops up font-family, font-size, etc. (using HTML5)

Could you supply a test-case?

Naatan commented 9 years ago

@jwdeitch maybe it was something about the file you were working on when you encountered the bug, do you recall what it was?

Defman21 commented 9 years ago

Just tested it with a <style> tag in a HTML5 document. Works fine for me now :/ Komodo IDE, version 9.0.0-rc1, build 87167.

jwdeitch commented 9 years ago

It was a blank file set to HTML5 syntax, with the html4 snippet inserted. I then added the <style> tag. The issue seems to be resolved for me as well.

Naatan commented 9 years ago

It could be that Komodo was scanning your project/files at the time and so the autcomplete got delayed. Just an assumption though, hard to tell without being able to reproduce.

Will close this issue, let me know if you run into it again.