Commit graph

4523 commits

Author SHA1 Message Date
Martin Aeschlimann
292a290e3f Rename built-in syntax and snippet extensions to "Language Basics". Fixes #44241 2018-02-26 21:27:22 +01:00
Martin Aeschlimann
033d21d196 Change python block comment to """. Fixes #42767 2018-02-26 21:23:19 +01:00
Martin Aeschlimann
f7167ccda7
Merge pull request #44144 from Microsoft/octref/html-path-completion
Html path completion. Fix #2037
2018-02-26 20:55:13 +01:00
Martin Aeschlimann
9ca6bf4743 vscode-html-languageservice: 2.0.17-next.3 2018-02-26 20:54:24 +01:00
Martin Aeschlimann
13dfd2dbf4 Merge branch 'master' into octref/html-path-completion 2018-02-26 20:53:52 +01:00
Martin Aeschlimann
4f5b8dcfaf rev version 2018-02-26 20:53:30 +01:00
Martin Aeschlimann
46d4c16ef9 fix vscode-languageserver version 2018-02-26 20:43:10 +01:00
Martin Aeschlimann
a9d90af1a7 Add tests, update version 2018-02-26 20:06:24 +01:00
Matt Bierner
2038b8fc7f
Webview API prototype 3 (#44307)
* Webview API prototype 3

Part of #43713

Third try at refining the webview api. This pass reworks  #44165.  Major changes:

- Adds an `id` field to webviews. The id is provided by the extension and identifies the webview. It is used with the new event handling apis.

- Adds a new `onDidChangeActiveEditor` api. This is similar to `onDidChangeActiveTextEditor` but is also fired when you change webviews. It replaces the old `onFocus` and `onBlur` events on the webview itself

- Adds an `onDispose` event ot webviews. This is fired when a webview is closed by the user

- Perist webview state when the editor group changes. This is enabled for all webviews, not just those with keep alive.

* Throw error when trying to access disposed webview

* Improving webview documentation

* Clean up dispose management

* Throw if we receive a bad handle

* Move more event handling to input

* Simplify input updating

* Remove extra container property

* Fixing md security alert button

* Remove extra update container call

* Restore syncing of preview to active editor

* Fixing posting to webview

* Debounce preview updates

* Remove previewUri

* Enable direct window.postMessage instead of window.parent.postMessage

* Fixing scroll position not preserved when updating previews

* Revert parent.postMessage change.

Old behavior was correct

* Properly hide webview container on tab switch

* Make sure we only handle scroll events for the correct document

* Don't try setting negative scroll

* Revert vs code whitespace change
2018-02-26 10:06:50 -08:00
Dirk Baeumer
7ddd37c10e Add proper readme, images and localization to grunt, gulp and jake 2018-02-26 17:38:57 +01:00
Joao Moreno
dbbfa5d3a5 delete diff extension
fixes #44412
2018-02-26 17:25:09 +01:00
João Moreno
635f82fa7e
Merge pull request #42831 from Microsoft/unused-variables
Re-enable the unused variables tslint rule for the hygiene task fixes #42157
2018-02-26 16:06:20 +01:00
Benjamin Pasero
a23edada50 debt - avoid deprecated Buffer ctors 2018-02-26 13:09:54 +01:00
Christof Marti
264d0c2ec8 Name, description, icon for merge-conflict extension (#43978) 2018-02-26 09:48:34 +01:00
Joao Moreno
03be224fa4 use links in messages 2018-02-26 09:11:23 +01:00
Pine Wu
4eca3c3d89 move to textedit 2018-02-25 19:27:34 -08:00
Pine Wu
18aed804c5 make sure test is included 2018-02-25 19:26:33 -08:00
Matt Bierner
ee558b001c Refactoring
Extract shouldEnableDotCompletions

Extract getConfigurationForResource

Reorder methods

Format sig
2018-02-23 17:25:47 -08:00
Matt Bierner
a269045780 better scope try catch in provideCompletionItems
We only want to swallow exceptions around the request itself
2018-02-23 17:11:30 -08:00
Matt Bierner
ec3e57e946 Remove TS 2.6.1 import path workaround since this was fixed in TS 2.6.2+ 2018-02-23 17:04:55 -08:00
Matt Bierner
a16e650dcf Remove unused cast 2018-02-23 17:01:00 -08:00
Matt Bierner
b0add1e84f Use vscode namespace instead of specific imports 2018-02-23 16:57:44 -08:00
Matt Bierner
0d5bb310d9 Extract should trigger to new method 2018-02-23 16:54:30 -08:00
Matt Bierner
85933d7ba8 Pick up TS 2.7.2 2018-02-23 16:48:09 -08:00
Ramya Achutha Rao
c1ee104fd4 Use latest version of telemetry module 2018-02-23 14:57:27 -08:00
Pine Wu
6936409a1f Address feedback 2018-02-23 14:13:22 -08:00
Pine Wu
16af175b3a Update tasks to 2.0 2018-02-23 14:11:19 -08:00
Matt Bierner
e23c58b3ab Split out ts syntax and grammar to ts basics 2018-02-23 13:29:52 -08:00
Matt Bierner
ac5ed16ece Move package-json extension to npm extesion
#44166
2018-02-23 13:29:52 -08:00
Peng Lyu
8a91e901ff active line number adoption for dark themes from @usernamehw. 2018-02-23 10:57:41 -08:00
Martin Aeschlimann
3c79f32c56 [html] add include to server tsconfig 2018-02-23 18:41:13 +01:00
Benjamin Pasero
393aa4f985 notifications - polish some extension messages 2018-02-23 18:19:55 +01:00
Martin Aeschlimann
3e7521b68e [html] syntax folding (disabled by default) 2018-02-23 16:23:59 +01:00
Martin Aeschlimann
61a2adfa1a [json] setting for syntax folding (experimental) 2018-02-23 16:23:59 +01:00
Martin Aeschlimann
f767a6c2eb
Merge pull request #44189 from aldonetti/patch-3
proper casing
2018-02-23 15:59:18 +01:00
Joao Moreno
462fb54c58 fixes #43580 2018-02-23 12:24:19 +01:00
Joao Moreno
91659bfeca fixes #43528 2018-02-23 12:24:19 +01:00
Pine Wu
8c86648b40 Unit Test, solve corner cases and use TextEdit 2018-02-23 02:02:38 -08:00
Joao Moreno
2288e7cecd improve git logging 2018-02-23 10:21:06 +01:00
Joao Moreno
8e746bbd4c show show git output command 2018-02-23 09:04:57 +01:00
Matt Bierner
0cb6cfec4f Remove unused .vscode folders 2018-02-22 16:29:09 -08:00
Matt Bierner
7a737da444 Remove unused file 2018-02-22 16:28:33 -08:00
Matt Bierner
8e0bdd6040 Split package-json specific logic out of javascript extension 2018-02-22 16:27:20 -08:00
Matt Bierner
dcf6559cc1 Prototype experimental folding API for TS/JS
#44158
2018-02-22 16:07:11 -08:00
Matt Bierner
47dae4cf73 Mark properties readonly 2018-02-22 15:12:09 -08:00
Matt Bierner
dac9f9a94e Fix ts/js telemetry reporter 2018-02-22 15:12:09 -08:00
Matt Bierner
b02b49ebd0 Use async 2018-02-22 15:12:09 -08:00
Matt Bierner
030b95a792 Json format 2018-02-22 15:12:09 -08:00
Matt Bierner
3006e25f03 Add real displayName and descriptions to the typescript extension
Part of #43978
2018-02-22 15:12:09 -08:00
Matt Bierner
5a73518833 Add real displayname and description to the javascript extension
Part of #43978
2018-02-22 15:12:09 -08:00