Skip to content

Commit 6fcd0e0

Browse files
committed
New editor
1 parent c97b825 commit 6fcd0e0

File tree

3,039 files changed

+1059532
-219696
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,039 files changed

+1059532
-219696
lines changed

packages/app/config/webpack.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ module.exports = {
451451
force: true,
452452
},
453453
{
454-
from: '../../standalone-packages/monaco-editor/release/min/vs',
454+
from: '../../standalone-packages/vscode-editor/release/min/vs',
455455
to: 'public/vscode1/vs',
456456
force: true,
457457
},
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
/.idea/
2-
/*.iml
31
/node_modules/

standalone-packages/monaco-editor/CHANGELOG.md

Lines changed: 0 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,5 @@
11
# Monaco Editor Change log
22

3-
## [0.14.3] (17.08.2018)
4-
* Fixes TypeScript/JavaScript coloring of regular expressions https://github.com/Microsoft/monaco-editor/issues/1009
5-
6-
## [0.14.2] (10.08.2018)
7-
* Reverts https://github.com/Microsoft/monaco-editor/pull/981
8-
9-
## [0.14.1] (10.08.2018)
10-
* Fixes Find All References (https://github.com/Microsoft/vscode/issues/56160)
11-
12-
## [0.14.0] (10.08.2018)
13-
### New & Noteworthy
14-
* Using tree-shaking to reduce the amount of shipped code.
15-
* TypeScript and JavaScript coloring is now done with Monarch.
16-
* `typescriptServices` is no longer loaded on the UI thread, this helps with webpack's bundle output size.
17-
* Added coloring for: apex, azcli, clojure, powerquery, rust, scheme and shell.
18-
* Added sub-word navigation commands.
19-
* Added font zoom commands.
20-
* Syntax highlighting for deleted lines in inline diff editor.
21-
* Highlighted indent guide.
22-
* Column selection using middle mouse button.
23-
* Added editor options: `scrollBeyondLastColumn`, `hover`, `suggest`, `highlightActiveIndentGuide`, `showUnused`.
24-
* Added `setTokensProvider` with `EncodedTokensProvider`.
25-
* Added `monaco.languages.getEncodedLanguageId` to get the numeric language id.
26-
* `DefinitionProvider.provideDefinition`, `ImplementationProvider.provideImplementation`, `TypeDefinitionProvider.provideTypeDefinition` can now return a `DefinitionLink`.
27-
28-
### Breaking Changes
29-
* Removed no longer used `Severity`.
30-
* Renamed `IEditor.isFocused` to `IEditor.hasTextFocus`.
31-
* Renamed `ICodeEditor.onDidFocusEditor` to `ICodeEditor.onDidFocusEditorWidget`.
32-
* Renamed `ICodeEditor.onDidBlurEditor` to `ICodeEditor.onDidBlurEditorWidget`.
33-
* `DocumentSymbolProvider.provideDocumentSymbols` must now return `DocumentSymbol[]`.
34-
35-
### Thank you
36-
37-
Contributions to `monaco-editor`:
38-
39-
* [Ali Mirlou (@AliMirlou)](https://github.com/AliMirlou): Fix typo [PR #952](https://github.com/Microsoft/monaco-editor/pull/952)
40-
* [Avelino (@avelino)](https://github.com/avelino): added clojure exampple [PR #904](https://github.com/Microsoft/monaco-editor/pull/904)
41-
* [Sebastián Gurin (@cancerberoSgx)](https://github.com/cancerberoSgx): fix small error in integration docs [PR #957](https://github.com/Microsoft/monaco-editor/pull/957)
42-
* [Haegyun Jung (@haeguri)](https://github.com/haeguri): Fix playground sample option [PR #962](https://github.com/Microsoft/monaco-editor/pull/962)
43-
(https://github.com/Microsoft/monaco-editor/pull/914)
44-
* [Myles Scolnick (@mscolnick)](https://github.com/mscolnick): add sideEffects false for tree-shaking in webpack [PR #981](https://github.com/Microsoft/monaco-editor/pull/981)
45-
* [Niklas Mollenhauer (@nikeee)](https://github.com/nikeee): Fix hash comment in xdot sample [PR #916](https://github.com/Microsoft/monaco-editor/pull/916)
46-
* [Remy Suen (@rcjsuen)](https://github.com/rcjsuen): Add folding provider sample to the playground [PR #878](https://github.com/Microsoft/monaco-
47-
48-
Contributions to `monaco-typescript`:
49-
50-
* [Fathy Boundjadj (@fathyb)](https://github.com/fathyb): Use Mardown code block for hover tooltip [PR #20](https://github.com/Microsoft/monaco-typescript/pull/20)
51-
* [Matt McCutchen (@mattmccutchen)](https://github.com/mattmccutchen): Clear the `file` fields of `relatedInformation` too. (WIP) [PR #21](https://github.com/Microsoft/monaco-typescript/pull/21)
52-
53-
Contributions to `monaco-languages`:
54-
55-
* [Avelino (@avelino)](https://github.com/avelino)
56-
* upgrade all language support (today) [PR #35](https://github.com/Microsoft/monaco-languages/pull/35)
57-
* Clojure support [PR #36](https://github.com/Microsoft/monaco-languages/pull/36)
58-
* Clojure: added more keywords [PR #37](https://github.com/Microsoft/monaco-languages/pull/37)
59-
* [Faris Masad (@masad-frost)](https://github.com/masad-frost)
60-
* Fix Clojure syntax highlighting [PR #38](https://github.com/Microsoft/monaco-languages/pull/38)
61-
* Add Scheme language [PR #34](https://github.com/Microsoft/monaco-languages/pull/34)
62-
* Add auto-indentation for python [PR #33](https://github.com/Microsoft/monaco-languages/pull/33)
63-
* [Matt Masson (@mattmasson)](https://github.com/mattmasson): Add support for Power Query (M) language [PR #42](https://github.com/Microsoft/monaco-languages/pull/42)
64-
* [Oli Lane (@olane)](https://github.com/olane): Add Apex language [PR #44](https://github.com/Microsoft/monaco-languages/pull/44)
65-
* [Viktar Pakanechny (@Vityanchys)](https://github.com/Vityanchys): Added azcli [PR #43](https://github.com/Microsoft/monaco-languages/pull/43)
66-
* [zqlu (@zqlu)](https://github.com/zqlu)
67-
* Add Shell language [PR #39](https://github.com/Microsoft/monaco-languages/pull/39)
68-
* Add Perl language [PR #40](https://github.com/Microsoft/monaco-languages/pull/40)
69-
* add perl to bundle.js [PR #41](https://github.com/Microsoft/monaco-languages/pull/41)
70-
713
## [0.13.1] (15.05.2018)
724
- Fixes [issue #871](https://github.com/Microsoft/monaco-editor/issues/871): TypeScript import error after mocaco-editor upgraded from 0.12 to 0.13
735

@@ -420,13 +352,6 @@ Contributions to `monaco-languages`:
420352
- The editor functions now correctly when hosted inside a `position:fixed` element.
421353
- Cross origin configuration is now picked up (as advertised in documentation from MonacoEnvironment)
422354

423-
[0.14.3]: https://github.com/Microsoft/monaco-editor/compare/v0.14.2...v0.14.3
424-
[0.14.2]: https://github.com/Microsoft/monaco-editor/compare/v0.14.1...v0.14.2
425-
[0.14.1]: https://github.com/Microsoft/monaco-editor/compare/v0.14.0...v0.14.1
426-
[0.14.0]: https://github.com/Microsoft/monaco-editor/compare/v0.13.1...v0.14.0
427-
[0.13.1]: https://github.com/Microsoft/monaco-editor/compare/v0.13.0...v0.13.1
428-
[0.13.0]: https://github.com/Microsoft/monaco-editor/compare/v0.12.0...v0.13.0
429-
[0.12.0]: https://github.com/Microsoft/monaco-editor/compare/v0.11.1...v0.12.0
430355
[0.11.1]: https://github.com/Microsoft/monaco-editor/compare/v0.11.0...v0.11.1
431356
[0.11.0]: https://github.com/Microsoft/monaco-editor/compare/v0.10.1...v0.11.0
432357
[0.10.1]: https://github.com/Microsoft/monaco-editor/compare/v0.10.0...v0.10.1

standalone-packages/monaco-editor/docs/integrate-amd-cross.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Assuming the HTML lives on `www.mydomain.com` and the editor is hosted on `www.m
2626
getWorkerUrl: function(workerId, label) {
2727
return `data:text/javascript;charset=utf-8,${encodeURIComponent(`
2828
self.MonacoEnvironment = {
29-
baseUrl: 'http://www.mycdn.com/monaco-editor/min/'
29+
baseUrl: 'http://www.mycdn.com/monaco-editor/min/vs'
3030
};
3131
importScripts('http://www.mycdn.com/monaco-editor/min/vs/base/worker/workerMain.js');`
3232
)}`;

standalone-packages/monaco-editor/docs/integrate-esm.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ monaco.editor.create(document.getElementById('container'), {
9191
* `webpack.config.js`:
9292
```js
9393
const path = require('path');
94+
const webpack = require('webpack');
9495

9596
module.exports = {
9697
entry: {
@@ -112,6 +113,13 @@ module.exports = {
112113
test: /\.css$/,
113114
use: ['style-loader', 'css-loader']
114115
}]
115-
}
116+
},
117+
plugins: [
118+
// Ignore require() calls in vs/language/typescript/lib/typescriptServices.js
119+
new webpack.IgnorePlugin(
120+
/^((fs)|(path)|(os)|(crypto)|(source-map-support))$/,
121+
/vs(\/|\\)language(\/|\\)typescript(\/|\\)lib/
122+
)
123+
]
116124
};
117125
```

0 commit comments

Comments
 (0)