Genuitec » All Posts Thu, 18 Oct 2018 13:48:10 +0000 en-US <![CDATA[Reply To: Code mining]]> Wed, 17 Oct 2018 22:34:32 +0000 beleta1 Yes it seems that your finding is correct. The problem is fixed in all the files that had reference problems.

Thanks a lot.

Jose M Beleta

]]> <![CDATA[Reply To: Code mining]]> Wed, 17 Oct 2018 21:13:26 +0000 ignaciom Hey,

Seems we’ve found a fix for this issue, could you please try the following:

1. Close your eclipse.
2. On windows look for:
2. On OSx look for:
3. Replace this file with the one I’m attaching here, first uncompress it.
4. Start your eclipse, you can have a message saying that the Code Mix Engine is corrupt, lets ignore this for now.
5. Check the reference annotations. Are they better?

Best Regards

You must be logged in to view attached files.
]]> <![CDATA[Reply To: Typescript Documentation View]]> Wed, 17 Oct 2018 18:49:58 +0000 kferrone Thank you hearing me out. Always looking forward to awesome Codemix updates!

]]> <![CDATA[Reply To: Code mining]]> Wed, 17 Oct 2018 16:40:02 +0000 ignaciom Thanks for sharing this project, we do appreciate your feedback. I’ll import it to my workspace and do some more investigation, I’ll keep you posted.


]]> <![CDATA[Reply To: Code mining]]> Wed, 17 Oct 2018 15:52:26 +0000 beleta1 Hi Ignacio,

From your comments it could be deduced that the problem I have is because there is some particular reference structure in my project.

The problem is that it seems that this or similar particular structures exist in all my projects because all them show problems in displaying references. Both on Windows and Mac.

I am including here a simple project based on the official Angular tutorial that seems quite simple. This project also shows the reference problems in several files. Would you be so kind to test it if you find the same problems as me. Im finding problems in hero.service.ts (no references shown after method getHeroes), heroes.component.ts (no reference after method add), hero-search.component.ts (no reference after method search), hero-detail.component.ts (no reference shown after method getHero)

Thank you in advance and best regards

  • This reply was modified 1 day, 2 hours ago by  beleta1.
  • This reply was modified 1 day, 2 hours ago by  beleta1.
You must be logged in to view attached files.
]]> <![CDATA[Reply To: Validation Errors]]> Wed, 17 Oct 2018 14:51:50 +0000 gtsiou Hello Brian. I also have the same problem on a react project and ts-ignore is not a sustainable solution. The TypeScript validator should not be there at all for jsx files.

Please aim to fix this in a proper way and not with a work around.

]]> <![CDATA[Reply To: Unable to create component due to "Source Folder" url bug?]]> Wed, 17 Oct 2018 10:45:47 +0000 support-swapna Jason,

Thank you for the log file. The dev team is looking into this issue.
They will get back to you soon.

Apologies for inconvenience caused.

Genuitec Support

]]> <![CDATA[Reply To: Cannot add Maven support to a new project after upgrade to cl 2018.9.0]]> Wed, 17 Oct 2018 06:36:30 +0000 support-swapna crooksb,

Please see my response to your concern here :

Genuitec Support

]]> <![CDATA[Reply To: IDE cannot add Maven support to project]]> Wed, 17 Oct 2018 06:31:34 +0000 support-swapna crooksb,

Sorry that you are seeing this problem.
It looks like there is a problem downloading the required dependency to your maven local repository.

1. Are you behind a firewall or proxy? If yes, then did you setup the proxy details in the IDE here : Window > Preferences > General > Network Connections? In addition to setting up proxy details in the IDE, you should also configure the maven settings.xml with the proxy details and set the path to the settings.xml file in the IDE here : Window>Preferences>MyEclipse>Maven4MyEclipse>User Settings

If the settings.xml file is not yet there, then you need to create one called settings.xml in [user]/.m2 directory and add in the bits for the proxy:

2. Can you please clarify if there is a folder for 2.6 in
[user home]/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/ ? If yes, then delete it, right click on the project > Maven > Update Project, check ‘Force Update of Stapshots/Releases’ and see if it fixes the problem.

3. If the above suggestion does not work, then you can add the missing plugin entry to the project’s pom.xml, try the Maven > Update Project with ‘Force Update of Stapshots/Releases’ checked. Once the Maven downloads the plugin, you can remove the entry from the pom.xml.
Here is the code snippet to add to the pom.xml :

4. If none of the suggestions work, then please share with us the complete workspace log file located at workspace dir/.metadata/.log (rename it to .txt and attach it) along with details about your network, if you have any anti virus software running which might be blocking the download of the plugins from the maven repo etc.

Apologies for inconvenience caused. Please let us know how you get on with it.

Genuitec Support

]]> <![CDATA[Reply To: Code mining]]> Tue, 16 Oct 2018 23:56:15 +0000 ignaciom Hey,

The good news is that we are having consistent results for your project a cross different OSs. So We’ve started an investigation on what could be the issue here and found some interesting stackoverflow links talking about bad reference count, like what you have on your side, you can read about one here:

Although, the investigation did not end there, we followed on code how the references get calculated and found that, on the background is that the Typescript Language Server who is not returning a valid response when it get asked about the reference count to a given symbol in the file by sending the position where the symbol can be found in the file.

There should be something about this particular project/file reference structure that is causing the analysis to not complete. Unfortunately I can’t point you on what things to look for on your project.

Please do not hesitate to ask any other question.

Best Regards

]]> <![CDATA[Reply To: Code mining]]> Tue, 16 Oct 2018 22:15:42 +0000 beleta1 As I said in my edited reply the problem in Mac was a configuration one, the codelens setting were set to false. I did get some references in Mac as in Windows.

Regarding VSCode, no, I just used it once or twice.

]]> <![CDATA[Reply To: Code mining]]> Tue, 16 Oct 2018 21:45:10 +0000 ignaciom Thanks for all the details, we are now looking at these files. After a quick look on the OSx one it does look like the CodeMix engine is sending some of the Typescript reference count. Could you confirm that on this last run you did not get the reference count annotations on OSx?

Out of curiosity, do you regularly use VSCode? Just asking this to know if there could be some installed extensions out of what is installed via Eclipse, using the shared ~/.vscode.

I Will get back to you once we know more about this.

Best Regards

]]> <![CDATA[Reply To: Code mining]]> Tue, 16 Oct 2018 21:40:11 +0000 beleta1 And these are the Windows logs:

You must be logged in to view attached files.
]]> <![CDATA[Reply To: Code mining]]> Tue, 16 Oct 2018 21:27:45 +0000 beleta1 I am including here the Mac logs.

You must be logged in to view attached files.
]]> <![CDATA[Reply To: Code mining]]> Tue, 16 Oct 2018 21:02:31 +0000 ignaciom Hey,

Thanks for the screenshots, you are right this looks a bit odd, now that you mention that there are differences between osx and windows, it will help a lot if you could re-run this tests with an additional System property that generate some extra logging so we can follow the trace of this issue. To enable this property please follow these steps:

1. Shutdown your Eclipse
2. Edit the eclipse.ini file and add the following lines at the end of the file:
3. Start Eclipse again and try to get the reference count again in these same files you’ve taken the Screenshots.
4. This will generate some files at ~/.codemix/yyyy-mm-dd-hh-mm-ss.log

Once you are done just remove the lines from the eclipse.ini and restart your Eclipse so you don’t keep creating these extra log files. If you can, run these steps on both mac and windows.

Could you please share with us this log file, along with your workspace log files.

Best Regards