facebook

Usage Experience

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #514747 Reply

    pebl
    Participant

    Hi, I have had some time to actually use webclipse.

    This is just a number of observations that I have made.
    I have no idea which webclipse features that does/does not work, so I just list all problems I have had. The setup has not change which may also cause a lot of things not to work.

    1) tsLint settings does not work as expected.
    Even though the project has a tslint.json and I have asked to use it, the editor does not actually help in that regard. I could just as will have been using notepad with syntax highligtning.

    2) No import help.
    I dont get warnings if an import statement is wrong/missing.
    I currently need to press f3 to check that it leads somewhere.

    3) Refactoring does not update imports.
    If I move a tsfile from 1 path to another, imports statements are not updated.

    4) Open type does not work.
    I cannot open type for a class. Open resource works.

    5) Often proposals does not work.
    Say if I write “this.” I often does not get a proposal popup.

    I have gotten a number of warnings in Error Log.
    I have cut stacktraces a bit down.
    If either of them are of interest, I can give the full stacktrace and try to reproduce them.
    (There were simple too many to remember exactly what I did for all of them).

    6)
    An internal error occurred during: “Compute TypeScript Proposals”.
    java.lang.RuntimeException: Error parsing result: {“entries”:[{“name”:”browserify-test”,”kind”:”directory”,”kindModifiers”:””,”sortText”:”browserify-test”,”replacementSpan”:{“start”:371,”length”:11}},{“name”:”crypto”,”kind”:”directory”,”kindModifiers”:””,”sortText”:”crypto”,”replacementSpan”:{“start”:371,”length”:11}},{“name”:”mae20″,”kind”:”directory”,”kindModifiers”:””,”sortText”:”mae20″,”replacementSpan”:{“start”:371,”length”:11}},{“name”:”net”,”kind”:”directory”,”kindModifiers”:””,”sortText”:”net”,”replacementSpan”:{“start”:371,”length”:11}},{“name”:”server”,”kind”:”directory”,”kindModifiers”:””,”sortText”:”server”,”replacementSpan”:{“start”:371,”length”:11}},{“name”:”util”,”kind”:”directory”,”kindModifiers”:””,”sortText”:”util”,”replacementSpan”:{“start”:371,”length”:11}}],”isMemberCompletion”:false,”isNewIdentifierLocation”:true}
    at com.genuitec.eclipse.typescript.services.internal.Bridge.call(Bridge.java:142)
    at com.genuitec.eclipse.typescript.services.internal.Bridge.call(Bridge.java:120)
    at com.genuitec.eclipse.typescript.services.language.LanguageEndpoint.getCompletionsAtPosition(LanguageEndpoint.java:181)
    at com.genuitec.eclipse.typescript.text.FileLanguageService.getCompletionsAtPosition(FileLanguageService.java:290)
    at com.genuitec.eclipse.typescript.contentassist.AsyncCompletionProposalsAssistant$ComputeCompletionsJob.run(AsyncCompletionProposalsAssistant.java:185)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
    Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of com.genuitec.eclipse.typescript.services.language.ScriptElementKind from String value ‘directory’: value not one of declared Enum instance names: [UNKNOWN, WARNING, ERROR, KEYWORD, SCRIPT_ELEMENT, MODULE_ELEMENT, CLASS_ELEMENT, LOCAL_CLASS_ELEMENT, INTERFACE_ELEMENT, TYPE_ELEMENT, ENUM_ELEMENT, VARIABLE_ELEMENT, LOCAL_VARIABLE_ELEMENT, FUNCTION_ELEMENT, LOCAL_FUNCTION_ELEMENT, MEMBER_FUNCTION_ELEMENT, MEMBER_GET_ACCESSOR_ELEMENT, MEMBER_SET_ACCESSOR_ELEMENT, MEMBER_VARIABLE_ELEMENT, CONSTRUCTOR_IMPLEMENTATION_ELEMENT, CALL_SIGNATURE_ELEMENT, INDEX_SIGNATURE_ELEMENT, CONSTRUCT_SIGNATURE_ELEMENT, PARAMETER_ELEMENT, TYPE_PARAMETER_ELEMENT, PRIMITIVE_TYPE, LABEL, ALIAS, CONST_ELEMENT, LET_ELEMENT, IMPORTS]
    at [Source: {“entries”:[{“name”:”browserify-test”,”kind”:”directory”,”kindModifiers”:””,”sortText”:”browserify-test”,”replacementSpan”:{“start”:371,”length”:11}},{“name”:”crypto”,”kind”:”directory”,”kindModifiers”:””,”sortText”:”crypto”,”replacementSpan”:{“start”:371,”length”:11}},{“name”:”mae20″,”kind”:”directory”,”kindModifiers”:””,”sortText”:”mae20″,”replacementSpan”:{“start”:371,”length”:11}},{“name”:”net”,”kind”:”directory”,”kindModifiers”:””,”sortText”:”net”,”replacementSpan”:{“start”:371,”length”:11}},{“name”:”server”,”kind”:”directory”,”kindModifiers”:””,”sortText”:”server”,”replacementSpan”:{“start”:371,”length”:11}},{“name”:”util”,”kind”:”directory”,”kindModifiers”:””,”sortText”:”util”,”replacementSpan”:{“start”:371,”length”:11}}],”isMemberCompletion”:false,”isNewIdentifierLocation”:true}; line: 1, column: 38] (through reference chain: java.util.ArrayList[0])
    at com.fasterxml.jackson.databind.exc.InvalidFormatException.from(InvalidFormatException.java:55)
    at com.fasterxml.jackson.databind.DeserializationContext.weirdStringException(DeserializationContext.java:883)
    at com.fasterxml.jackson.databind.deser.std.EnumDeserializer._deserializeAltString(EnumDeserializer.java:118)
    at com.fasterxml.jackson.databind.deser.std.EnumDeserializer.deserialize(EnumDeserializer.java:72)
    at com.fasterxml.jackson.databind.deser.std.EnumDeserializer.deserialize(EnumDeserializer.java:18)
    at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:523)
    at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:381)
    at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1064)

    7)
    org.osgi.framework.ServiceException: Exception in org.apache.felix.scr.impl.manager.SingleComponentManager.getService()
    at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:222)
    at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)
    at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:508)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getSafeService(ServiceRegistrationImpl.java:447)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHookPrivileged(ServiceRegistry.java:1275)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHooksPrivileged(ServiceRegistry.java:1263)
    at org.eclipse.osgi.internal.weaving.WovenClassImpl.callHooks(WovenClassImpl.java:242)
    at org.eclipse.osgi.internal.weaving.WeavingHookConfigurator.processClass(WeavingHookConfigurator.java:56)
    at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:616)

    8)
    [Genuitec Patches Weaver(1)] Could not load implementation object class com.genuitec.eclipse.patches.internal.InstrumentationWeaver
    java.lang.ClassNotFoundException: com.genuitec.eclipse.patches.internal.InstrumentationWeaver cannot be found by com.genuitec.eclipse.patches_1.7.2.201702281648
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:475)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:386)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:378)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)

    9)
    Unhandled event loop exception
    java.lang.NullPointerException
    at java.util.Objects.requireNonNull(Unknown Source)
    at java.util.Arrays$ArrayList.<init>(Unknown Source)
    at java.util.Arrays.asList(Unknown Source)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:560)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeFilteredProposals(CompletionProposalPopup.java:1493)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$3(CompletionProposalPopup.java:1482)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup$1.run(CompletionProposalPopup.java:357)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4216)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3823)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1133)

    #514882 Reply

    support-swapna
    Moderator

    Pebl,

    Thank you for trying Webclipse. Sorry that you are seeing problems. I assume you are working with the latest Webclipse build 2017 CI3a. If no, then please update from Help > Check for Updates.

    1) tsLint settings does not work as expected.
    Can you please give us more details about the configuration of the project, any framework being used and the structure of the project to help us investigate further?

    2) No import help. I dont get warnings if an import statement is wrong/missing.
    I could not replicate it at my end. The import statements are validated and marked errors if they are invalid. Can you please send us a screenshot to help us get a visual?

    3) Refactoring does not update imports. If I move a tsfile from 1 path to another, imports statements are not updated.
    This is not yet supported.

    4) Open type does not work. I cannot open type for a class. Open resource works.
    If you are trying to open TypeScript classes using Open Type, then it is not yet supported. Please let us know which type of classes you are trying to open.

    5) Often proposals does not work.Say if I write “this.” I often does not get a proposal popup.
    Can you please send us the complete error log file located at workspace dir/.metadata/.log?

    The errors reported in 7 and 8 are Eclipse related and they are fixed in Oxygen M6. If you are working with the latest version of Webclipse, CI3a, then you can ignore the exceptions.

    Apologies for inconvenience caused.Thank you for the detailed feedback.

    –Swapna
    MyEclipse Support

    #515029 Reply

    support-swapna
    Moderator

    Pebl,

    1) tsLint settings does not work as expected.

    In addition to the details about the project configuration, framework being used and the structure, please also provide the location of the tslint.json (relative to the project).

    Please also check the TypeScript page (right click on the project > Properties > TypeScript) if the detected tsconfig.json file is correct.Attached is the screenshot for your reference.

    –Swapna
    MyEclipse Support

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Usage Experience

You must be logged in to post in the forum log in