cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

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

EkanshCapgemini
Active Contributor
0 Likes
1,504

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

View Entire Topic
EkanshCapgemini
Active Contributor
0 Likes

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

miltonc
Product and Topic Expert
Product and Topic Expert
0 Likes

So would that mean we cannot use ES6 and JsDoc together in SAP Web IDE ??