Rails catalog not working as expected #537

Closed
ervumlens opened this Issue Aug 17, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@ervumlens

(From the forum)

Problem
Enabling a CodeIntel catalog does not appear to change the list of suggestions provided by CodeIntel.

Steps to Reproduce

  1. Open preferences to the Code Intelligence page.
  2. Check the "Rails" entry in the catalog list.
  3. Restart Komodo, just in case.
  4. Create a new Ruby file.
  5. Type "Act".

Expected
I get a list of completions that includes ActionController.

Actual
I get a notification saying "No completions found" and no list.

I can also reproduce this with very simple, custom CIX catalogs in Ruby and in JavaScript. Same result when adding them manually in the Preferences page and also when using an apicatalogs extension.

CodeIntel notifications appear that suggest the catalogs are recognized and valid. As a negative test, I tried a bad catalog. CodeIntel (correctly) produced errors, so apparently CodeIntel is paying attention. 😃

@Naatan Naatan changed the title from CodeIntel catalogs not working as expected to Rails catalog not working as expected Aug 18, 2015

@Naatan Naatan added the Type: Bug label Aug 18, 2015

@Naatan Naatan added this to the 9.2.2 milestone Aug 18, 2015

@Naatan

This comment has been minimized.

Show comment
Hide comment
@Naatan

Naatan Aug 18, 2015

Member

Renamed to "Rails catalog", least until we've verified whether it happens for others also.

Member

Naatan commented Aug 18, 2015

Renamed to "Rails catalog", least until we've verified whether it happens for others also.

@mitchell-as

This comment has been minimized.

Show comment
Hide comment
@mitchell-as

mitchell-as Aug 31, 2015

Member

While this is fixed in git, you need to be within a Rails project in order for Rails completions to show up.

Member

mitchell-as commented Aug 31, 2015

While this is fixed in git, you need to be within a Rails project in order for Rails completions to show up.

mitchell-as added a commit that referenced this issue Aug 31, 2015

fix: codeintel: Fixed reading from rails.cix catalog - fixes #537
rn=

(integrated from master branch change 9.2.1-252-gb8be52d by Mitchell <mitchellb@activestate.com>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment