facebook

How can i implement the documentation from express in Angular IDE

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #605976 Reply

    dtom
    Participant

    I can see the documentation of Angular(https://i.imgur.com/WpuCUys.png) but not the one from expressjs.
    How can i implement this?

    #606027 Reply

    support-swapna
    Moderator

    dtom,

    I tried with sample express code and I do see the related documentation. Please see the attached screenshot.
    Can you please share with us the sample code snippet for which you are seeing the problem?
    Please also clarify if you have installed the Express package in your project : npm install --save express

    –Swapna
    Genuitec Support

    Attachments:
    You must be logged in to view attached files.
    #606670 Reply

    dtom
    Participant

    You example does work for me(https://i.imgur.com/OpFq0aV.png), but the “documentation-view” does works only in some methods
    It just show me thinks like that: https://i.imgur.com/PqG78rJ.png

    Here is an other example in a .ts file (postlist is an array): https://i.imgur.com/g94Dpbp.png
    it doesnt show any information of the method 🙁

    #606674 Reply

    Brian Fernandes
    Moderator

    Thank you for the screenshots. Can think of a number of possibilities why this could be happening:
    1) The referenced method simply does not have documentation
    2) The libraries were added without documentation/with partial documentation
    3) There’s a bug in CodeMix that is preventing the documentation from being picked up in some cases

    Can you go to Window > Preferences > CodeMix > Settings > Workspace Settings and check the value of the codemix.editor.parameterHint setting? If it’s set to summary, does changing it to detailed make a difference?

    I did try with an array in TypeScript, and did see full documentation for splice. Any way you can help share a reduced example that exhibits the problem? Or can you share the package.json for the project in which you’re not getting the documentation? If we can reproduce locally, we should be able to figure this out.

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How can i implement the documentation from express in Angular IDE

You must be logged in to post in the forum log in