Commit graph

12010 commits

Author SHA1 Message Date
Logan Ramos ed5a545047
Fix #145111 2022-03-15 09:55:57 -04:00
Alex Ross 57f7768917
Update Swift grammar 2022-03-15 11:05:34 +01:00
Ladislau Szomoru 43ebce7ce2
Use markdown for the timeline hover (#145038) 2022-03-14 19:53:24 +01:00
Logan Ramos 53aaa205e6
Fix #144605 2022-03-14 13:26:45 -04:00
Martin Aeschlimann 56923ecc5e
Merge pull request #145004 from Semphriss/update-seti-13mar2022
Update Seti theme
2022-03-14 15:44:21 +01:00
Semphris 9212c3db3b Update Seti theme 2022-03-14 08:46:37 -04:00
最萌小汐 9422f0a568
update Lua-grammar (#144975)
* update Lua-grammar

* Update test

Co-authored-by: Alex Ross <alros@microsoft.com>
2022-03-14 13:10:21 +01:00
Robo 32d40cf44e
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Alex Ross c2b51748cf
Investigate potential rst grammar to include as a built-in extension (#144680) 2022-03-10 15:07:28 +01:00
Matt Bierner 71c0686d04
Use lowercase preserve for jsxemit
This matches what the tsconfig schema expects
2022-03-09 14:38:13 -08:00
Matt Bierner b3832713db
Use esnext as implicit js/ts module
For https://github.com/microsoft/TypeScript/issues/46698

Also adds new settings for the target and module in implicit projects
2022-03-09 14:33:37 -08:00
Ladislau Szomoru fa5aa53695
Revert "Fix #121914"
This reverts commit 6011bf7e7a.
2022-03-09 20:28:36 +01:00
Rob Lourens 5a7db04b89 Fix #144043 2022-03-09 10:49:08 -08:00
Quan Zhuo f57c9e5bf5
#144671, fix some non localized strings in git extension (#144712)
Signed-off-by: Quan Zhuo <quanzhuo@kylinos.cn>
2022-03-09 11:50:55 +01:00
Christof Marti 0a138fbe26 Support @prerelease (#143540) 2022-03-09 08:35:30 +01:00
Matt Bierner 9d41c706c6
Allow manually restarting TS Server even if it has crashed too many times
Currently if the server crashes too many times, the user has to restart VS Code. It's possible the user could fix something (such as a bad plugin) and then run this command to just restart the server without needing to restart the entire editor
2022-03-08 18:48:48 -08:00
Matt Bierner 886ab06860
Try to have more explicit error when we don't have a server
Fixes #143032

This change removes a call that would automatically restart the TS server when invoking a command. Instead we now return a `NoServer` response

When this happens, the server still should be restarted. This change stops us from logging a large number of errors when we get into this state where the server has crashed too many times and we no longer want to automatically restart it
2022-03-08 18:48:48 -08:00
Matt Bierner bd36b7d6a3
Make sure we set html on markdown preview when it is not visible
Fixes #138630

If the webview does not exist, we need to update the html on it instead of posting a message to it. This makes sure the correct content is shown when the webview is created again

This also removes a previous workaround for this issue that I no longer believe is required
2022-03-08 18:08:47 -08:00
Matt Bierner eaf352e6d1
Hook up watch properly for extension build scripts 2022-03-08 17:54:16 -08:00
Matt Bierner 78e1b3cca8
Bump highlight JS version 2022-03-08 16:27:42 -08:00
Matt Bierner fb6cf37ea9
Move simple-browser to use esbuild for webview scripts 2022-03-08 16:23:14 -08:00
Matt Bierner 2f48496d2b
Switch the markdown preview script to use esbuild 2022-03-08 15:48:13 -08:00
Matt Bierner 79d381f1df
Use vscode-uri instead of node's path
This makes sure we handle other types of uris instead of assuming they are all file uris
2022-03-08 15:48:13 -08:00
Matt Bierner 7f39250d49
Remove extra spread 2022-03-08 14:51:45 -08:00
Matt Bierner eb6050d8a8
Preserve path item details for JS/TS completions
Fixes #144455
2022-03-08 14:33:26 -08:00
Christof Marti 733bf1d58e Add support for definitions nested in .devcontainer 2022-03-08 11:15:34 +01:00
Ondrej Medek 529cc9c859
fix markdownDescription for javascript.suggest.jsdoc.generateReturns (#144486) 2022-03-07 17:12:55 -08:00
Matt Bierner 9b32ee6588
Fix regular expression for auto indent
Fixes #144505

Removes a `/` that was mistakenly copied over when moving these rules to json
2022-03-07 17:01:40 -08:00
Rob Lourens eb2a7eef68 Fix #144556 2022-03-07 16:31:46 -08:00
David Dossett dfbe7c394f Update light HC error tokens 2022-03-07 15:18:48 -08:00
David Dossett a8482cf684 Fix #144500 2022-03-07 11:14:18 -08:00
David Dossett 42588a1252 Fix #144357 2022-03-07 11:07:15 -08:00
David Dossett 705793682b Fix #144577 2022-03-07 10:31:09 -08:00
David Dossett 5042bacacb Fix #143835 2022-03-07 10:16:56 -08:00
David Dossett b7eae606ed Fix #143981 2022-03-07 09:43:09 -08:00
Alex Ross 5463364957
Update grammars 2022-03-07 15:18:39 +01:00
最萌小汐 bd3165e417
Update Lua grammar (#144544)
fixes #144543
2022-03-07 12:39:44 +01:00
Logan Ramos 0aa4642a59
Rename additionalResourcesAndViewIds 2022-03-04 08:52:36 -05:00
Matt Bierner 5c452f8973
Use [].flat() 2022-03-03 15:03:33 -08:00
Tyler Leonhardt 739dfea8e6
try to use an existing refresh token to get a token with the specified scopes. Fixes #114003 2022-03-03 14:54:48 -08:00
rebornix e632f91b35
fix #143966. 2022-03-02 16:55:55 -08:00
Matt Bierner afa70ebba0
Adopt official semantic tokens api for JS/TS in html (#144223)
* Adopt official semantic tokens api for JS/TS in html

Fixes #114477

This switches the semantic tokens implementation for js/ts inside html to use the finalized `getEncodedSemanticClassifications` api instead of our custom impl

* Update tests
2022-03-02 13:02:43 -08:00
rebornix 4a6763d8d5
support more styles in ansi. 2022-03-02 11:56:21 -08:00
Alex Ross c468903ff7
Finalize tree drag and drop API
Fixes #32592
2022-03-02 15:39:36 +01:00
Martin Aeschlimann ee879ac7b7
update vscode-grammar-updater 2022-03-02 12:10:27 +01:00
Martin Aeschlimann 4274ec05b8
[html][json] fix some missing dispose registrations 2022-03-02 11:57:20 +01:00
Matt Bierner 841aed8ed1
Move more update-grammar scripts to mjs 2022-03-01 17:28:57 -08:00
Matt Bierner e214493d0c
Migrate update grammar to mjs 2022-03-01 17:24:59 -08:00
Matt Bierner 1900abc88b
while -> for 2022-03-01 16:39:41 -08:00
Matt Bierner ea76090229
Remove support for old plugin based semantic token responses
We removed support for the plugin a few iterations ago so this branch should no longer be active
2022-03-01 16:38:37 -08:00