Genuitec » All Posts Mon, 21 May 2018 05:36:46 +0000 en-US <![CDATA[Reply To: Angular ide 2017 installation stuck after restart on splash window]]> Mon, 21 May 2018 05:47:37 +0000 support-swapna vasyl.yarmamedov,

Glad that you could proceed with the setup.
A bug is filed for the dev team to work on it. We will surely get back to you in case we need more details.

Apologies for inconvenience caused. Please let us know if you see any other issues.

Genuitec Support

]]> <![CDATA[Reply To: Not able to open typescript files]]> Mon, 21 May 2018 05:22:25 +0000 support-swapna Gustavo,

Sorry that you are seeing this issue. Thank you for the error details and the screenshot.

1. Can you please clarify if you see the problem with .ts files in a particular project or all the projects in the workspace? What happens when you create a new typescript file? Does it open fine in the editor?

2. Please go to Window > Preferences > Typescript and check if the Node.js version is set to anything >=8.x. If it is set to 8.x and greater then our internal tooling (that runs the editor functions like validation, content assist, etc.) won’t work with. Note that this constraint only exists for the version of Node used by our tooling – version 8.x can be used to create Angular projects, for instance.

You should set the Node.js version in the TypeScript preferences page to anything < 8.x for the tooling to work. 3. If the above suggestion does not work, then can you please switch to a new workspace and check if the .ts files open fine? If the issue persists in a new workspace as well, then please share with us the full workspace log by clicking on the 'Export Log' icon in the Error Log view for further investigation. Apologies for inconvenience caused. Please let us know how you get on with this problem. --Swapna Genuitec Support

]]> <![CDATA[Formatting issues]]> Sat, 19 May 2018 23:13:27 +0000 Fedor Losev There should be an option to skip formatting the code on save if the file contains errors.

There are many kinds of errors like missing braces that may complete break formatting on the whole file.

(if you wonder why save file with errors, there may be many reasons; first, the AngularIDE frequently does not display all errors correctly until the file is saved, second, when working on multiple files you may want to see other file errors to take a decision on a fix).

Another issue is that broken by many errors format frequently does not go to undo as an atomic operation, CTRL+Z then restores line by line.

Yet another very annoying issue started to happen in recent months: sometimes (frequently enough), after fixing errors, the editor still shows apparently non-existent errors. Saving the file suddenly formats a line weirdly, inserting spaces in the middle of words or alike. Fix and save – this happens again. The only cure, in this case, is to cut and paste back the offending line, then error suddenly disappears and formatting works correctly.

]]> <![CDATA[Not able to open typescript files]]> Fri, 18 May 2018 21:29:13 +0000 Gustavo Hi,

I’m getting the following error when opening a any typescript file in Webclipse: “Failed to create the part’s controls”

Does someone know what could be the issue?

P.S.: I’m sending below part of the stacktrace:

at com.genuitec.eclipse.typescript.TypeScriptPlugin.getClassifier(
at com.genuitec.eclipse.typescript.text.reconciler.PresentationReconciler.<init>(
at com.genuitec.eclipse.typescript.text.TypeScriptSourceViewerConfiguration.getPresentationReconciler(
at org.eclipse.jface.text.source.SourceViewer.configure(
at com.genuitec.eclipse.typescript.text.TypeScriptSourceViewer.configure(
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(
at com.genuitec.eclipse.typescript.text.TypeScriptEditor.createPartControl(
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(
at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(
at org.eclipse.e4.core.internal.di.InjectorImpl.make(
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.lambda$0(
at org.eclipse.swt.widgets.Synchronizer.syncExec(
at org.eclipse.ui.internal.UISynchronizer.syncExec(
at org.eclipse.swt.widgets.Display.syncExec(
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(
at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(
at org.eclipse.ui.internal.WorkbenchPage.access$25(
at org.eclipse.ui.internal.WorkbenchPage$
at org.eclipse.swt.custom.BusyIndicator.showWhile(
at org.eclipse.ui.internal.WorkbenchPage.openEditor(
at org.eclipse.ui.internal.WorkbenchPage.openEditor(
at org.eclipse.ui.internal.WorkbenchPage.openEditor(
at org.eclipse.ui.ide.IDE.openEditor(
at org.eclipse.ui.ide.IDE.openEditor(
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(
at org.eclipse.ui.navigator.CommonNavigatorManager$
at org.eclipse.ui.OpenAndLinkWithEditorHelper$
at org.eclipse.jface.viewers.StructuredViewer$
at org.eclipse.ui.internal.JFaceUtil.lambda$0(
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(
at org.eclipse.ui.navigator.CommonViewer.handleOpen(
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(
at org.eclipse.jface.util.OpenStrategy.access$2(
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(
at org.eclipse.swt.widgets.EventTable.sendEvent(
at org.eclipse.swt.widgets.Display.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Display.runDeferredEvents(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
at org.eclipse.ui.internal.Workbench.lambda$3(
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.ui.internal.ide.application.IDEApplication.start(

You must be logged in to view attached files.
]]> <![CDATA[Reply To: Angular IDE does not use project local TSLint version]]> Fri, 18 May 2018 20:27:58 +0000 Fedor Losev Nothing did solve the problem, new workspace, etc. until I completely deleted node_modules and did npm install from scratch.

Not sure what and where is cached by Webclipse, but it seems like a bug (since ng lint works correctly with the same node_modules).

I did reproduce it more or less consistently, consider for example

x? = true;

tslint 5.8.0
ng lint and webclipse no warnings

tslint 5.10.0 has this bug
after installing 5.10.0: ng lint shows warning but webclipse shows no warning
delete node_modules, npm install: both ng lint and webclipse show warning

change back to 5.8.0, npm install: ng lint shows no warning, webclipse shows warning
delete node_modules, npm install: ng lint and webclipse show no warning

But after such cycle it started to pick the change without deleting node_modules after the IDE restart or after refresh+clean (refresh alone never helps despite that it runs some build; sometimes clean without restart helps sometimes changes picked only after full restart, not sure what is the pattern).

]]> <![CDATA[Reply To: Angular ide 2017 installation stuck after restart on splash window]]> Fri, 18 May 2018 15:44:51 +0000 vasyl.yarmamedov Hi,

Once i new what to look i found that when mouse hover over highlighted area (in attached screenshot) pointer changes shape to hand. Once i clicked in selected area “Next” button become available and i could move forward.
I did not encounter other problems so far.

Thanks for prompt help and let me know if your developers need more info troubleshoot this issue (i do use 4k monitor)

You must be logged in to view attached files.
]]> <![CDATA[Reply To: ¿How to configuring IDE for Angular 2 by default?]]> Fri, 18 May 2018 13:57:07 +0000 morilla7771 Hi Tony:

Thank you for support to my suggest!! :-D. I’ll post later a issue on the project page for Angular-CLI with my suggest too.

Best Regards,

Marco Antonio Mora Godoy

]]> <![CDATA[Reply To: Angular ide 2017 installation stuck after restart on splash window]]> Fri, 18 May 2018 13:26:21 +0000 support-swapna vasyl.yarmamedov,

Thank you for the screenshot. The dev team is looking into it.
Are you able to even select any of those options though partially visible? Does the timeline combo appear when you can select one of the options?

Apologies for the inconvenience caused. We will try to fix this problem soon.

Genuitec Support

]]> <![CDATA[Reply To: Angular ide 2017 installation stuck after restart on splash window]]> Fri, 18 May 2018 12:46:01 +0000 Johannes Maybe you have some large fonts or a HD screen or so.
But IMHO the design of this page is not really good. i did not even recognize there is something to be clicked – but my screen was ok.

]]> <![CDATA[Reply To: Angular ide 2017 installation stuck after restart on splash window]]> Fri, 18 May 2018 12:33:15 +0000 vasyl.yarmamedov Hmm, i new there is more on this screen then i actually see – my screen shot is in attached file – all options are chopped of and not visible. Why this window shows like in the screen shot?

You must be logged in to view attached files.
]]> <![CDATA[Reply To: Angular ide 2017 installation stuck after restart on splash window]]> Fri, 18 May 2018 12:14:39 +0000 support-swapna Johannes,

Sorry that you had trouble with the UI design. I have raised a bug for the dev team to improve the Welcome dialog experience.

Apologies for inconvenience caused. Please let us know if you see any issues with Angular IDE.

Genuitec Support

]]> <![CDATA[Reply To: Debug applicaton in Chrome does not work]]> Fri, 18 May 2018 10:34:28 +0000 Fedor Losev Thanks a lot, indeed uncommenting localhost entry in hosts solved the issue, working now as expected.

Though two old issues still make the feature limited (the main reason I use it rather rarely), I had hopes that these were fixed:
– No angular –host parameter support, need to manually retype URL every launch
– Console output is rudimentary and not so useful, no time, message type, coloring and, most important, locations with click to source navigation.

]]> <![CDATA[Reply To: Angular ide 2017 installation stuck after restart on splash window]]> Fri, 18 May 2018 10:34:14 +0000 Johannes This is REALLY a bad user interface. Took me a few re-installations of eclipse and research in the net to get it running. This type of selection is not at all intuitive!

]]> <![CDATA[Reply To: Debug applicaton in Chrome does not work]]> Fri, 18 May 2018 10:09:22 +0000 support-swapna Fedor,

Thank you for the details. Yes, I am on the latest Chrome version.

Couple of users recently reported similar problem with debugging due to bad hosts file.
Can you please refer to this thread and check if the suggestion to clean up the hosts file helps fix the issue at your end? :

If the above suggestion does not work, then please share with us the full log file by clicking on the ‘Export Log’ icon to help us investigate further. Also share with us the OS and version details.

Please let us know how you get on with it.

Genuitec Support

]]> <![CDATA[Reply To: Debug applicaton in Chrome does not work]]> Fri, 18 May 2018 09:53:23 +0000 Fedor Losev Hi Swapna,

It happens on the latest release in my workspace but let’s save investigation on my setup:

I install fresh Eclipse Oxygen with WTP
Install brand-new Angular IDE from marketplace
New Angular Project with defaults
Start Angular server
Click Chrome debug icon or Debug Application in Chrome

New Chrome private instance pops out but with empty URL. Subsequently, Webclipse shows “Failed to get tabs for debugging connect timed out”.

It did work few months before but I don’t know when it was broken. It may be broken by Chrome update, do you use latest Chrome 66.0.3359.181 to test?

Errors in the log:

And sometimes instead of timeout