Syntax Check Failure
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
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.
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: 291
- Joined: Thu May 12, 2011 9:40 am
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
Can you send me a screenshot, similar to this:
I have highlighted some areas that you may want to check...
I have highlighted some areas that you may want to check...
- gsmith
- Posts: 291
- Joined: Thu May 12, 2011 9:40 am
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
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...
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: 291
- Joined: Thu May 12, 2011 9:40 am
Nothing in the console window changes from above.
- micevepay
- Posts: 62
- Joined: Wed Apr 02, 2014 7:30 pm
Return to VS Code and Eclipse IDE
Who is online
Users browsing this forum: No registered users and 1 guest