Skip to content

How to add my custom CIX file for a given library ? #43

Open

Description

@ismnoiet

I have created successfully a custom auto-complete catalog for a library X(JavaScript language),
i've tried to put it on its own file for organisation purposes :

...CodeComplice/libs/codeintel2/catalogs/customX.cix

i've also tried to add it to CodeComplice.sublime-settings under :
JavaScript.codeintel_selected_catalogs alongside with jQuery

"JavaScript": {
            "codeintel_scan_extra_dir": [],
            "codeintel_scan_exclude_dir":["/build/", "/min/"],
            "codeintel_scan_files_in_project": false,
            "codeintel_max_recursive_dir_depth": 2,
            "codeintel_selected_catalogs": ["jQuery","customX"]
},
...

But it is not working, and it works only if i put the entire custom library definition inside the JavaScript catalog located in :

...CodeComplice/libs/codeintel2/stdlibs/JavaScript.cix

Notice : I asked this question already at SublimeCodeIntel and got no answer.
Any help or suggestions would be more than appriciated and thank you.

Activity

  1. spectacles commented on Jan 15, 2016

    @spectacles
    Owner

    hey!

    CodeComplice/libs/codeintel2/catalogs/customX.cix
    

    this path is fine!
    be sure your cix uses this as wrapper-xml

    <?xml version="1.0" encoding="UTF-8"?>
    <codeintel name="customX" >
      <file lang="JavaScript" path="">
    
      </file>
    </codeintel>
    
  2. ismnoiet commented on Jan 16, 2016

    @ismnoiet
    Author

    Thank you for the suggestion but i'm already using it and it is not working !!!.
    And can't find official or any sort of documentation about CIX files, except the comments inside the dictionary.py and other files shipped within codeintel folder.
    I tried to be inspired by jQuery, unfortunately i'm not getting the desired results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions