Giter Site home page Giter Site logo

Comments (10)

derekcicerone-zz avatar derekcicerone-zz commented on May 31, 2024

The presence/absence of TypeScript files in the project has no effect. We've noticed that the option only appears in certain views though (for example it won't appear in the Package Explorer view). Please try enabling the builder via another view such as the Navigator.

from eclipse-typescript.

dirijor avatar dirijor commented on May 31, 2024

yes, in the Project Explorer view appears the "TypeScript Builder" line.
Thank you very much.

from eclipse-typescript.

dirijor avatar dirijor commented on May 31, 2024

...but crashed:

Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
java.lang.IllegalStateException: The node process has crashed.
at com.palantir.typescript.services.Bridge.processRequest(Bridge.java:117)
at com.palantir.typescript.services.Bridge.call(Bridge.java:81)
at com.palantir.typescript.services.language.LanguageService.getAllDiagnostics(LanguageService.java:103)
at com.palantir.typescript.TypeScriptBuilder.updateMarkers(TypeScriptBuilder.java:197)
at com.palantir.typescript.TypeScriptBuilder.processFiles(TypeScriptBuilder.java:130)
at com.palantir.typescript.TypeScriptBuilder.fullBuild(TypeScriptBuilder.java:99)
at com.palantir.typescript.TypeScriptBuilder.build(TypeScriptBuilder.java:78)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

from eclipse-typescript.

derekcicerone-zz avatar derekcicerone-zz commented on May 31, 2024

Figured out the problem - this should work in the Package Explorer now. Very tricky :)

from eclipse-typescript.

derekcicerone-zz avatar derekcicerone-zz commented on May 31, 2024

Just noticed the part about the crash (aggressive email filters blocked the previous comment). Do you have a repro for that?

from eclipse-typescript.

dirijor avatar dirijor commented on May 31, 2024

Yes, see the screen shot.

If you want to have more information then let me know me.

eclipse

from eclipse-typescript.

derekcicerone-zz avatar derekcicerone-zz commented on May 31, 2024

Hmm, that's a bit troubling. We haven't seen this issue before and getting a repro might involve sending us the entire project. Can you try updating to the latest release? I made some changes yesterday that might help. Otherwise you might want to trying debugging this. There are instructions on the wiki for how to setup and run Eclipse to debug itself (https://github.com/palantir/eclipse-typescript/wiki).

from eclipse-typescript.

dirijor avatar dirijor commented on May 31, 2024

Thanks, the latest update has brought a lot. Is there a way to exclude directories from compiling (TypeScript)?
For example, I would like to exclude the directory "typings"

image

from eclipse-typescript.

derekcicerone-zz avatar derekcicerone-zz commented on May 31, 2024

Awesome, thats great to hear. Hehe, oh yeah - compiling the d.ts files is kinda silly. Could you please open a new issue to track that? Should be easy to fix. I'm guessing just skipping d.ts files is enough for this specific issue, right? We have another issue tracking a preference for setting the exact folders to compile for a given project but that one is gonna be a bit further out (perhaps a few weeks).

from eclipse-typescript.

dirijor avatar dirijor commented on May 31, 2024

yes, skipping d.ts files is enough for me. I will open a new issuse for this problem.
To set exact folders to compile is for me the better way too.

from eclipse-typescript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.