Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.96 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.96 KB

helix-config

Helix customized configuration: optimized to work with React, Typescript, Tailwind, Eslint and more 💥.

LSP required for this config

There are the required LSP to make this config work, you'll need to install them globally using your preferred package manager, I use volta but you can go with npm if you hate yourself that much.

In order to check if the language servers are being picked up by helix you can run hx --health or more the specific hx --health <language> (e.g: hx --health typescript).

You may also need some other packages installed globally, these are not mandatory but if they're not present in your project's package.json, things won't work. I prefer to have them installed globally so I don't end up typing :format and wait for nothing to happen.

What this config supports

Typescript

Typescript is the main focus: we spend the majority of our time working on typescript projects. The goal is to make the LSP-related DX as similar as possible to popular IDES like VsCode or WebStorm.

The configuration for typescript supports the typescript-language-server (obviously), tailwindcss-language-server, emmet-language-server and eslint-language-server. So in .ts, .tsx and .jsx files you get typescript, emmet and tailwind suggestions as well as eslint and typescript errors.

To keep the code clean and organized we use prettier.

Astro

coming soon.

Custom keybinding

coming soon.