Skip to content

Editors

Patrick Roza edited this page May 5, 2021 · 8 revisions

VS Code

Select the right Typescript Version

VS Code ships with built-in Typescript, which often may be older than the one you should or wish to use in your Project. Make sure to select the projects' node_modules typescript version by opening a TS file, then on the right side down, clicking "Typescript" and then following the menus to select the project typescript version.

Simplifying and sharing Imports and other Snippets

Plugins

Linting and other editor configuration

  • "dbaeumer.vscode-eslint"
  • "editorconfig.editorconfig"

Testing

  • "hbenl.vscode-test-explorer"
  • "kavod-io.vscode-jest-test-adapter"

WebStorm

Inspect reasonable type signatures

To get reasonable type signatures, hold the CMD key (Mac) while hovering over the type.

Standard Hover: Standard Hover

Command Hover: Command Hover

Simplifying and sharing Imports

WebStorm sample

You can then use e.g impT and auto complete it to import * as T from "@effect-ts/core/Effect"

Anyone any tips on making these portable and shared within a repo (so that they can also differ per Project, e.g for module augmentation)?