Commit graph

8640 commits

Author SHA1 Message Date
Benjamin Pasero 5e0189c8bf tests - browser tests to go through new log service 2020-02-07 16:22:10 +01:00
isidor 1f06066a9c debug integration tests reenable 2020-02-07 14:42:52 +01:00
isidor 73aeb31e20 disable start debugging integration test 2020-02-07 11:34:39 +01:00
Alex Dima f9627fcdf9
Check in yarn.lock 2020-02-07 08:53:46 +01:00
João Moreno 1302e22b32
Merge pull request #90160 from eyeino/eyeino/clarify-new-branch-prompt
Clarify language when creating new git branch
2020-02-07 07:57:11 +01:00
Benjamin Pasero df3764ab52 workaround #90162 2020-02-07 07:20:44 +01:00
Jackson Kearl 4e81d10222 Add result count line. Closes #89463.
And fixup grammar to correctly highlight it
2020-02-06 16:52:54 -08:00
Matt Bierner 4d35421462 Remove version gating on for now enableProjectDiagnostics
None of the apis being users for this experimental setting require the latest TS version
2020-02-06 16:33:05 -08:00
Rachel Macfarlane cf96b11223 Auth providers - show dialog on token access, closes #89754 2020-02-06 15:30:53 -08:00
Matt Bierner f0942786b4 Add experimental setting to use separate server to compute project level diagnostics
For #13953

**Problem**
We'd like to show project wide diagnostics, however at the moment TS server is single threaded. This means that computing all these diagnostics would interrupt other user operations such as completions.

Right now, our advice is to use tasks to get around this limitation (since tasks always run as separate process) however few people actually use tasks.

**Change**
This change adds an experimental `tsserver.experimental.enableProjectDiagnostics` setting (default false) that makes VS Code spawn a separate TS Server that is only used for computing diagnostics. This should help keep the primary syntax server responsive while letting the diagnostics server churn away at project level diagnostics

**Why experimental?**

- We are comporting too many diagnostics. This is bad for larger projects. I don't think TS provides the right APIs to know which files we actually need to request diagnostics on when a file changes.

- This hasn't been fully extensively tested to make sure it plays nicely with feature such as automatic type acquisition or in complex workspace with multiple projects
2020-02-06 15:15:33 -08:00
Matt Bierner aca46ac4a5 Take server arguments object
Makes it more difficult to mistaktenly reverse which server is which
2020-02-06 15:15:33 -08:00
Matt Bierner c8516dd7e8 Marking arrays as readonly 2020-02-06 15:15:33 -08:00
Matt Bierner 5d3c86ad99 Remove VS Code project file change watchers
Updating projects should be handled by the `projectsUpdatedInBackground events` now
2020-02-06 15:15:33 -08:00
Rachel Macfarlane b0601cfd46 Add retries to token refresh for network errors of account extension 2020-02-06 14:26:35 -08:00
Ian MacFarlane 282732392f
Clarify language when creating new git branch
When using the git extension, the intent is clear when clicking on "+ Create new branch..." and immediately being prompted "Please provide a branch name". But, when clicking on "+ Create a new branch from..." the intent is ambiguous, since the statement "Please provide a branch name" could refer to the branch from which you wish to base the new branch on or the name of the new branch, the latter being what actually happens.

By specifying "Please provide a *new* branch name...", the intent is clear: the prompt is asking for the name you wish to call the new branch.
2020-02-06 13:04:31 -05:00
Rachel Macfarlane 4801814872 Properly reference the vscode.proposed.d.ts typings from the account extension 2020-02-06 10:01:36 -08:00
isidor 5835d42bdf debug intregration tests: use debug.startDebugging 2020-02-06 12:50:33 +01:00
isidor fd66f569f6 debug: reanable integration tests 2020-02-06 12:47:31 +01:00
Eric Amodio eaf632c42a Adds uncommitted changes to timeline 2020-02-06 00:04:54 -05:00
Eric Amodio 9cd22d0dc1 Updates list of readonly git commands 2020-02-06 00:02:00 -05:00
Matt Bierner ae758e681d Fix spelling in test name 2020-02-05 18:12:26 -08:00
Matt Bierner 5347c21ecf Treat any non-whitespace character as jsdoc param names
Fixes #90108
2020-02-05 15:26:13 -08:00
Eric Amodio 4cc5b776dc Overhauls timeline display to stream in results
Implements many API review changes
Fixes #89558
2020-02-05 18:16:37 -05:00
isidor a101d32ff6 temporarily disable start debuggin test since it is flaky 2020-02-05 18:15:33 +01:00
isidor f84d9850e7 debug: fix integration tests 2020-02-05 16:52:07 +01:00
Joao Moreno dde577b23e
activate git before smoke tests 2020-02-05 15:03:05 +01:00
isidor c47f30e7c0 debug integration tests: remove flaky part of test that requires window focus 2020-02-05 11:46:01 +01:00
Joao Moreno 7ed9930136
💄 2020-02-05 11:42:33 +01:00
Joao Moreno ba25c52127
more git smoke test fixes 2020-02-05 10:57:30 +01:00
isidor 1e057b7393 debug integration tests: make sure to focus editor before toggleBreakpoint
fixes #90047
2020-02-05 10:49:21 +01:00
Joao Moreno 06dbb1938f
make sure git is activated before integration tests run 2020-02-05 10:24:47 +01:00
Matt Bierner 87b6d03182 Add cursor position check to jsDocCompletionTest 2020-02-04 18:02:38 -08:00
Matt Bierner 2b7e6ab2fd 💄 2020-02-04 18:00:03 -08:00
Matt Bierner e7451b12ce Adding assertEditorContents helper function and fixing jsdoc completion tests 2020-02-04 17:52:11 -08:00
Matt Bierner a32cb805a2 Adding some basic tests for auto insert of await on completions 2020-02-04 17:34:12 -08:00
Matt Bierner 58fe34bb77 Don't require strict prefix matches for private field completions
Fixxes #89556
2020-02-04 17:17:00 -08:00
Matt Bierner b4a835f5b9 Fixing backet completion items not shown for cases such as this.xy| 2020-02-04 16:15:58 -08:00
Matt Bierner 7b754d7d95 Adding more pinning tests for JS/TS completions 2020-02-04 16:15:58 -08:00
Matt Bierner 9887559f17 Add basic JS/TS replace/insert completions
For #87091

Adds basic support for insert/replace mode for JS/TS completions. We're blocked on full support by https://github.com/microsoft/TypeScript/issues/35602. I'll be adding some skipped tests that document current limitations
2020-02-04 16:15:58 -08:00
Matt Bierner 78465390bd Run many of the JS/TS completion tests in both insert and replace completion mode 2020-02-04 16:15:58 -08:00
Matt Bierner 6205cf0fed Add basic insert mode tests 2020-02-04 16:15:58 -08:00
Matt Bierner 6960e8c07b Fixing TS completion tests
The current method of verifying when suggestions have been shown is not reliable so switch to use a delay instead :(
2020-02-04 16:15:58 -08:00
Matt Bierner 5b284c140c Build TS extension against current vscode.d.ts directly
Currently  extensions like TS have a dev dependency on the `"vscode"` package. This pulls in a copy of `vscode.d.ts` that we end up using instead of our local `vscode.d.ts`.

This change uses the `paths` `tsconig` option so that we use our local `vscode.d.ts` instead of the one from `node_modules`
2020-02-04 16:15:58 -08:00
Matt Bierner 45999fdb8f Remove extra cast
Not required with TS 3.8
2020-02-04 16:15:58 -08:00
Matt Bierner 5623c36a40 Remove surveyor code
Not currently being used
2020-02-04 16:15:58 -08:00
Rachel Macfarlane 967aab8156 Add telemetry event for settings sync auth 2020-02-04 15:51:35 -08:00
Martin Aeschlimann e95476a2c1 JSON validation debounced too much. Fixes #89524 2020-02-04 21:59:30 +01:00
Robo 01989df7c9
chore: update to electron 7 (#89260)
* Revert "revert back to electron 6 (#89245)"

This reverts commit 5d498736f4.

* chore: update electron@7.1.11
2020-02-04 12:56:23 -08:00
Joao Moreno d2f9126da3 git tests: windows is pain 2020-02-04 20:54:46 +01:00
Joao Moreno 5f239c7414 Merge branch 'master' of github.com:microsoft/vscode 2020-02-04 20:26:24 +01:00
Joao Moreno 54007fa545 fix git smoketests 2020-02-04 20:26:12 +01:00
Matt Bierner b1c5e2f19b
Don't include dom typings in extensions (#89942)
**Problem**
All of our extensions currently are built using the dom typings. This can lead to runtime errors if you mistakenly use `window` or similar

**Fix**
Exclude the dom typings from compile. Then explicitly import the node types for `URL` and `TextEncoder`
2020-02-04 11:08:22 -08:00
Joao Moreno 16c7551f36
move git smoke tests to integration tests 2020-02-04 17:06:49 +01:00
isidor 491a17bd71 debug integrations tests: better testing of starting of debug 2020-02-04 16:39:26 +01:00
isidor 3900de53e0 debug: introduce intregration tests 2020-02-04 15:43:30 +01:00
Alex Ross 8066726b27 Allow both : an . as time separators in tsc problem pattern
Fixes https://github.com/microsoft/vscode/issues/89273
2020-02-04 15:01:09 +01:00
Joao Moreno 19de7a566c
add proper git dev dependencies 2020-02-04 13:04:44 +01:00
Joao Moreno a2defb0625
fix build 2020-02-04 12:49:59 +01:00
Alex Ross 4945918d22 Add min and max to devcontainer.json forwardedPorts values
Fixes https://github.com/microsoft/vscode-remote-release/issues/2218
2020-02-04 12:44:08 +01:00
Joao Moreno 1dd16ab728
setup git integration tests 2020-02-04 12:35:28 +01:00
Joao Moreno c606dd95e1
fix git tests 2020-02-04 12:35:28 +01:00
Matt Bierner 3f5fda1800 Redefine performanceData 2020-02-03 14:31:21 -08:00
Matt Bierner 7c502bbb6a Fix compile error related to new TS version 2020-02-03 14:20:17 -08:00
Matt Bierner 91514faebc Pick up typescript@next for insiders 2020-02-03 14:00:19 -08:00
Matt Bierner 55e72d8d02 Add support for rendering jsdoc inline @link tags
Fixes #28624
2020-02-03 14:00:19 -08:00
Matt Bierner 8fd777f649 Remove extra not null checks 2020-02-03 14:00:19 -08:00
Alex Ross efa12b2f49 Update grammars 2020-02-03 13:01:47 +01:00
Ron Buckton d837ddc72e
Fix off-by-one typo to improve display of file names in TS call hierarchy (#89822) 2020-01-31 15:35:49 -08:00
Jiayue. Zhang 39f7650145
Merge branch 'master' into issue/88294 2020-02-01 01:00:06 +09:00
Martin Aeschlimann 8d4cdbaa8d [html] fix semantic selection test 2020-01-31 09:09:02 +01:00
Jiayue. Zhang b61b242503
Merge branch 'master' into issue/88294 2020-01-31 15:49:40 +09:00
Rachel Macfarlane af98279477 Fix auth flow redirection in web, fixes #89730 2020-01-30 14:12:13 -08:00
Martin Aeschlimann ce26bb6ce0 improved semanticTokenStyleDefaults sample 2020-01-30 21:36:50 +01:00
Martin Aeschlimann 9b398ecf88 rename to semanticTokenStyleDefaults.scope 2020-01-30 21:36:50 +01:00
Martin Aeschlimann c88756957a rename to semanticTokenTypes, semanticTokenModifiers & semanticTokenStyleDefaults 2020-01-30 21:36:50 +01:00
Pine Wu ab175a0f03 Update html/css services 2020-01-30 11:59:04 -08:00
Jackson Kearl 1b0dce4548 Update to latest Seti for search editor icon.
Fixes 89480.
2020-01-30 10:15:27 -08:00
Joao Moreno 830992d818
fixes #89373 2020-01-30 17:12:15 +01:00
Christof Marti c27b6b0607 Allow trailing comma (microsoft/vscode-remote-release#2231) 2020-01-30 15:47:54 +01:00
Christof Marti 8046438bb1 Revert "No additional properties (fixes microsoft/vscode-remote-release#2222)"
This reverts commit f643cad6e3.
2020-01-30 12:50:18 +01:00
Jiayue. Zhang 2e2a9b417a
Merge branch 'master' into issue/88294 2020-01-30 14:49:51 +09:00
Matt Bierner d92dedcd69 Allows for js and ts specific refactoring pages 2020-01-29 18:03:24 -08:00
Rachel Macfarlane 8675e63b0a Begin token refresh sooner, #88577 2020-01-29 12:07:24 -08:00
Jiayue Zhang 51b8bd5064 Fix #88294 Add commitData in commit interface 2020-01-30 01:10:05 +09:00
Alex Dima acf2931955
Fixes #89552: Throw from the provider when semantic tokens cannot be computed and keep old semantic tokens if this happens 2020-01-29 16:22:08 +01:00
Joao Moreno a8231df2ff
fixes #88024 2020-01-29 12:39:05 +01:00
Christof Marti f643cad6e3 No additional properties (fixes microsoft/vscode-remote-release#2222) 2020-01-29 11:53:39 +01:00
Jackson Kearl 6da863f768 Double click on file name to peek. Closes #89467 2020-01-29 00:43:03 -08:00
Jackson Kearl 3918447fa8 Add style token for search editor input border. Fixes #89437. 2020-01-29 00:07:17 -08:00
Matt Bierner d99bbafe17 Pick up new TS version for building VS Code 2020-01-28 11:00:02 -08:00
Matt Bierner c4b6a6b537 Send # as a completion trigger character to TS 3.8.1+
https://github.com/microsoft/TypeScript/issues/36367 added support for `#` as a TS completion trigger
2020-01-27 19:06:05 -08:00
Matt Bierner c0c9e0043c Use type only imports for protocol
These imports should never result in a real import in the emitted code
2020-01-27 19:06:05 -08:00
kieferrm ab1514ed77 fix GDPR annotation 2020-01-27 22:17:56 +00:00
Martin Aeschlimann 492d045b91 [html] update dependencies 2020-01-27 23:14:42 +01:00
Martin Aeschlimann 1667546ee1 [css] update dependencies 2020-01-27 23:14:32 +01:00
Eric Amodio 5c92e3af68 Fixes open diff command (backwards) 2020-01-27 15:28:33 -05:00
Eric Amodio b861a1143d Removes open diff command from palette 2020-01-27 15:28:33 -05:00
Eric Amodio 44edf3c197 Polishes the timeline UI/UX
Cleans up API and removes some unused features (e.g. paging)
Adds date formatting
Adds loading progress and message
Removes lots of console.logs 😁
Adds titles to diffs
2020-01-27 15:28:33 -05:00
Eric Amodio 2dc90b8140 Adds index (staged changes) to timeline 2020-01-27 15:28:33 -05:00
Eric Amodio d7b5fe4cc7 Adds refresh for when timeline changes 2020-01-27 15:28:33 -05:00
Eric Amodio 87c2332fed Adds timeline diff on click and icon support 2020-01-27 15:28:33 -05:00
Rachel Macfarlane 4a69e2ad63 Fallback to directly hitting endpoint if listening on server fails or running in web, fixes #88392 2020-01-27 10:25:40 -08:00
Rachel Macfarlane 26d43c87a1 Do not duplicate account tokens, fixes #89334 2020-01-27 09:22:51 -08:00
Martin Aeschlimann a6df4b39d9 update typescript-vscode-sh-plugin 2020-01-27 15:03:16 +01:00
Joao Moreno 548baadc5f
git: have own log level
related to #85992
2020-01-27 14:40:24 +01:00
Johannes Rieken b2f1dda2e5 integration-tests for #84177 2020-01-27 10:59:08 +01:00
Johannes Rieken 163335ae11 test for #84177 2020-01-27 10:49:25 +01:00
Jackson Kearl 3a1e245648 Remove outdated extension contributed commands 2020-01-24 17:24:03 -08:00
Benjamin Pasero 5d498736f4 revert back to electron 6 (#89245) 2020-01-24 14:39:40 -08:00
Rachel Macfarlane 8c2a25968f Account extension - support multiple sessions, passing scopes to login 2020-01-24 12:05:23 -08:00
Rachel Macfarlane c7c619784a Move to v2 endpoint for account extension 2020-01-24 12:05:23 -08:00
Christof Marti a93ffac38a Add forwardPorts to schema (microsoft/vscode-remote-release#1009) 2020-01-24 14:51:53 +01:00
Benjamin Pasero cd2e132fbc tests - avoid tests that bring up webview for now (#88415) 2020-01-24 07:20:53 +01:00
Martin Aeschlimann 2b880f2b74 update typescript-vscode-sh-plugin 2020-01-23 17:08:49 +01:00
Martin Aeschlimann abab0c8548 [json] move jsonValidation declaration for #88835 2020-01-23 11:35:51 +01:00
Rachel Macfarlane 4d017a937e Fix displayName of sessions 2020-01-22 17:56:23 -08:00
Rachel Macfarlane 7d55753182 Use authentication provider display name in settings sync notification 2020-01-22 15:43:25 -08:00
Rachel Macfarlane a2ae791bac Add logging to account extension 2020-01-22 15:43:25 -08:00
Martin Aeschlimann 3c930f9214 improve jsx semantic highlighting 2020-01-22 23:16:57 +01:00
Martin Aeschlimann 9283ee35c9 [json] fix typo 2020-01-22 15:53:33 +01:00
Martin Aeschlimann ce31ace9d9 [json] avoid too many deltas (#79014) & update dependencies 2020-01-22 15:51:39 +01:00
Joao Moreno a398adac13
revert git uri changes
fixes #88775
2020-01-22 15:29:13 +01:00
Pine f04c450f7f
Merge pull request #88976 from jarodsmk/jarodsmk/mirrorCursorOnMatchingTag-default
Defaulted mirrorCursorOnMatchingTag to false
2020-01-22 10:47:16 +01:00
xearonet f471840b72 Add % to .bat variable surround (#88986) 2020-01-22 09:43:58 +01:00
Miguel Solorio 666fcc0d62 Fix #88418, update number color for color contrast 2020-01-21 10:23:18 -08:00
Joao Moreno afe47568c1
git: expose getRepository 2020-01-21 15:49:44 +01:00
Pine Wu bcdc8caf20 Drop duplicate code 2020-01-21 12:29:32 +01:00
Pine Wu 698d439b7a Adopt CSS for #39441 2020-01-21 10:41:37 +01:00
Alex Dima fbc1c189ff
Bring back version check to avoid flickering caused by coordinates conversion 2020-01-21 09:19:20 +01:00
Jarod Kurland 9be42959e3 Defaulted mirrorCursorOnMatchingTag to false
Resolves #87737
2020-01-20 16:12:54 +02:00
Matt Bierner 74cc2f352a Use more explit name for request start time
Note that this is the total time the request has been in the server queue, not the actual execution time
2020-01-19 20:14:25 -08:00
Matt Bierner 5359a9373a Log the full version string for TS
Right now, if TS has an error before we get back the full version string in the TSServer `'telemetry'` event, we end up logging just the basic version info (such as 3.8.0). We also want to include the pre-release tags (3.8.0-tsversion20200101)
2020-01-19 20:14:25 -08:00
Matt Bierner 4a5890eabc Add explict update methods intead of using spread 2020-01-19 20:14:25 -08:00
Matt Bierner 8714526077 💄 2020-01-19 20:14:25 -08:00
Matt Bierner cb0cd66791 Make sure we only send TS trigger characters they know about 2020-01-19 20:14:25 -08:00
Matt Bierner 2fd0153d56 Remove extra no null check
This is already checked a few lines up
2020-01-19 20:14:25 -08:00
Rachel Macfarlane 2eb1c837d7 Store account per env.uriScheme 2020-01-17 14:56:32 -08:00
Alex Dima 697c7d5c43
Prefer running the built-in python extension on the UI side (fixes #88837) 2020-01-17 22:27:14 +01:00
Martin Aeschlimann b6e7eaa1bd fix for typescript-vscode-sh-plugin not found 2020-01-17 16:09:44 +01:00
Benjamin Pasero cdc2469931 untitled - rewrite creation logic 2020-01-17 11:33:13 +01:00
Martin Aeschlimann 844f49f2a8 typescript-vscode-sh-plugin is not bundled 2020-01-17 11:16:34 +01:00
Matt Bierner b600d39061 Treat '#' as a VS Code trigger character
Fixes #88816
2020-01-16 17:22:04 -08:00
Rachel Macfarlane 8d8645ea54 Webpack account extension 2020-01-16 17:01:41 -08:00
Matt Bierner b57190f449 💄 2020-01-16 15:49:36 -08:00
Matt Bierner e1373b367d Use test instead of exec 2020-01-16 15:49:36 -08:00
Matt Bierner b53a2f4b8a 💄 2020-01-16 15:49:36 -08:00
Matt Bierner 534a034c2b Pick up new TS version 2020-01-16 13:16:38 -08:00
Matt Bierner 53682cf56d Bump VS code version 2020-01-16 13:16:38 -08:00
Rachel Macfarlane 235695393d Revert "Add webpack config file to vscode-account extension"
This reverts commit 7278da3687.
2020-01-16 10:07:24 -08:00
Rachel Macfarlane 03d46dc17e Revert "Move keytar to dependencies for account extension"
This reverts commit 3d933fb742.
2020-01-16 10:07:23 -08:00
Rob Lourens 8c0a573b9e
Merge pull request #88730 from mairaw/typo
fix typo
2020-01-16 10:00:15 -08:00
Alex Dima 9e1d730cf2
SemanticTokens - implement feedback received in API call:
- extract a separate DocumentRangeSemanticTokensProvider that deals with a document range
- extract a separate provideDocumentSemanticTokensEdits that deals with updating via SemanticTokensEdits a previous result
2020-01-16 18:02:02 +01:00
Johannes Rieken 430de16fef fix compilos and adopt proposed api usage, #10266 2020-01-16 17:52:18 +01:00
Matt Bierner 30f2cec795 Try moving keytar to externals
This attempts to fix an extension compile error introduced with 3d933fb742

The issue is that keytar loads a `.node` file, which webpack is not able to understand
2020-01-15 23:34:48 -08:00
Rachel Macfarlane 3d933fb742 Move keytar to dependencies for account extension 2020-01-15 16:57:18 -08:00
Maira Wenzel 71ed221b0e fix typo 2020-01-15 16:35:58 -08:00
Rachel Macfarlane 7278da3687 Add webpack config file to vscode-account extension 2020-01-15 16:25:34 -08:00
Rachel Macfarlane b80e813365 Updates to authentication provider API 2020-01-15 15:45:29 -08:00
Martin Aeschlimann a2d46d4b68 ts semantic highlighting: support alias 2020-01-15 23:08:15 +01:00
Rachel Macfarlane ac5756dd7c Sync account state between windows 2020-01-15 10:55:34 -08:00
Benjamin Pasero 2585092dbe tests - reduce output of integration tests (#84283) 2020-01-15 12:56:22 +01:00
Joao Moreno 7a05051001
Merge commit 'refs/pull/86919/head' of github.com:microsoft/vscode into pr/86919 2020-01-15 11:05:43 +01:00
Rachel Macfarlane 60beab2535 Move settings sync auth into built in extension 2020-01-14 14:50:37 -08:00
Matt Bierner 95793304cc Also show extract to function as disabled in js/ts
Currently we only show `extract constant`
2020-01-14 13:03:59 -08:00
Martin Aeschlimann 3198a28176 make consistent with plugin 2020-01-14 17:35:58 +01:00
Martin Aeschlimann 661bc5da41 define constants in typescript-vscode-sh-plugin 2020-01-14 17:35:58 +01:00
Christof Marti 66fa2c0d21 Extension id format (microsoft/vscode-remote-release#1800) 2020-01-14 16:59:25 +01:00
Martin Aeschlimann 585e937ef2 Merge branch 'aeschli/ts-sem' 2020-01-14 11:17:00 +01:00
Benjamin Pasero 7c8b0844ec fix #87330 2020-01-14 10:48:10 +01:00
Martin Aeschlimann 5ee9f6646e add constants 2020-01-14 10:07:40 +01:00
Martin Aeschlimann 7ef5ef6e95 polish html sem highlighting 2020-01-13 21:35:51 +01:00
Martin Aeschlimann fc57a1421d update typescript-language-features 2020-01-13 21:09:37 +01:00
Martin Aeschlimann a5f90a5685 polish html sem highlighting 2020-01-13 21:07:00 +01:00
Martin Aeschlimann 18f0a5bd21 add reaonly support, update typescript-vscode-sh-plugin version 2020-01-13 19:57:17 +01:00
Martin Aeschlimann 5cb1ae0661 Merge branch 'master' into aeschli/ts-sem 2020-01-13 17:51:46 +01:00
Martin Aeschlimann ae8fee7ba8 finish test 2020-01-13 17:51:11 +01:00
Martin Aeschlimann 517e4391c2 readonly semantic highlighting 2020-01-13 17:51:11 +01:00
Joao Moreno 420fa18924
💄 2020-01-13 15:54:10 +01:00
João Moreno 99d2801fa5
Merge branch 'master' into fix-gitfs-stat 2020-01-13 15:31:00 +01:00
Martin Aeschlimann 0fe69bd529 TS semantic highlighting: check api version 2020-01-13 12:42:45 +01:00
Matt Bierner a0328d26ac Add 'vscode.reopenWith' API command
Fixes #88426

Add an api command that allows extensions to open/reopen a file with a specific we custom editor. Use this to allow re-opening a failed to load image as text/binary

For #77131
2020-01-10 14:25:21 -08:00
Matt Bierner 5c71a0b18b Update js/ts grammar 2020-01-10 14:25:21 -08:00
Martin Aeschlimann ca1416f7e8 Merge branch 'master' into aeschli/ts-sem 2020-01-10 16:40:11 +01:00
Martin Aeschlimann adb6281d0a fix html tests 2020-01-10 16:38:36 +01:00
Martin Aeschlimann 59e12621ae polish 2020-01-10 16:15:08 +01:00
Martin Aeschlimann 703a2afcef update typescript-vscode-sh-plugin 2020-01-10 16:05:16 +01:00
Martin Aeschlimann fbad0c368e Merge branch 'master' into aeschli/ts-sem 2020-01-10 15:40:03 +01:00
Martin Aeschlimann f1f652ccc1 polish html-js sem highlighting 2020-01-10 15:39:42 +01:00
Martin Aeschlimann 4032ce7241 polish 2020-01-10 15:37:37 +01:00
Martin Aeschlimann db581614ab Error while computing semantic tokens. Fixes #88366 2020-01-10 15:19:05 +01:00
deepak1556 358b1ab5af skip webview tests for https://github.com/microsoft/vscode/issues/88415 2020-01-10 16:38:59 +05:30
Matt Bierner c8123dee96 Fix webviews for electron 7
Caused by #83796

Also re-enables the webview tests
2020-01-09 15:06:11 -08:00
Matt Bierner ad97bd7493 Exclude tsconfig files under dot file directories
Fixes #88328
2020-01-09 14:25:39 -08:00
Martin Aeschlimann 900100b745 use typescript-vscode-sh-plugin 2020-01-09 23:23:55 +01:00
Martin Aeschlimann a07286f7f9 use @aeschli/typescript-vscode-sh-plugin 2020-01-09 22:47:06 +01:00
Martin Aeschlimann b8a7184825 use plugin 2020-01-09 17:36:45 +01:00
Martin Aeschlimann 741a8b2b2f Merge branch 'master' into aeschli/ts-sem 2020-01-09 15:41:56 +01:00
Martin Aeschlimann a66c1f592d Error while computing semantic tokens. Fixes #88366 2020-01-09 15:25:57 +01:00
Robo 4c7431ca8d
chore: Upgrade to electron 7.x (#83796)
* chore: bump electron@7.0.0

* chore: update api

* chore: Bump electron@7.0.1

* chore: bump electron@7.1.0

* chore: Bump electron@7.1.1

* chore: Bump electron@7.1.2

* FIXME: Skip webview tests that have improper shutdown path

* chore: Bump electron@7.1.3

* bump electron@7.1.5

* debug test failures

* chore: bump electron@7.1.7

* skip test for https://github.com/microsoft/vscode/issues/87330

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2020-01-09 19:16:52 +05:30
Pine Wu 6e17ea9494 Update emmet helper 2020-01-09 10:40:50 +01:00
Alex Ross acb595b158 Exclude .vscode-test folder from npm task detection
Part of #88328
2020-01-09 10:36:44 +01:00
Martin Aeschlimann e9bb8b306c do not autoclose quotes when in strings. Fixes #88265 2020-01-09 10:34:43 +01:00
Matt Bierner fc65a7c41b Update logging of updateGraph to match TS protocol changes
For #88313

Also log updateGraph on `completions.execute` instead of as its own event
2020-01-08 16:57:26 -08:00
Matt Bierner ce5ffc76c0 Fix type 2020-01-08 16:47:10 -08:00
Matt Bierner e7b44e70e9 Dont' use default export for TelemetryReporter
We are also exproting other values/types, so use a named export instead
2020-01-08 16:36:31 -08:00
Matt Bierner 7c6897aca0 Report updateGraph performance Telemetry from the TypeScript server
Fixes #88313
2020-01-08 16:34:21 -08:00
Ron Buckton 71b60d0d22 Add call hierarchy support for TypeScript 3.8 (#88168)
* Add call hierarchy support for TypeScript 3.8

* Add version dependent registration for call hierarchy provider

* Revert TS version, PR feedback
2020-01-08 14:35:44 -08:00
Martin Aeschlimann ed4173796d ts sem 2020-01-08 17:08:48 +01:00
Martin Aeschlimann 7b4a6961d9 Merge branch 'master' into aeschli/ts-in-html 2020-01-08 11:35:57 +01:00
Martin Aeschlimann a6eac1f182 only map when necessary 2020-01-08 11:14:31 +01:00
Martin Aeschlimann c1f573b050 more tests 2020-01-08 10:32:41 +01:00
Matt Bierner 80ccf6fd9d Make sure we always explicitly reset pendingGetErr
#88209
2020-01-07 16:14:54 -08:00
Matt Bierner f0336455ed Adding documentation.refactor proposed contribution point
For #86788
2020-01-07 16:14:54 -08:00
Martin Aeschlimann 8f08c2ffa7 more tests 2020-01-07 22:21:03 +01:00
Martin Aeschlimann f24b58c186 ts sem tokens in html 2020-01-07 17:54:47 +01:00
Siberian Cat db0c41c1da Roblox XML file syntax highlight support (#87755)
Co-authored-by: Alex Ross <alros@microsoft.com>
2020-01-07 09:55:37 +01:00
Matt Bierner 629a08ed62 When generating a tsconfig with checkJs, make sure we also set allowJs
For #87972
2020-01-06 15:35:41 -08:00
Matt Bierner f105af6007 Set sourceMap: true in default tsconfig
For #87972
2020-01-06 15:35:41 -08:00
Andrew Liu 81fb34c445 fix parsed JSDoc author tag (#80898)
* fix parsed JSDoc author tag

* fix author tag
2020-01-06 11:53:13 -08:00
Matt Bierner 9536692355 Update js/ts grammars 2020-01-06 11:44:57 -08:00
Daniel Imms 57c4500da1
Merge pull request #87999 from microsoft/tyriar/85257
Flush all buffered data events on terminal close
2020-01-06 10:50:05 -08:00
sharkykh fc824b9da6
Restore "current git branch name when renaming" 2020-01-06 17:08:16 +02:00
Benjamin Pasero c4192e9bd3 change active-editor to ${activeEditorLanguage} (for #78903) 2020-01-06 15:25:29 +01:00
Benjamin Pasero 0fd2883856 Allow to configure "files.defaultLanguage" to use current language (fix #78903) 2020-01-06 10:21:05 +01:00
Johannes Rieken df48af1684 fix #88000 2020-01-03 16:27:14 +01:00
Johannes Rieken 09ee89ca87 remove more unused tslint directives 2020-01-03 08:14:23 +01:00
Johannes Rieken 12eb715644 (re)enable no-extra-semi rule 2020-01-02 21:12:03 +01:00
Johannes Rieken 84013e2ef0 fix double quote issues 2020-01-02 20:31:00 +01:00
Johannes Rieken f80a6f9b96 update rule-disablements (eslint-disable for tslint-disable) 2020-01-02 20:28:59 +01:00
Johannes Rieken 856d085279 run "eslint --fix" to get some changes for free 2020-01-02 20:14:09 +01:00
Daniel Imms 027d7caec5 Flush all buffered data events on terminal close
Fixes #85257
2020-01-02 08:41:08 -08:00
Johannes Rieken 75115f1003
Merge pull request #87709 from Ikuyadeu/vat2const
Replace 'declare var' with 'declare const'
2019-12-31 10:44:17 +01:00
Johannes Rieken f01f7ebe93 fix some (future) linting issues 2019-12-31 09:54:04 +01:00
Rob Lourens 6edd69eaf5 Fix #87343 2019-12-30 11:13:04 -08:00
Johannes Rieken ccd38490b2 use const instead of var 2019-12-30 10:52:27 +01:00
Jonathan Carter 780d875d6f Remove scheme restriction for Markdown/Emmet language features (#87541)
* Remove scheme restriction for Markdown/Emmet

* Explicitly marking scheme support
2019-12-29 17:11:38 -07:00
Yuki Ueda 3f6ca94279 replace 'declare var' with 'declare const' 2019-12-26 17:12:23 +09:00
Matt Bierner c0c4eb6a51 Always use same range for jsdoc completions
For #87091

JSdoc completions do not have different behavior for replace vs insert
2019-12-20 11:55:46 -08:00
Martin Aeschlimann 18bab626b9 [html] issues caused by HTML grammar associating '<' with JS. Fixes #86998 2019-12-20 16:27:22 +01:00
Alex Ross de5df4820f Try out new go grammar
Fixes #82549
2019-12-20 15:29:43 +01:00
Alex Ross a2c591f8ca Allow relative paths for python firstLine detection
Fixes #87214
2019-12-20 09:46:22 +01:00
Martin Aeschlimann 32230fd7c3 more tests 2019-12-18 22:29:46 +01:00
Martin Aeschlimann 43394dee80 more tests 2019-12-18 22:29:46 +01:00
Martin Aeschlimann 8bbe5ce092 tests 2019-12-18 22:29:46 +01:00
Martin Aeschlimann 2ca09d93aa visit ast 2019-12-18 22:29:46 +01:00
Martin Aeschlimann e53c9568f3 refactor 2019-12-18 22:29:46 +01:00
Martin Aeschlimann eb7ea2c435 [html] use languageModes for language types 2019-12-18 22:29:46 +01:00
Martin Aeschlimann f07fae16be extract js semantic tokens 2019-12-18 22:29:46 +01:00
Martin Aeschlimann d6aa8f540d fixes 2019-12-18 22:29:46 +01:00
Martin Aeschlimann 03e79666c7 sem highlighting in HTML 2019-12-18 22:29:46 +01:00