Skip to Content

Code completion, go to definition, generate JS Doc for function not working in WebIDE

Hello All,

The following functionalities are not working for me in general for a project:

  • Code completion
  • go to definition
  • generate JS Doc for function (except in base controller)
  • open controller from view

however it works fine in another project.

What could be the issue?

BR, Ekansh

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Aug 01, 2019 at 07:51 AM

    Yuval helped to get this sorted. I am posting the cause of this here for others.

    The issues were due to usage of ES6 in my project due to which the code was not parsed as webide parser doesn't support ES6. When we removed ES6 syntax, parsing started working as we could see the Outline generated and all other issues were also fixed with this.

    Please do remember, setting 'es6: true' in the project settings, just sets it for eslint and removes error during linting.

    BR, Ekansh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 22, 2019 at 08:43 AM

    Please attach the project or js file and .project.json file

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 22, 2019 at 09:12 AM

    If you go to project settings UI5 you can maintain the UI5 libs for which you would get validation and code assist. Yhe libs will be added to the manifest.json. If it does not help I would need to see the project zip

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 25, 2019 at 09:02 AM

    We can have a short meeting on Monday. yuval.morad@sap.com

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.