GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - angelozerr/typescript.java: TypeScript IDE for Eclipse with JSDT & tsserver

BranchesTags
Open more actions menu

Latest commit

 

History

560 Commits
560 Commits

Folders and files

NameName
Last commit message
Last commit date
core
core
 
 
eclipse
eclipse
 
 
samples
samples
 
 
thirdparties/minimal-json
thirdparties/minimal-json
 
 
update-site
update-site
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 
pushToBintray.sh
pushToBintray.sh
 
 

Repository files navigation

⚠️ typescript.java is now OUTDATED, it's recommended to use Eclipse Wild Web Developer instead

typescript.java

Build Status Eclipse install

Goal of typescript.java is to provide the capability to consume TypeScript language Service with tsserver in a Java context. Any Java IDE like Eclipse, Netbeans, WebStorm could consume typescript.java.

TypeScript IDE

On top of core module typescript.java provides an Eclipse IDE integration with TypeScript.

JSDT TypeScript Completion

TypeScript IDE provides the following features:

  • Wizards:
    • New TypeScript Project
  • Editors:
    • JSX Editor
    • TypeScript Editor
      • Completion
      • Templates
      • Hyperlink
      • Hover
      • Validation
      • Quick Fixes
      • Code Folding
      • Code Lens
      • Formatting
      • Mark Occurrences
      • Find References
      • Refactoring
      • Outline
    • tsconfig.json Editor
    • tslint.json Editor
  • Compile on save
  • Debugging
  • Project Explorer
  • ATA

To install TypeScript IDE, please start to read Getting Started section.

This integration looks like tern.java; JSDT was extended (completion, hyperlink, hover, etc) to consumme the official TypeScript server tsserver.

Core Features

Once that TypeScript Service client which consumes tsserver is created with Java using core module, you can use it in any Java context (Eclipse, Netbeans, etc). typescript.java provides the capability to use TypeScript language Service with tsserver with SWT :

  • contentassist which uses typescript.java. If you start the SWT TypeScriptEditor demo, you will see contentassist available for JavaScript :

SWT TypeScript Editor

Similar Project

Java

See https://github.com/BestSolution-at/java-tsserver which provides the capability to consume tsserver with Java. So why developping an another tsclient?

  • java-tsserver requires Java8. Eclipse IDE uses Java7.
  • Uses tsclient API instead of using TypeScript Language Service API.

Eclipse

  • Eclipse TypeScript
  • TypeEcs

Those plugins provide a lot of advanced features for TypeScript (debug, refactoring, etc) compare to typescript.java. So why developping an another Eclipse Plugins?

Here my idea:

  • use JSDT JavaScript Editor instead of developping custom editor (DONE for completion, hyperlink, hover).
  • use WTP Validator instead of Builder for validation (DONE).
  • consume "official" tsserver instead of consumming custom bridge language service like Eclipse TypeScript/TypeEcs have done:
  • user will able to update the tsserver just with "npm install typescript".
  • other editors consumes "tsserver", so there are a big community which uses "tsserver":
    • Visual Studio Code (Microsoft)
    • Typescript-Sublime-plugin (Microsoft)
    • A Vim plugin for TypeScript
  • use async "event" of tsserver to improve performance for validation for instance.
  • use async completion, etc

About

TypeScript IDE for Eclipse with JSDT & tsserver

github.com/Microsoft/TypeScript

Topics

eclipsetsservertypescript

Resources

Readme
MIT license
Activity

Stars

91 stars

Watchers

14 watching

Forks

14 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.