Sun Oct 25, 2020 11:16 am
Login Register Lost Password? Contact Us


Syntax Check Failure

Topics around the use of the VS Code & Eclipse plugins

Mon Mar 03, 2014 1:55 pm Change Time Zone

Often when I start up Eclipse, a number of files in a given folder in the ECL Explorer Window show error flags. These go away if I do a syntax check on them individually. It is as though the system comes up in a weird state where a syntax check is done with the wrong settings but once I have connected to the particular cluster, the issues will go away. That looks like a bug of some sort. Meanwhile, is there any way to refresh the view so that the syntax check is done on all the files in a folder to clear those error flags.
BenJones
 
Posts: 28
Joined: Tue Jun 18, 2013 2:56 pm

Mon Mar 03, 2014 2:42 pm Change Time Zone

Let me answer Question 2 first:
To perform a fresh syntax check of your entire source tree, just select Project/Clean. (This may also fix your actual issue)

Question 1:
I am not sure I have a quick fix solution here, but some explanation may help you resolve it:
The plugin is designed to work with several servers (and consequently several different versions of server). These servers are added using the "Run Configurations" in Eclipse.
Assuming you have left the "ECLCC Compiler" settings at their defaults (for each run configuration), the plugin will attempt to locate and use the best matching ClientTools version on you local machine.
This is where it can get fuzzy as typically you will only have the one source tree, but it is being potentially compiled and submitted using several versions of the compiler (worst case is you may have compile errors with version A of the compiler but not version B).

Note: If in doubt the plugin will typically use the compiler with the highest version.

On startup it doesn't do any syntax check as such, but will have a persisted state from a previous run - now a "save file" syntax check versus a F7 syntax check versus a "submit to server" syntax check may have subtly different persistence - you may find touching the files in question and then saving them fixes your issue (for example)...

Further I would double check all your run configurations for valid eclcc settings (ideally set to default).

HTH

Gordon.
gsmith
 
Posts: 285
Joined: Thu May 12, 2011 9:40 am

Mon Jul 21, 2014 6:20 pm Change Time Zone

Syntax check is not happening on save or F7. I actually have to generate a workunit by hitting submit or compile. Hasn't worked since I started using ECL with Eclipse in April.
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Mon Jul 21, 2014 7:22 pm Change Time Zone

Can you send me a screenshot, similar to this:
EclipseWhole.PNG
(88.45 KiB) Downloaded 972 times

I have highlighted some areas that you may want to check...
gsmith
 
Posts: 285
Joined: Thu May 12, 2011 9:40 am

Mon Jul 21, 2014 7:57 pm Change Time Zone

Requested screenshot
Attachments
123.PNG
(64.9 KiB) Downloaded 967 times
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Mon Jul 21, 2014 8:00 pm Change Time Zone

Sorry didn't see the bottom of your screenshot
Attachments
screen.PNG
(127.43 KiB) Downloaded 965 times
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Mon Jul 21, 2014 8:03 pm Change Time Zone

Can you:
1. Press F7 and see if the syntax check happens in the console window.
2. Select "Edit->Check Syntax" and see if the syntax check happens in the console view...
gsmith
 
Posts: 285
Joined: Thu May 12, 2011 9:40 am

Mon Jul 21, 2014 8:04 pm Change Time Zone

Image not uploading properly
Attachments
123.PNG
(64.9 KiB) Downloaded 965 times
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Mon Jul 21, 2014 8:05 pm Change Time Zone

screen.PNG
(127.43 KiB) Downloaded 966 times
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Mon Jul 21, 2014 8:06 pm Change Time Zone

Nothing in the console window changes from above.
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Next

Return to VS Code and Eclipse IDE

Who is online

Users browsing this forum: No registered users and 1 guest

cron