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

Eclipse intellisense for Code Compiler

nishantbansal91
Active Contributor
0 Likes
556

Hi,

How to activate the intellisense for Eclipse for UI5, currently when some error in my code it doesn't show any syntax error message.

How we can activate that setting

How we can activate debugging in SAPUI5, currently i m doing debugging on google chrome. Is there any way to activate the debugging for sap.

Regards,

Nishant

View Entire Topic
koolspy_ultimate
Active Contributor
0 Likes

Hi Nishant,

You cannot debug code in SAPUI5 in your IDE.

"When you debug code in SAPUI5, keep in mind that you can not debug SAPUI5 in your IDE. If you use Eclipse, for example, a breakpoint set in Eclipse does not stop your script when it is executed in your browser, unless you use the

debugger;

statement explicitely in your code. The browser does not know about your IDE and does not communicate directly with it. Thus, to debug in SAPUI5, use your browser's debugging tool."

You can find more info @

Browser Debugging for ABAP Developers

Regards,

Madhumahesh.

nishantbansal91
Active Contributor
0 Likes

Hi,

Thanks for your reply,

Now i understood the concept of debugging.

one thing i would like to know that how we can check syntax error in eclispce. Currently if any error was in my code then i have to check that error in debugging mode.

Regards,

Nishant

koolspy_ultimate
Active Contributor
0 Likes

Hi Nishant,

As far as i know, there is no code checker available as of now for checking  the error.

The only way of checking for error is through debugging only.

Though the syntax check is available using JavaScript facet in Eclipse.

Thanks and Regards,

Madhumahesh.

Former Member
0 Likes

Hi Nishant,

If you enable the JavaScript facet of your project in Eclipse, the Eclipse-built-in syntax check is enabled.

Regards,

Ashvin

nishantbansal91
Active Contributor
0 Likes

Hi Sungkur,

How to add JavaScript Facet in any project.

Regards,

Nishant

Former Member
0 Likes

Nishant,

Refer to the link below:

Eclipse: Advanced Syntax Highlighting

Help - Eclipse Platform

Regards,

Ashvin

koolspy_ultimate
Active Contributor
0 Likes

Hi Nishant,

By Default syntax checker will be enabled.

If you miss any braces or any semi columns you can see the error marked with red cross mark on the line numbers.

Thanks and Regards,

Madhumahesh.

nishantbansal91
Active Contributor
0 Likes

Hi,

It was not there,

var controls = [];

contr.push("button");

if by mistake i misspelled the controls, then is no syntax error in my eclipse kepler.

for that i have to check in debugging mode.

Regards,

Nishant

nishantbansal91
Active Contributor
0 Likes

Hi,

There was already checked java script project facet in my project.

Regards,

Nishant

koolspy_ultimate
Active Contributor
0 Likes

Hi Nishant,

As Already Mentioned Above, if you enter wrong words, or misspelled the controls you will not get any error in eclipse , this can be found only using debugging.

But if you forget any semicolumns, commas or mis placed any braces then an error will be displayed.

Regards,

Madhumahesh.