Commit graph

9330 commits

Author SHA1 Message Date
Matt Bierner c6ce8f26cc Move fork impl into serverProcess 2020-07-22 11:31:08 -07:00
Matt Bierner 2f10b23958 Move buffer sync support into server folder 2020-07-22 11:31:08 -07:00
João Moreno be901d8db1 fixes #103053 2020-07-22 10:37:09 +02:00
João Moreno e4f2a0fa0b
Merge pull request #103044 from NotWearingPants/patch-1
Treat all files with `npmrc`/`npmignore`/`gitignore` extensions as properties/ignore files
2020-07-22 09:26:02 +02:00
Matt Bierner 0a7364f005 Use object parameter for services 2020-07-21 18:56:27 -07:00
Matt Bierner feadf5183d Move code lens files into own directory 2020-07-21 17:19:47 -07:00
Matt Bierner 5dfb77c313 Move task provider into own folder 2020-07-21 17:15:20 -07:00
Matt Bierner a4b0116978 Rename features -> langaugeFeatures 2020-07-21 17:12:19 -07:00
Matt Bierner 6649f4e296 Clean up extension activation 2020-07-21 17:06:24 -07:00
Matt Bierner 0bf4493b75 Don't send git resources to tsserver 2020-07-21 16:52:17 -07:00
Matt Bierner 21cd7c6001 Move some files into server 2020-07-21 16:47:54 -07:00
Matt Bierner ae7254a2e9 Fixing some errors when loading workspace TS versions 2020-07-21 16:41:02 -07:00
Matt Bierner 23c4467ed3
Enable web TS Server (#102990)
This enables running the TS Server on web. This currently requires a special version of the TypeScript server
2020-07-21 16:13:52 -07:00
NotWearingPants e4824fa66a
Treat all files with an npmrc/npmignore extension as properties/ignore files 2020-07-22 00:22:10 +03:00
NotWearingPants 399d695f5f
Treat all files with a gitignore extension as ignore files 2020-07-22 00:18:54 +03:00
Matt Bierner ec8606cb49 Make sure main process webview file resource loads stays on main process
We were checking the wrong uri
2020-07-21 14:02:28 -07:00
Benjamin Pasero dc333833e9 eslint - fix linting issues 2020-07-21 07:46:15 +02:00
Matt Bierner caa05dd6d5 Remove extra gating around selector
A registration should only need to if it targets all files, or just those on disk
2020-07-20 16:53:32 -07:00
Matt Bierner 3841f78377 Fix normalization of toResource for untitled resources 2020-07-20 16:36:58 -07:00
Matt Bierner e41c195051 Work towards allowing enhanced syntax server commands to be run against any file
We currently restrict the TS server to working with a small set of file schemes. This is done because the TS server itself cannot read files from on of VS Code's virtual file system providers (and will crash if it tries to do so)

However we can enable single file commands for these other file schemes, so long as they are treated as in-memory files. This change works towards supporting that by changing when certain providers are enabled/disabled
2020-07-20 16:27:37 -07:00
Matt Bierner 8bf2ae16a0 Export RequestCancellerFactory implementations as constants 2020-07-20 16:27:37 -07:00
Matt Bierner 538ff07c71 Move logDirectoryProvide into server 2020-07-20 16:27:37 -07:00
Matt Bierner 90fbd0eb60 Extract cancellation.electron
This makes it possible to replace the cancellation logic for serverless
2020-07-20 16:27:37 -07:00
Matt Bierner 3b9db3df27 Extract NodeLogDirectoryProvider to electron specific file 2020-07-20 16:27:37 -07:00
Matt Bierner 00bd63c32c Move lazyClientHost to own file 2020-07-20 16:27:37 -07:00
Matt Bierner c17905888c Extract onIsCaseInsenitiveFileSystem 2020-07-20 16:27:37 -07:00
Rob Lourens 90363c2f9d Change cell execution/cancel API
Fix #99203
2020-07-20 14:43:20 -07:00
Rachel Macfarlane cd5b4a7c80 Emit activation event for auth providers when getSession is called 2020-07-20 14:23:14 -07:00
Rachel Macfarlane 7725bf1bcc Move authServer to fix relative paths issue 2020-07-20 09:31:37 -07:00
Rachel Macfarlane 1ac2178ed0 Show input box for PAT in test environments instead of doing auth flow 2020-07-17 10:46:48 -07:00
Rob Lourens 10033ed530
Merge pull request #102770 from microsoft/dependabot/npm_and_yarn/extensions/html-language-features/server/lodash-4.17.19
Bump lodash from 4.17.10 to 4.17.19 in /extensions/html-language-features/server
2020-07-17 10:24:57 -07:00
dependabot[bot] 8390160e68
Bump lodash in /extensions/html-language-features/server
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 17:24:50 +00:00
Rob Lourens 4e648e27dd
Merge pull request #102771 from microsoft/dependabot/npm_and_yarn/extensions/css-language-features/server/lodash-4.17.19
Bump lodash from 4.17.10 to 4.17.19 in /extensions/css-language-features/server
2020-07-17 10:24:45 -07:00
Rob Lourens 7f9df80a54
Merge pull request #102772 from microsoft/dependabot/npm_and_yarn/extensions/markdown-language-features/lodash-4.17.19
Bump lodash from 4.17.10 to 4.17.19 in /extensions/markdown-language-features
2020-07-17 10:24:27 -07:00
dependabot[bot] bff6a419a6
Bump lodash from 4.17.10 to 4.17.19 in /extensions/emmet
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 11:10:57 +00:00
dependabot[bot] 454f2dc891
Bump lodash in /extensions/markdown-language-features
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 11:08:54 +00:00
dependabot[bot] 0ac3ec6a08
Bump lodash in /extensions/css-language-features/server
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 11:08:06 +00:00
João Moreno 27e06f526f update octokit in github 2020-07-17 11:27:00 +02:00
Johannes Rieken c4dae68b49 eslint fixes @rebornix 2020-07-17 10:42:30 +02:00
Alex Ross 0acc996121
Add support for view initial state (collapsed or hidden) (#102002)
Fixes #101283
2020-07-17 09:47:33 +02:00
rebornix 847a98f34c Merge remote-tracking branch 'origin' into rebornix/multi-kernel 2020-07-16 17:26:00 -07:00
Matt Bierner 7099dc0708 Add extra check to markdown state
Possibly for #102733

Tries to get users out of a potential bad state where the state was being stored as a string. Only insiders users should have hit this
2020-07-16 16:27:42 -07:00
Matt Bierner 00a0a77785 Cleaning up ts server logic
Getting ready to have worker based TS servers instead of ones that use a process

- Use standard error handler instead of having separate reader error
- Move all process based server logic into own file (`serverProcess`)
2020-07-16 16:05:20 -07:00
Rachel Macfarlane a155fcf762 Address feedback on auth provider API 2020-07-16 16:03:17 -07:00
Rachel Macfarlane 0d1933a322 Add webworker support for microsoft authentication extension 2020-07-16 15:21:23 -07:00
Matt Bierner ed028cfd96 Add ClientCapabilities class 2020-07-16 14:37:58 -07:00
Matt Bierner 0857489caf Add the concept of client capabilities for TypeScript
For serverless, we will only be able to run the TypeScript syntax server which does not support all features. This change makes this possible by adding the concept of client capabilities. Providers such as rename will only be registered when the client has semantic capabilities
2020-07-16 12:32:27 -07:00
Matt Bierner 16c6b81b3e Flatten conditional registration
This allows us to pass a precomputed, flat list of requirements when registering a language feature
2020-07-16 12:32:27 -07:00
Jason Williams 9a12a5abed
fix paragraphs inside of <ul>'s which are too spaced apart. (#102719)
* * paragraphs inside of <ul>'s were too spaced apart.
* It looks odd because markdown converts list items to <p>s

* li > p should be even better
2020-07-16 11:20:38 -07:00
rebornix 1710c92d5f fix #102460 2020-07-16 10:20:42 -07:00