Skip to content

Commit

Permalink
Exthost: Integrate css-language-features plugin (onivim#957)
Browse files Browse the repository at this point in the history
* Lerna monorepo

* Improve URI parsing

* Formatting

* Add extensions/package.json

* Handle activation failed message

* Add activation event for languages

* Formatting

* Update

* Add work-around for configuration not being supported

* Add detailed logging for unhandled items

* Formatting

* Set up script to install built-in extension node_modules, too

* Start test case for CSS

* Update docker build script

* Test completion

* Debug logging in built files...

* Strongly type MessageType

* Update

* Remove cancellation token from exthost

* Formatting

* Fix up css test

* Formatting

* Clean up logging

* Formatting

* Remove commented lines in js-build-steps.yml

* Update gitattributes

* Remove nested switches, replace with Option.iter + Option.iter_none

* Bring back vscode-reasonml

* Generalize document selector

* Formatting

* Remove unused toString

* Fix node lockfile

* More tweaks / logging for automation

* Move LanguageFeatures to core app state

* Set up language feature registration

* Formatting

* Set up test to wait for suggest providers to get registered

* Fix language CSS test

* Formatting

* Disable diagnostics tests for windows at the moment
  • Loading branch information
bryphe authored Nov 27, 2019
1 parent 3a34cb3 commit 0788b68
Show file tree
Hide file tree
Showing 88 changed files with 18,209 additions and 9,932 deletions.
14 changes: 1 addition & 13 deletions .ci/js-build-steps.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
# Cross-platform set of build steps for building esy projects

steps:
- script: node install.js
displayName: 'js deps: npm install'
workingDirectory: node
- script: npm run build
displayName: 'js deps: npm build'
workingDirectory: node
# - script: npm run test
# displayName: 'textmate: npm test'
# workingDirectory: src/textmate_service
- script: rimraf node/node_modules
displayName: 'js deps: remove developer node_modules'
- script: node install.js --prod
workingDirectory: node
- script: node install-node-deps.js --prod
displayName: 'js deps: npm install --prod'
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@

# Hide lockfile updates
*esy.lock/* linguist-generated

# Hide vendored extension code
extensions/css-language-features/* linguist-generated
7 changes: 3 additions & 4 deletions docs/docs/for-developers/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@ esy bootstrap
esy build
```

### Build the back-end
### Install node dependencies

```sh
cd node
node install.js
node install-node-deps.js
```

> __NOTE:__ The non-standard `node install.js` step instead of `npm install` is necessary because the script picks up our _vendored_ node binary - and the native dependencies for the textmate service rely on being built with the same version of node that it uses at runtime.
> __NOTE:__ The non-standard `node install-node-deps.js` step instead of `npm install` is necessary because the script picks up our _vendored_ node binary.
### Run health-check

Expand Down
39 changes: 39 additions & 0 deletions extensions/css-language-features/CONTRIBUTING.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions extensions/css-language-features/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

142 changes: 142 additions & 0 deletions extensions/css-language-features/client/out/cssMain.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions extensions/css-language-features/client/out/cssMain.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions extensions/css-language-features/client/out/customData.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0788b68

Please sign in to comment.