Commit graph

5638 commits

Author SHA1 Message Date
Joao Moreno f950abaa81 git: extract categorizeResourceByResolution 2018-07-06 12:34:38 +02:00
Joao Moreno 8f6c6e8bc0 Merge commit 'refs/pull/50252/head' of github.com:Microsoft/vscode into pr/50252 2018-07-06 12:26:22 +02:00
Joao Moreno c0cfa06328 fix #44106 2018-07-06 12:20:56 +02:00
Joao Moreno e045147e44 improve conflicts during git rebase flow 2018-07-06 12:15:27 +02:00
Rachel Macfarlane bd953248ad Revert "Reformat test .asar file, fixes #53194"
This reverts commit 689141523f.
2018-07-05 15:36:29 -07:00
Rachel Macfarlane 689141523f Reformat test .asar file, fixes #53194 2018-07-05 14:36:02 -07:00
Benjamin Pasero 4645522d82 enable test (for #52414) 2018-07-05 16:06:13 +02:00
Benjamin Pasero e283c32b9d fix #52447 2018-07-05 15:55:34 +02:00
Rob Lourens 185278a3fa findTextInFiles vscode-api-tests test 2018-07-03 20:46:54 -07:00
Rob Lourens 2315156bf3 Search Provider - delete unused search stats 2018-07-03 20:11:35 -07:00
Rob Lourens 0215f30d9b Search Provider - implement clearCache 2018-07-03 20:08:53 -07:00
Rob Lourens 69df745be9 Fix build 2018-07-03 18:45:31 -07:00
Matt Bierner 9f8491190a Update js/ts grammars 2018-07-03 17:19:04 -07:00
Rob Lourens 824a3e9298 Search provider - remove absolute path checks from extHostSearch to match fileSearch.ts 2018-07-03 16:03:43 -07:00
Rob Lourens fdf27274f0 Search provider - fix cancellation in extension code 2018-07-03 15:59:49 -07:00
Erich Gamma 7452fe03a0 Generalize the debug argument matching 2018-07-03 16:56:27 +02:00
Dirk Baeumer 21991b4912 Move to latest vscode-nls for corrupted cache support 2018-07-03 16:12:52 +02:00
Rob Lourens 0ef1c31b06 Change SearchProvider to be URI-based, not string-based. #50788 2018-07-02 19:24:14 -07:00
Rob Lourens e0e9c3d455 Search provider - some clean up 2018-07-02 19:24:14 -07:00
Rob Lourens 995ef29643 Add missing methods to strings.ts 2018-07-02 19:24:13 -07:00
Rob Lourens dc1c80e6ff Clean up strings.ts 2018-07-02 19:24:13 -07:00
Rob Lourens ea5620dd8d SearchProvider invoked on every keypress 2018-07-02 19:24:13 -07:00
Matt Bierner 1ee1759e02 Adding workaround for TS trying to update paths on file without exports
Fixes #52967
2018-06-29 17:30:53 -07:00
Matt Bierner 2f0b9394bc Add telemetry on TS refactoring usage
Needed to understand which type of refactorings are most used so we can decided which bugs to prioritize and which new refactoring areas to invest in
2018-06-29 17:13:49 -07:00
Jackson Kearl 4f870afa58 Enforce node boundaries in places where it matters (#53192)
* Enfoce node boundries in places where it matters

* Flip defualt emmet includeBoundries to true

Explicitly set getNode's include boundries where needed

* Remove defualt papameter

* Add update image boundry tests

* Add tests for bondries on some of the tag actions

* Rest of tag tests
2018-06-29 13:40:38 -07:00
Martin Aeschlimann 61231a6f34 [css] update service (fixes #53159) 2018-06-29 08:57:13 +02:00
Matt Bierner a2974a0782 Fix markdown code blocks getting two backgrounds in preview
Fixes #53246
2018-06-28 15:18:05 -07:00
Ramya Achutha Rao f200964ed5 Fix Select next/item bug when cursor is at tag boundary 2018-06-27 21:48:05 -07:00
Matt Bierner 9f05b498ca Fix js doc colorization
Fixes #53162
2018-06-27 10:28:38 -07:00
Christof Marti 9aa90a526d Fix events firing multiple times (fixes #52894) 2018-06-27 17:09:17 +02:00
Martin Aeschlimann 0e87ea1c5e jsonc strings are wrong color. Fixes #53010 2018-06-27 14:34:51 +02:00
Greg Van Liew 14274ef7d1 Use VS Code with a space in built-in extension descriptions. (#53080)
* Use VS Code with a space in comments

* User VS Code with a space in built-in extension descriptions.
2018-06-26 18:38:18 -07:00
Matt Bierner 33446a0a9e Use hierarchical markdown document symbols
Fixes #52546
2018-06-26 17:31:45 -07:00
Daniel Imms 6d600f0661 Fix test compile 2018-06-26 12:50:41 -07:00
Daniel Imms 8237445753 Rename cols to columns
Fixes #52885
2018-06-26 12:45:36 -07:00
Matt Bierner 50cc3d6121 Never edit files under node_modules on update paths
Workaround for #52977
2018-06-26 11:08:09 -07:00
Martin Aeschlimann e7c0f07530 fix colorize test failures 2018-06-26 17:13:23 +02:00
Martin Aeschlimann 4e2a84b5f7 light theme: remove trailing comma 2018-06-26 12:53:47 +02:00
Pine Wu e62554e4b1 [css] Update grammar from octref/language-css 2018-06-25 17:26:32 -07:00
Matt Bierner 8829182e4a Never apply an update path edit that tries doing something with node_modules
Root cause is https://github.com/Microsoft/TypeScript/issues/24914

Fixes #52675
2018-06-25 16:26:03 -07:00
Martin Aeschlimann f055155108 update service 2018-06-25 23:32:50 +02:00
Martin Aeschlimann 7f56f200c1 Separate grammar for jsonc (fixes #42539) 2018-06-25 23:30:06 +02:00
Martin Aeschlimann f984189246 [json] fix for schema assocations in workspace settings 2018-06-25 23:06:40 +02:00
Pine Wu b3e7079dda [css] Update css-language-service for css/html 2018-06-25 11:52:25 -07:00
Matt Bierner 48c54a009f Override light color for function and params in md code preview
Fixes #52710
2018-06-25 11:09:05 -07:00
Dániel Tar 6ae1cc7720 Fix a replace gone wrong in typescript-language-features/package.nls (#52704) 2018-06-25 10:54:49 -07:00
Joao Moreno 92693a1b26 API: UriHandler, rename and docs 2018-06-25 15:13:03 +02:00
Ramya Achutha Rao c3ad978982 Escape $ when wrapping Fixes #52640 2018-06-22 14:57:03 -07:00
James b7e6e04666 fix #51768 (#51849) 2018-06-21 17:36:25 -07:00
Martin Aeschlimann e993d1179d file line detection: allow whitespace after shebang 2018-06-21 10:24:50 +02:00
Martin Aeschlimann d34d9735cc [python] non-file extension filetype detection. Fixes #52519 2018-06-21 10:24:50 +02:00
Matt Bierner 78f410ce39 Make sure we correctly update local resource roots when switching previewed markdown file
Fixes #49859
2018-06-20 15:48:14 -07:00
Matt Bierner 1a9f7c85b8 Fix content after fenced code block being treated as code
Fixes #52509
2018-06-20 14:15:34 -07:00
Matt Bierner 66a9cfd809 Update deps 2018-06-20 14:12:18 -07:00
Matt Bierner 0532c31e4c
Definition link API (#52230)
* Definition link

Add a new `DefinitionLink` type. This type allows definition providers to return additional metadata about a definition, such as the defining span.

Hook up this new provider for typescript

This PR replaces #48001

* Correctly mark field optional

* Small code fixes

- Use lift
- Remove unused param

* Adding documentation
2018-06-20 11:52:47 -07:00
Rob Lourens 04c1ad98b3 EH search - Centralize vscode-ripgrep import in search extension 2018-06-20 11:49:12 -07:00
Matt Bierner 2c0c1f3d66 Use ignoreIfExists for creating new files during refactorings 2018-06-20 11:10:01 -07:00
Johannes Rieken c177376801 use posix path math with uris 2018-06-20 17:12:59 +02:00
Johannes Rieken 257ae9f76c add ignoreIfExists-option #10659 2018-06-20 15:57:49 +02:00
Johannes Rieken f0ec28b499 override -> overwrite, #10659 2018-06-20 13:16:53 +02:00
Johannes Rieken bac2a59322 add partial test #10659 2018-06-20 12:46:57 +02:00
Christof Marti 6cba561685 Writeable active and selected items (#49340, fixes vscode-azure-account#67) 2018-06-20 10:27:37 +02:00
Matt Bierner 7c96862d37 Use workspace edit to create new file on refactor
#10659
2018-06-19 17:24:40 -07:00
Matt Bierner e4fe04ad5b Treat comma as a commit character in js / ts
Fixes #52351
2018-06-19 11:51:18 -07:00
Matt Bierner 0e361509ef Fix completion characters inside of js function call
Fixes #52350
2018-06-19 11:51:18 -07:00
Matt Bierner f71c378488 Make sure we trigger js/ts completions on / 2018-06-19 11:06:35 -07:00
Matt Bierner 4d3a8ae210 Add tag closing completions
Part of #34307. Add manual completions for closing jsx tags. Requires TS 3.0
2018-06-19 11:06:35 -07:00
Benjamin Pasero 0113b40fd1 fix #52212 2018-06-19 19:04:19 +02:00
Matt Bierner 260ee3284e Update js/ts grammars 2018-06-19 10:02:48 -07:00
Matt Bierner 8729695a01 Update markdown grammar 2018-06-19 10:02:47 -07:00
Johannes Rieken 29a7289ba3 add test for #42638 2018-06-19 16:58:36 +02:00
Johannes Rieken ea28332e28 more testing on #10659 2018-06-19 16:58:36 +02:00
Johannes Rieken 10192366eb move onDidRename to filesystem-events things, #43768 2018-06-19 15:17:54 +02:00
Johannes Rieken a979c73896 bulk edit provider listens on operation events only, add more test (partity disabled due to #52212), #10659 2018-06-19 12:47:28 +02:00
Matt Bierner fae153401b Clairify ts version requirements
Fixes #50806
2018-06-18 15:51:44 -07:00
Matt Bierner fb6be6e2f0 Remove periods after required version numbers 2018-06-18 15:51:44 -07:00
Matt Bierner 49b483a51d Remove version notes for TS versions < 2.3.0
These older versions are rarely used as the workspace version by VS Code. Removing notes around these given the very small number of users impacted by these restrictions
2018-06-18 15:51:44 -07:00
Matt Bierner b5b211f211 Move constant to private static 2018-06-18 15:51:43 -07:00
Pine 822c3ba0eb
Merge pull request #52226 from Microsoft/octref/scss-unknown-at-rules
SCSS unknown at rules
2018-06-18 23:58:44 +02:00
Daniel Imms 8d4466df93
Merge pull request #52143 from Microsoft/46192_terminal_renderer
Terminal renderer and activeTerminal APIs
2018-06-19 05:29:00 +08:00
Matt Bierner 423cd0e5e0 More robust workaround for path preservation 2018-06-18 11:22:34 -07:00
Matt Bierner 08bfe78581 More restrictive regex for rename 2018-06-18 11:22:34 -07:00
Pine Wu 1e0be8ddb1 SCSS unknown at rules 2018-06-18 11:13:55 -07:00
Pine Wu 79b64c4f81 [css] Add css launch config for testing grammar 2018-06-18 10:31:13 -07:00
Matt Bierner 2e5253d493 Move diagnostic tags api out of proposed
Also rename `customTags` to `tags`

Fixes #51104
2018-06-18 10:11:19 -07:00
Johannes Rieken c93d5e7d92 less commented out test for #10659 2018-06-18 17:45:26 +02:00
Johannes Rieken 40df36b6e5 add proposed api for workspace edit #10659 2018-06-18 17:43:47 +02:00
Johannes Rieken 3595e26f3c adopt CompletionItem#preselect in TypeScript #35551 2018-06-18 16:15:57 +02:00
Johannes Rieken b2cbf270ad adjust return type signature, #34968 2018-06-18 15:55:43 +02:00
João Moreno c3942c67b1
Merge pull request #52145 from NahomAgidew/master
Remove inline git revert confirmation alert (Issue #43625)
2018-06-18 10:54:49 +02:00
João Moreno 4e575be919
Merge pull request #49167 from chenhowa/git-errors
Await git.pullFrom and gitt.pushTo to ensure any failures display an …
2018-06-18 10:52:46 +02:00
João Moreno 6595dcecfa
Merge pull request #52146 from NahomAgidew/fix/spin-sync-icon-on-push
Fix to #43625: spin sync icon on push
2018-06-18 10:44:43 +02:00
João Moreno 4b1df4f4a7
Update statusbar.ts 2018-06-18 10:44:13 +02:00
Nahom Abi 080e8247cc Fix #51677: Git icon not spinning when pushing from command palette 2018-06-17 18:14:37 -07:00
Daniel Imms 8557d61188 Also test window.activeTerminal 2018-06-17 20:57:23 +08:00
Daniel Imms 7a21839e46 Add test for onDidChangeActiveTerminal 2018-06-17 20:56:40 +08:00
Daniel Imms 524e0f5d27 Add test for sendText -> onInput 2018-06-16 21:35:56 +02:00
Daniel Imms 970fca86e5 Add some more terminal API tests 2018-06-16 21:24:38 +02:00
Matt Bierner a85c0b6669 Introduce webview.active
The current `.visible` property actually means active. Rename this value to `.active` and introduce a real `.visible`
2018-06-15 15:51:46 -07:00
Nahom Abi 04aba36883 Remove inline git revert confirmation alert (Issue #43625) 2018-06-15 15:36:33 -07:00
Matt Bierner ab77235bfb Don't show lightbulb if we only have a selection
Removes code action trigger proposal

Fixes #52070
2018-06-15 11:08:22 -07:00
Matt Bierner 36f660424d Add missing file update 2018-06-15 10:27:10 -07:00
Matt Bierner 749eb1ebcd Make sure we handle line number links correctly in preview
Fixes #51919
2018-06-15 10:09:27 -07:00
Matt Bierner ae7d3eb888 Add workaround for https://github.com/Microsoft/TypeScript/issues/24968 2018-06-15 10:09:27 -07:00
Matt Bierner 30dcf74d92 Show correct directory name in prompt 2018-06-15 10:09:27 -07:00
Matt Bierner dfc4d75c1a Make sure we always re-queue a diagnostic request after changing documents 2018-06-14 10:09:12 -07:00
Christof Marti 47fc17712d Streamline QuickInput API (#49340) 2018-06-14 18:51:33 +02:00
Benjamin Pasero 2ec2cf597a
API tweaks for grid editor (#51876)
* fix #51001

* add onDidChangeTextEditorViewColumn test that validates moving editor group

* adopt vscode.ViewColumn.Beside

* add vscode.setEditorLayout command
2018-06-14 17:17:39 +02:00
Matt Bierner a1e58c9ea8 Use type converter to convert location 2018-06-13 18:04:33 -07:00
Matt Bierner 6d075f773b Cleaning up implementations code lens
- Make async
- extract some methods
2018-06-13 18:02:29 -07:00
Matt Bierner 06ea138fbb Use nameSpan for getting basic symbol range
#51176
2018-06-13 18:00:34 -07:00
Matt Bierner 3cdda11bc9 Always normalize resources in resource map for drive letter on windows 2018-06-13 17:33:07 -07:00
Matt Bierner af25bb8d5b Use global scope for checking dependent registrations 2018-06-13 17:32:38 -07:00
Matt Bierner 7ab453370e Using resource map for storing diagnostic 2018-06-13 17:12:33 -07:00
Matt Bierner 29198d7e8a Remove unused api version 2018-06-13 17:05:46 -07:00
Matt Bierner 37232ca3bf Support basic path updates on directory rename
Fixes #50244
2018-06-13 16:43:35 -07:00
Matt Bierner 391ce985ca Update to TS 2.9.2 2018-06-13 16:26:18 -07:00
Matt Bierner 68afee908e Allow updating webview settings after creation
Fixes #51733
2018-06-13 15:20:18 -07:00
Matt Bierner b0a2dfac65 Extract resource map to own file 2018-06-13 13:38:03 -07:00
Matt Bierner c6d90b63fc Extract ResourceMap 2018-06-13 13:38:03 -07:00
Matt Bierner b59926b874 Move case normalization onto SyncedBufferMap 2018-06-13 13:38:02 -07:00
Rob Lourens 6d1ee0697b Fix #38195 - strange search error from telemetry 2018-06-13 10:06:09 -07:00
Christof Marti f4b89e0b40 Action bar (#49340) 2018-06-13 16:57:55 +02:00
Johannes Rieken ae9063f094 add DocumentSymbol#detail, #34968 2018-06-13 16:14:15 +02:00
Erich Gamma 09e8559257 Don´t show npm explorer commands in the command palette fixes #51196 2018-06-13 12:03:13 +02:00
Matt Bierner 583f1e4934 Only use one paths rename handler
Fixes #51485
2018-06-12 16:30:17 -07:00
Matt Bierner 99c825f4e2 Make sure we use correct resource when accessing the [markdown] config setting
Fixes #51650
2018-06-12 11:09:41 -07:00
Christof Marti 965c1862b5 QuickInput Proposed API (#49340) 2018-06-12 18:23:25 +02:00
Joao Moreno 8a3ffed0ab vsts: report smoketest results 2018-06-12 17:37:53 +02:00
Joao Moreno 4dc738593b complete integration test results 2018-06-12 17:24:23 +02:00
Johannes Rieken cecfdcde22 update proposed API to DocumentSymbol-type, #34968 2018-06-12 12:47:27 +02:00
Matt Bierner 8994a584c9 Update md grammar 2018-06-11 18:38:35 -07:00
Matt Bierner 05aab259e7 Extract constant 2018-06-11 18:38:03 -07:00
Matt Bierner 31a8fe2690 Use lazy for creating output channel 2018-06-11 18:38:03 -07:00
Matt Bierner ed3e645112 Use _private 2018-06-11 18:38:03 -07:00
Rob Lourens 729cf96780 Fix #51623 - tweak rg error message for \n 2018-06-11 14:08:41 -07:00
Joao Moreno d8555f56c1 tests: scope xml file per platform 2018-06-11 22:36:32 +02:00
Joao Moreno 4eceb88ebf wip: build show integration tests 2018-06-11 22:05:12 +02:00
Jackson Kearl 0e97f85c39 Make Emmet: "update image size" consistant with "follow link" (#51630) 2018-06-11 11:46:06 -07:00
Martin Aeschlimann 772aaf777a update grammars 2018-06-11 13:03:28 +02:00
Ramya Achutha Rao a715378168 Fixes #50983 2018-06-08 15:38:47 -07:00
Joao Moreno 57aabf1c42 smoketest: more debug 2018-06-08 21:48:46 +02:00
Joao Moreno b48174153e git: parenthesis 2018-06-08 21:24:58 +02:00
Joao Moreno 534060f381 smoketest: more debug 2018-06-08 21:24:15 +02:00
Joao Moreno 1ceb8d6d22 smoketest: more logging 2018-06-08 21:00:10 +02:00
Joao Moreno c6b40b8f63 smoketest: add logging 2018-06-08 20:08:34 +02:00
Rob Lourens 8647b7c167 Bump vscode-ripgrep 2018-06-08 10:34:28 -07:00
Pine Wu 2f61ca78ff Update css-language-features contribution readme 2018-06-08 10:08:15 -07:00
Matt Bierner 4f324d1712 Fix markdown preview not cleaning up context/state on close
Fixes #51033
2018-06-07 16:38:52 -07:00
Matt Bierner 26d5d76a23 Add in experimental support for js/ts multi-line diagnostics
From da48d42acc
2018-06-07 16:38:52 -07:00