TypeScript

Add this URL to your Eclipse Installation to reach this solution's update site.

Neon (4.6)
Mars (4.5)
Luna (4.4)
Kepler (4.3)
Juno (4.2, 3.8)
Previous to Juno (<=4.1)
Oxygen (4.7)
Photon (4.8)
2018-09 (4.9)


Learn more...

Details Group Tabs

Details

An Eclipse plug-in for developing in the TypeScript language.

Check out the project on GitHub: https://github.com/palantir/eclipse-typescript

Categories:
Additional Details
Eclipse Versions: 
Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), Oxygen (4.7), Photon (4.8), 2018-09 (4.9)
Platform Support: 
Windows, Mac, Linux/GTK
Organization Name: 
Date Created: 
Wed, 2013-07-31 15:32
Development Status: 
Production/Stable
License: 
Apache 2.0
Date Updated: 
Thu, 2018-08-23 15:08
Metrics
DateRankingInstallsClickthroughs
December 2018102/902492 (0.17%)7
November 2018101/9391039 (0.17%)24
October 2018103/9431038 (0.16%)17
September 201894/941983 (0.19%)7
August 201887/9391081 (0.21%)9
July 201891/9401123 (0.21%)21
June 201886/9471030 (0.21%)14
May 201895/9541029 (0.19%)7
April 201892/9461054 (0.19%)11
March 201883/9611290 (0.23%)9
February 201880/9401132 (0.24%)11
January 201884/9451141 (0.23%)24
View Data for all Listings
Errors
External Install Button

Marketplace Drag to Install button

By adding the following code below to your website you will be able to add an install button for TypeScript.

HTML Code:


Markdown Syntax:



Output: Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client
Sunday, December 16, 2018 - 16:46
jmussons's picture

The plugin is givin me errors on classes that contain constants declared as static readonly... It seems that not all latest typescript language features are supported

aminchev6sh's picture

Hi folks,

Thanks for trying to make the typescript development more easy.

I am using your plugin since few weeks on eclipse Neon.
There is one issue that make my Eclipse-Life not so fun.
When i make changes to a TypeScript file, i want to look the changes in der Compare-Editor, but it is not possible. A new tab is created but without content.

In the error log are the following infos:

Exception Stack Trace

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
	at org.eclipse.swt.SWT.error(SWT.java:4533)
	at org.eclipse.swt.SWT.error(SWT.java:4448)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3827)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	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.equinox.launcher.Main.invokeFramework(Main.java:673)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
Caused by: java.lang.NullPointerException
	at com.palantir.typescript.text.reconciler.PresentationReconciler.getDamagedRegion(PresentationReconciler.java:132)
	at com.palantir.typescript.text.reconciler.PresentationReconciler.processEvent(PresentationReconciler.java:120)
	at com.palantir.typescript.text.reconciler.PresentationReconciler.access$0(PresentationReconciler.java:119)
	at com.palantir.typescript.text.reconciler.PresentationReconciler$MyTextListener.textChanged(PresentationReconciler.java:305)
	at org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2699)
	at org.eclipse.jface.text.TextViewer.fireRedrawChanged(TextViewer.java:4914)
	at org.eclipse.jface.text.TextViewer.disableRedrawing(TextViewer.java:4973)
	at org.eclipse.jface.text.TextViewer.setRedraw(TextViewer.java:4998)
	at org.eclipse.jface.text.TextViewer.setRedraw(TextViewer.java:4978)
	at org.eclipse.compare.contentmergeviewer.TextMergeViewer$ContributorInfo.updateViewerDocument(TextMergeViewer.java:785)
	at org.eclipse.compare.contentmergeviewer.TextMergeViewer$ContributorInfo.internalSetDocument(TextMergeViewer.java:746)
	at org.eclipse.compare.contentmergeviewer.TextMergeViewer$ContributorInfo.setDocument(TextMergeViewer.java:663)
	at org.eclipse.compare.contentmergeviewer.TextMergeViewer.updateContent(TextMergeViewer.java:3068)
	at org.eclipse.compare.contentmergeviewer.ContentMergeViewer.internalRefresh(ContentMergeViewer.java:811)
	at org.eclipse.compare.contentmergeviewer.ContentMergeViewer.inputChanged(ContentMergeViewer.java:710)
	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:286)
	at org.eclipse.compare.CompareViewerSwitchingPane.setInput(CompareViewerSwitchingPane.java:277)
	at org.eclipse.compare.internal.CompareContentViewerSwitchingPane.setInput(CompareContentViewerSwitchingPane.java:191)
	at org.eclipse.compare.CompareEditorInput.internalSetContentPaneInput(CompareEditorInput.java:845)
	at org.eclipse.compare.CompareEditorInput.access$7(CompareEditorInput.java:843)
	at org.eclipse.compare.CompareEditorInput$10.run(CompareEditorInput.java:779)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.compare.CompareEditorInput.feed1(CompareEditorInput.java:773)
	at org.eclipse.compare.CompareEditorInput.feedInput(CompareEditorInput.java:751)
	at org.eclipse.compare.CompareEditorInput.createContents(CompareEditorInput.java:555)
	at org.eclipse.compare.internal.CompareEditor.createCompareControl(CompareEditor.java:462)
	at org.eclipse.compare.internal.CompareEditor.access$6(CompareEditor.java:422)
	at org.eclipse.compare.internal.CompareEditor$1$1.run(CompareEditor.java:378)
	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:162)
	at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:154)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
	... 23 more

Session Data:

eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_121
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

The Plugin info

Name: TypeScript
Version: 1.8.0.v20160504-1733	
Id: com.palantir.typescript.feature.feature.group
Provider: Palantir Technologies, Inc.

Ist the issue known?
Ist there something you can do about that?

mmisingnamelpu's picture

Ditto!

Very frustrating.

jpison's picture

I'm having the same problem comparing TypeScript files. I am able to compare them if I do the steps below:

- Window/Preferenes/General/Content Types
- Select "Text" content type
- Click "Add..."
- Add: *.ts

When you are done comparing you have to remove the *.ts file association that was just added or the editor does not recognize your files as TypeScript files but it is better than not being able to compare at all.

John

 

ptallman's picture

Great suggestion. I have a fix if you have the version of eclipse where the Content Types dialog has 3 list boxes (Content Types, File associations, and Associated editors). I am running STS 3.9.5_RELEASE on Mac OS, a co-worker is running 3.9.5_RELEASE on Windows and doesnt see 3 list boxes, only two so he can't use this fix.

But if you have the 3, do the following and you can do the compare AND still open ts files in the TypeScript editor.

1. Select 'Text' in the Content Types listbox and click the Add Child button. Call the new child TypeScript

2. In th File associations listbox, Add *.ts

3. In the Associated editors listbox, click Add and select the TypeScript Editor

Everything should work as expected now.

Regards,

Pat

jmussons's picture

Same problem here!!