This is the language server for css-blocks that can plug into any client, such as, vs code.
Contributing
-
yarn run compile
in the root folder ofcss-blocks
. This will compile all the code, including this package. - Open css-blocks from the workspace. Locate
css-blocks.code-workspace
file withincss-blocks
project. It should bring a pop up at the bottom that says something like “use workspace”. Click on it. If it does not, try the following steps: - from command palette, choose “Close workspace” - that should close everything and take you to the vscode start screen
- choose “Open folder”
- navigate to css-blocks and choose to open the css-blocks.code-workspace file directly
- Open the debug panel by pressing
cmd+shift+D
- At the top there should be a drop down. select Client + Server
- After that, pressing f5 or clicking the “play” icon next to the selected configuration should run the extension
- If youre making changes to the server and you need to compile them as the
changes are made, go to
css-blocks/packages/@css-blocks/language-server
and runyarn watch