Skip to content

Commit

Permalink
Add instruction to develop css-language-features
Browse files Browse the repository at this point in the history
  • Loading branch information
octref committed Jun 5, 2018
1 parent fc2b8d9 commit 6745661
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions extensions/css-language-features/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# CSS Language Features

This extension offers CSS/SCSS/Less support in VS Code.

## Development

- `yarn`
- `yarn` at `/server`
- Run the `Launch Extension` target
- Run `Reload Window` command in the launched instance to reload the extension

### Try vscode-css-languageservice

[`vscode-css-languageservice`](https://github.com/Microsoft/vscode-css-languageservice) contains the language smarts for CSS/SCSS/Less. This extension only wraps the service into a Language Server for VS Code.

If you want to fix CSS/SCSS/Less issues or make improvements, you can:

- Clone `vscode-css-languageservice` and compile it
- Run `npm link` in `vscode-css-languageservice`
- In extension, run `npm link vscode-css-languageservice` in `/server`
- Now when you run `Launch Extension`, the launched instance will use your version of `vscode-css-languageservice`.

2 comments on commit 6745661

@connorshea
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you "Run the Launch Extension target"? I'm not sure I follow what I'm supposed to do here.

@octref
Copy link
Contributor Author

@octref octref commented on 6745661 Jun 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@connorshea
image

In the debug View in the sidebar. I'll clarify it a bit.

Please sign in to comment.