Commit graph

4336 commits

Author SHA1 Message Date
Dirk Baeumer e91b851ca8 Upgrade to latest language pack format 2018-01-30 00:11:57 +01:00
Ramya Achutha Rao 71c3b15465 Update the telemetry module used by extensions 2018-01-29 14:53:24 -08:00
Matt Bierner 41afff235b Restore automatically putting TS Server in debug more if TSS_DEBUG is set
Fixes https://github.com/Microsoft/TypeScript/issues/21454
2018-01-29 10:50:39 -08:00
Rob Lourens 390a5295b0 Fix #40279 - rewrite php grammar rule to avoid regex that hangs vscode-textmate 2018-01-29 10:04:28 -08:00
Matt Bierner d14586e186 Provide command aliases for TS extension
#39778
2018-01-29 09:55:20 -08:00
Matt Bierner eaa199495e Add alias for markdown commands
#39778
2018-01-29 09:55:20 -08:00
Joao Moreno b0e3568730 provide original english translations for git
related to #39778
2018-01-29 18:37:35 +01:00
Dirk Baeumer 62fc2a1230 Fix yarn.lock for emmet. 2018-01-28 21:47:46 +01:00
Ramya Achutha Rao 7a5045618e Skip emmet in selectors #42245 2018-01-27 22:10:58 -08:00
Matt Bierner 46c4c37921 Pick up latest TS insiders 2018-01-27 13:25:40 -08:00
Rob Lourens db70084dca Settings editor - autofix missing commas in settings file.
Fixes #42232
2018-01-26 18:46:09 -08:00
Ramya Achutha Rao 41e7dbc0df Absorb upstream bug fixes for emmet 2018-01-26 15:30:56 -08:00
Matt Bierner 123ce8a0ba Update rust grammar 2018-01-26 14:06:55 -08:00
Martin Aeschlimann 6bfc7ee2b5 strange intellisense suggestion in settings.json. Fixes #41732 2018-01-26 17:27:57 +01:00
Benjamin Pasero 86244d39a7 add API tests that run on a workspace 2018-01-26 16:16:41 +01:00
Joao Moreno 786ea020f7 optionally show Open File action
fixes #41137
2018-01-26 15:29:21 +01:00
Joao Moreno 41886d2793 fix smoketests 2018-01-26 11:36:40 +01:00
Matt Bierner b3526e5adf Update js/ts grammar 2018-01-25 15:28:54 -08:00
Matt Bierner 1ff5d84a5f Also capture dots in jsdoc property names 2018-01-25 15:28:54 -08:00
Dirk Baeumer 04594c864b Add support for Language Packs 2018-01-25 21:14:34 +01:00
Matt Bierner b7b3ddbc2e Mark extract constant refactor as refactor.extract.constant 2018-01-24 08:55:33 -08:00
Matt Bierner 9e6b718bd4 Fixing markdown colorization test 2018-01-24 08:42:06 -08:00
Mika Andrianarijaona 2472a47bc8 fix: add word boundray to check markdown italic (#41466)
* fix: add word boundray to check markdown italic

* fix: update markdown.tmLanguage.base
2018-01-24 08:40:25 -08:00
Johannes Rieken 57a072f82a
Merge pull request #41552 from Microsoft/rename-workspaceedit-proto
Allow renaming/creating/deleting files in a workspaced edit
2018-01-24 09:28:07 +01:00
Matt Bierner 1e117f4168 Revert "Revert "Use special prefix to tell TS that a resource is in-memory only (#42001)""
This reverts commit 200e401357.
2018-01-23 13:10:49 -08:00
Steven Van Impe 013fff3f9e Update Swift snippets (#42048) 2018-01-23 10:57:01 -08:00
Alex Dima 7af951014b Remove node-debug and node-debug2 obsolete marker files 2018-01-23 17:46:13 +01:00
Johannes Rieken 0f2cc682a0 Merge branch 'master' into rename-workspaceedit-proto 2018-01-23 17:19:06 +01:00
Alex Dima 5bdb90de36 scripts/code.sh picks up marketplace built-in extensions automatically 2018-01-23 16:40:52 +01:00
Matt Bierner 6316a4d0c8 Take kind instead of edit in CodeAction ctor
Changes the `CodeAction` constructor to take a kind instead of an edit. This makes the API more consistent IMO, as now both `edit` and `command` are set the same way
2018-01-22 11:59:17 -08:00
Matt Bierner eccf728e64
CodeActionScope (#41782)
* Add CodeActionScope

* Replace matches with contains, try using in ts extension

* Move filtering to getCodeActions

* Basic test

* Docs

* Fix tests

* Hooking up requested scope

* Add basic test for requestedScope

* Added auto apply logic

* Gate refactor provider to only compute refactorings when requested

* Making suggested renames

* Clean up code action trigger impl to use single Trrigger info object

* Rename codeActionScope file and internal CodeActionScope class

* Add quick fix base type

* Make keybinding API more similar to insertSnippet

Take args as an object instead of as an array of values

* Clean up docs

* scope -> kind

* Fixing examples to match Refactor kind
2018-01-22 11:45:22 -08:00
Sandeep Somavarapu b25c1947c6 #41752 Update extension point 2018-01-22 18:02:20 +01:00
Martin Aeschlimann 8500a2ec53 Keywords and Storage.types have the same color in Dark theme for Go. Fixes #41822 2018-01-22 11:26:40 +01:00
Johannes Rieken abb5354943 Merge branch 'master' into rename-workspaceedit-proto 2018-01-22 10:35:30 +01:00
Matt Bierner d3e2fe7c55 Explicitly hide TS version status when in ts/js file with unknown scheme 2018-01-19 18:38:44 -08:00
Matt Bierner 9e928dbedc Pick up latest TS insiders 2018-01-19 15:21:20 -08:00
Ramya Achutha Rao f57b024b18 Use latest emmet helper that has fixes #33818 2018-01-19 10:51:24 -08:00
Matt Bierner b0a26a94c6 Add quick fix all for JS/TS
Fixes #40170
2018-01-18 17:22:58 -08:00
João Moreno b7588a82f3
Merge pull request #41763 from samervin/patch-1
Correct "branchs" to "branches" typo
2018-01-18 09:04:27 +01:00
Matt Bierner a00d9092bc Remove any cast for completion items now that we've picked up TS 2.7 2018-01-17 18:09:05 -08:00
Matt Bierner fbb4b9425b Remove unused param 2018-01-17 15:38:37 -08:00
Matt Bierner 88f535500d Fix build error caused by ts api change 2018-01-17 15:38:37 -08:00
Matt Bierner 44d1107612 Make a code action request for each diagnostic
Fixes #27392

**Bug**
We currently only make a single code action request for all diagnostics, with a range the covers the span of all diagnostics. However the TS Server API actually expects a code action request for each diagnostic (both the code and range of the code action request has to exactly match that of the diagnostic it aims to fix).

The result is that for overlapping diagnotics where there are multiple fixes, we only  would get code actions for the outermost diagnostic

**Fix**
Make a code action request per diagnostic
2018-01-17 15:38:37 -08:00
Matt Bierner 5c26abe75c Pick up new TS version 2018-01-17 13:58:59 -08:00
Matt Bierner 1c07451dd1 Memoize TS API version checks 2018-01-17 13:44:50 -08:00
Sam Ervin 3c8ed9206f
Correct "branchs" to "branches" typo 2018-01-17 11:50:38 -06:00
Sandeep Somavarapu 2ee65b3eaa #41752 Show contributed locales in the intellisense in language file 2018-01-17 17:25:53 +01:00
Benjamin Pasero b939d90808 fix #40224 2018-01-16 18:04:46 +01:00
Christof Marti ec1924769c Add alias for commands (#39778) 2018-01-16 11:05:00 +01:00
Christof Marti 079b3090e1 Updgrade markdown-it (fixes #40099) 2018-01-16 10:17:23 +01:00