Commit graph

43 commits

Author SHA1 Message Date
Remy Suen
54a4e45a10 Fix the color provider's columns
Fix the example so that the document colors' ranges encompass the entire
word.

Signed-off-by: Remy Suen <remy.suen@gmail.com>
2022-10-03 12:12:01 -04:00
Remy Suen
661b83d7b0 Create example for model markers
This example demonstrates how to listen to model change events so that
the content of the editor can be validated. Any content that is deemed
invalid can be flagged with a model marker.

Signed-off-by: Remy Suen <remy.suen@gmail.com>
2022-02-11 16:20:38 -05:00
Chen
dd6b5825eb Fix some errors on the website playground 2021-11-18 15:03:18 +08:00
Alex Dima
d9013a86c4
Move website files to /website/ 2021-11-16 22:32:27 +01:00
Alex Dima
497507ffee
Move into monaco-editor directory 2021-11-05 11:59:13 +01:00
hamidreza kalbasi
104b0cb587 add example for inlay hints 2021-08-27 12:53:29 +04:30
SpaceComet
5204ce8300 Spelling fixed on the website playground. 2021-08-16 12:39:24 -04:00
PisecesPeng
dee5461cb1
update semantic-tokens-provider-example/sample.js 2021-07-05 17:22:35 +08:00
El Jùanch0
f01c55a282
Fix error message in Safari - Semantic token play
See https://github.com/microsoft/monaco-editor/issues/2459 for details
2021-05-19 11:25:23 +02:00
Gittenburg
b817a5d6b8 Fix comment in sample 2020-09-27 12:08:07 +02:00
Alex Dima
08c64ab616
Fixes #2153: Add a dispose() method to the code lens provider 2020-09-24 17:55:45 +02:00
Alexandru Dima
a5f5052c05
Merge pull request #2103 from KapitanOczywisty/semanticTokens
Semantic tokens provider example
2020-09-19 02:18:19 +02:00
Alex Dima
ee8392eb0c
Avoid using internals 2020-09-17 22:44:16 +02:00
Alex Dima
1b39474886
Minor edits 2020-09-17 22:23:21 +02:00
KapitanOczywisty
db327beb63 Update example: allow peek definition 2020-09-08 20:59:15 +02:00
KapitanOczywisty
51fe304f01 Remove ES6 syntax from example 2020-09-08 20:09:04 +02:00
KapitanOczywisty
0a6d139688 Semantic tokens provider example 2020-09-05 03:29:27 +02:00
Alexandru Dima
65473735f8
Format sample code 2020-01-06 15:45:56 +01:00
Lars Hvam
207f8be3f0
Playground: fix codelens provider example 2019-12-29 11:56:45 +01:00
Alex Dima
f9a8e60122
Fixes #1444: Add a schema to extra lib paths 2019-12-17 16:22:45 +01:00
Alex Dima
d6706a2e60
Fixes #1352: Ensure completion items have a range set 2019-12-16 22:17:05 +01:00
Alexandru Dima
20287c8392
Merge pull request #1703 from rcjsuen/snippet-example
Add CompletionItem with snippet support to the example
2019-12-16 17:57:26 +01:00
Remy Suen
3a3d0106b6 Add CompletionItem with snippet support to the example
Many users are asking about snippet support in Monaco. Enhancing the
example on in the playground with a snippet CompletionItem will help
users learn about the feature more easily without having to dig through
Stack Overflow and GitHub issues.

Signed-off-by: Remy Suen <remy.suen@gmail.com>
2019-12-13 08:41:19 -05:00
larshp
d869590a5e playground_ update symbols-provider-example 2019-10-06 15:45:57 +02:00
zhanghongnian
bf113cc059 fix demo: completion provider example 2019-08-08 08:14:12 +08:00
Peng Lyu
02fb6bfd43 Symbols provider sample 2019-07-24 12:03:20 -07:00
Johannes Rieken
70e48eeb52 debt - more promise cleanup 2019-02-08 15:19:17 +01:00
Alex Dima
9af2ead38d Fix completion item provider sample 2018-11-23 12:40:22 +01:00
Alex Dima
cf85c0785a Fixes #1180 2018-11-13 19:39:07 +01:00
Ali Mirlou
a356c8ad22
Fix typo 2018-07-10 18:20:37 +04:30
Martin Aeschlimann
c1510365db fix JSON sample (for #899) 2018-05-30 12:15:40 +02:00
Remy Suen
4279391dde Add folding provider sample to the playground
Signed-off-by: Remy Suen <remy.suen@gmail.com>
2018-05-15 11:02:35 -04:00
Alex Dima
4f663fab48 Fixes #780: Adopt new hover API 2018-04-11 13:41:00 +02:00
Alex Dima
6fa2a2ec0e Add color provider sample (#775) 2018-03-29 16:31:43 +02:00
Alexandru Dima
b734cea11a
Merge pull request #726 from MSeifert04/add-linebreak-example
Add linebreak for if
2018-03-13 18:28:00 +01:00
Andrew Palm
d387351c5f Update JavaScript for configure-json-defaults sample 2018-02-20 20:38:30 -05:00
MSeifert04
a9dbe7bcaf add line break in example 2018-02-19 09:55:17 +01:00
rebornix
77b9f571f6 Revert "JSON completion provider doesn't work without triggering characters."
This reverts commit d5f9985edb.
2017-07-13 16:34:39 -07:00
rebornix
d5f9985edb JSON completion provider doesn't work without triggering characters. 2017-07-13 16:27:01 -07:00
rebornix
a7b44c7331 Add code sample for codelens helper 2017-07-13 15:44:53 -07:00
Sam El-Husseini
8176a1a607 Update custom-languages playground sample to use SnippetString 2017-07-05 23:44:57 +03:00
Alex Dima
0e78d5c099 Update custom languages sample to latest theme API 2017-01-18 12:08:06 +01:00
Alex Dima
5b86272f55 Extract playground samples from mdoc, add possiblity to run them from source 2016-09-06 12:34:53 +02:00