+
![](https://s3.amazonaws.com/media-p.slid.es/uploads/80378/images/3991455/logo-0.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/80378/images/3991446/haxe-logo-glyph.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/80378/images/3991447/19169749.png)
=
Visual studio Code
- First released by Microsoft in 2015
- Constantly improving with montly releases
- Cross-platform, free and open-source
- Based on Electron and written in TypeScript
- Minimalistic, yet very powerful
- Easily extended
Visual studio Code
![](https://s3.amazonaws.com/media-p.slid.es/uploads/80378/images/3991844/vshaxe1.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/80378/images/3991843/vshaxe2.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/80378/images/3991842/vshaxe3.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/80378/images/3991882/vshaxe4.png)
Language server
- Protocol for IDE services
- Simple, based on JSON-RPC
- Language-agnostic
- Editor-agnostic
- Many clients (vscode, eclipse, vim, emacs, atom, sublime, etc)
- Many servers (haxe, js, ts, ocaml, java, c#, go, rust, php, c++, etc)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/80378/images/4038552/a26451292adc6af4c735e48820c0a4f4.png)
LANGUAGE SERVER
![](https://s3.amazonaws.com/media-p.slid.es/uploads/80378/images/3991909/haxe-logo.png)
- Controls and encapsulates Haxe completion server
- Written in Haxe!
- (Should be) possible to use without vshaxe
VSHAxe
- Extension for VS Code (but not only)
- Syntax highlighting
- IDE features throuh Haxe Language Server
- Tasks, Dependency explorer, and other quality of life features
- Also written in Haxe, easy to contribute
- Great documentation!
Usability and Extensibility
- Zero-configuration setup with HXML files
- Extensible by third-party extensions
- Lime extension is already there
- Easy switching between configurations
VS Code externs
- VS Code is easily extended
- Develop tools for your specific needs
- See marketplace for inspiration
- Haxe externs available (and used for vshaxe, codedox, vscode-checktyle, lime extension, etc).
Future plans
- Work on Haxe compiler for better IDE services (code hints, refactoring, etc.)
- Integrate hxparser for code structure awareness.
- Implement/improve coding and debug workflow for Haxe targets
Questions?
Dan Korostelev (@nadako)
Haxe Summit 2017
VSHaxe
By Dan Korostelev
VSHaxe
- 2,129