diff --git a/README.md b/README.md index be487e54..a264ba76 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,10 @@ This npm module is bundled and distributed in the [monaco-editor](https://www.np ## Development -* `git clone https://github.com/Microsoft/monaco-css` -* `cd monaco-css` * `npm install .` -* `npm run prepublish` +* compile with `npm run compile` +* watch with `npm run watch` +* `npm run prepublishOnly` * open `$/monaco-css/test/index.html` in your favorite browser. ## License diff --git a/package-lock.json b/package-lock.json index 4e940396..b808d1ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,15 +11,15 @@ "dev": true }, "monaco-editor-core": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.16.0.tgz", - "integrity": "sha512-8tm8vq0SVuQ+VXZFtPIEIronK3102SYCWe8wviWu/5TV4zlDQcf4YdzI6A4CrNqbUc46dD0ngijaKWoRSViI8g==", + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.18.1.tgz", + "integrity": "sha512-euzXzmwjZFG0oAPGjICMwINcZBzQDyfGDYlAR5YNMBJZO9Bmkqq1xpTTze/qQ0KKbVmawFXiwgUbg7WVgebP9Q==", "dev": true }, "monaco-languages": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/monaco-languages/-/monaco-languages-1.7.0.tgz", - "integrity": "sha512-2YrYlkCF/g2H0PDt/ERax2IStaihZ17v1JkYnj2xEALYNah0pbQvGH9gXJvdVx0EpBoSRmxVnrwwM2oBWWOjSQ==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/monaco-languages/-/monaco-languages-1.8.0.tgz", + "integrity": "sha512-vC/lqNgSslQT3vSlNOpyT34ELK0eoNbA/rHUvTUjQemIiR1GpRMKhuwB21BqzWk+0MjZuJydGSCQMCebBge7jg==", "dev": true }, "monaco-plugin-helpers": { diff --git a/package.json b/package.json index 3aaf369a..49160cbc 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "url": "https://github.com/Microsoft/monaco-css/issues" }, "devDependencies": { - "monaco-editor-core": "0.16.0", - "monaco-languages": "1.7.0", + "monaco-editor-core": "0.18.1", + "monaco-languages": "1.8.0", "monaco-plugin-helpers": "^1.0.2", "requirejs": "^2.3.6", "typescript": "3.3.3333", diff --git a/src/languageFeatures.ts b/src/languageFeatures.ts index 2bfc87c0..891575b3 100644 --- a/src/languageFeatures.ts +++ b/src/languageFeatures.ts @@ -472,6 +472,7 @@ export class DocumentSymbolAdapter implements monaco.languages.DocumentSymbolPro detail: '', containerName: item.containerName, kind: toSymbolKind(item.kind), + tags: [], range: toRange(item.location.range), selectionRange: toRange(item.location.range) }));