- This topic has 7 replies, 2 voices, and was last updated 5 years, 8 months ago by ignaciom.
-
AuthorPosts
-
judosParticipantHello there,
After I downloaded the newest eclipse (eclipse-java-2018-12-R-win32-x86_64) I installed CodeMix for eclipse and now I’m seeing a new warning in my problems view:
“Description Resource Path Location Type
Implementation of project facet webclipse.typescript could not be found. Functionality will be limited. immo-frontend Unknown Faceted Project Problem”I already found this topic but so far I didn’t get what I can do to fix it: https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/
Eclipse build: (ide for java developers)
Version: 2018-12 (4.10.0)
Build id: 20181214-0600Under Plug-ins I find none when I filter by “typescript”.
Installed software is:
Angular IDE by CodeMix 3.0.0.201902142200
Angular Tools by CodeMix (same version)
CodeMix Essentials
CodeMix Extended SuiteThanks for your help.
ignaciomModeratorHey,
CodeMix should be removing the project facet webclipse.typescript since it is deprecated in CodeMix and is no longer being used, unfortunately, there is a bug around this area and it is not removing it. The workaround for this would be to manually remove the facet from the .project file located inside your project directory, this will get rid of the warning you see, and all should work.
Best Regards
Ignacio
judosParticipantSo my .project file looks like this:
<?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>immo-frontend</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.wst.validation.validationbuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.wst.common.project.facet.core.builder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.genuitec.eclipse.typescript.typeScriptBuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.wst.common.project.facet.core.nature</nature> <nature>org.eclipse.wst.jsdt.core.jsNature</nature> </natures> </projectDescription>
There’s not really a webclipse.typescript here. Which part do you mean should be removed?
ignaciomModeratorHey,
My bad, I was thinking on natures but this is a facet. I think there are two ways to get rid of this facet, once is look on the project properties dialog and look on the “Project Facets”, here you’ll see a list of facets, try to de-select the typescript facet, if you can’t see this facet listed close eclipse and edit the following file inside the project directory
.settings/org.eclipse.wst.common.project.facet.core.xml
, you should see something like.<?xml version="1.0" encoding="UTF-8"?> <faceted-project> <installed facet="wst.jsdt.web" version="1.0"/> <installed facet="webclipse.typescript" version="1.0"/> </faceted-project>
Just remove this facet line and restart Eclipse.
Best Regards
Ignacio
judosParticipantCool that seems to have worked! Thanks for the solution.
Another off-topic question:
Can I set formatting somewhere to tabs-only? Didn’t find any option in the codemix project settings. And I don’t know where to find documentation for the advanced configuration in the settings.json editor…Cheers
ignaciomModeratorHey,
So you don’t want to use spaces, and use tabs, is that correct? You can change this by going to Window -> Preferences -> CodeMix -> Settings -> Workspace Settings, once you are here you’ll see a table of settings and a text field to filter the table, in this text field type. editor.insertSpaces this one is a boolean setting by default is set to true, this means that it will use spaces instead of tabs, by setting it to false you’ll keep using tabs. If you want to keep using spaces but want to modify the number of spaces you’ll want to modify the editor.tabSize setting.
Best Regards
Ignacio
judosParticipantHey Ignacio,
Ah ok, there was no description for this option and I didn’t think about that. I thought it disables the whole insertSpaceAfter… options…
Anyway questions solved.
Thanks a lot for your quick help!
Cheers,
Julian
ignaciomModeratorJulian,
I’m glad to hear this clarify your question, we are now currently working on this area. All of these settings will be a bit more clear for our next release. Mean while please do not hesitate to ask any question about any other setting.
Best Regards
Ignacio -
AuthorPosts