5996 Commits

Author SHA1 Message Date
Joao Moreno
fa1deaaa34 Merge commit 'refs/pull/52527/head' of github.com:Microsoft/vscode into pr/52527 2018-09-12 12:01:51 +02:00
Joao Moreno
7ffa9219ae fixes #52037 2018-09-12 11:55:21 +02:00
Joao Moreno
07e7dac2e7 💄 2018-09-12 11:40:25 +02:00
Joao Moreno
f1ef0a7fbe Merge commit 'refs/pull/51111/head' of github.com:Microsoft/vscode into pr/51111 2018-09-12 11:30:29 +02:00
Ramya Achutha Rao
31bf4ccab3 Balance inward should go to inner contents even when no selection Fixes #58173 2018-09-11 19:31:06 -07:00
Matt Bierner
e6443c6220 Fix description 2018-09-11 12:54:46 -07:00
Rob Lourens
60b4b9939e Show HTML setting descriptions as markdown, remove wrapAttributesIndentSize from #55743 2018-09-11 11:46:03 -07:00
Matt Bierner
1ff383c64f Split useCodeSnippetsOnMethodSuggest into js and ts specific settings
Splits the old setting into `javascript.suggest.insertParametersForFunctionCalls` and `typescriptscript.suggest.insertParametersForFunctionCalls`

Fixes #58385
2018-09-11 11:20:38 -07:00
Matt Bierner
cb1768b61f Fix commit charactes not working if you trigger them manually after a .
Cases like: `console.|` should have commit characters while, `...|` should not
2018-09-11 11:14:18 -07:00
Matt Bierner
f8486f95a7 Reject renames with string message directly 2018-09-11 10:49:40 -07:00
Matt Bierner
3d011dea44 Catch errors on navto requests
Fixes #58421
2018-09-11 10:48:45 -07:00
Matt Bierner
33db532608 Show error early on invalid rename in js/ts
Fixes #58393
2018-09-11 10:48:45 -07:00
Martin Aeschlimann
6ae58634e9 "files.associations" does not override file icons defined in "fileExtensions" or "fileNames" icon theme tables. Fixes #58366 2018-09-11 17:20:18 +02:00
Alexandru Dima
1026e5fb65
Merge pull request #51557 from limerickgds/master
fixed:generator method of class autocomplete causes star(*) to be add…
2018-09-11 16:09:26 +02:00
João Moreno
fcfe771403
Merge pull request #50526 from beauallison/correct-git-light-check-icon
Align GIT light colored check icon with dark
2018-09-11 16:05:31 +02:00
Alex Dima
f9d8addc07 Merge remote-tracking branch 'origin/master' into pr/limerickgds/51557 2018-09-11 15:30:40 +02:00
Martin Aeschlimann
085854cd2b [html] jquery completions no longer work. Fixes #58299 2018-09-11 13:55:25 +02:00
Sandeep Somavarapu
5bd80f000e Fix #44808 2018-09-11 12:27:44 +02:00
Joao Moreno
f92afbdc3c git: mergebase is a readonly operation 2018-09-11 11:46:02 +02:00
Matt Bierner
d33b1c3063
Initial work on signature help context (#58135)
* Initial work on signature help context

Fixes #54972

Adds `SignatureHelpContext`. This tells providers why signature help was requested

TODO:

- [ ] Better understand semantics of retrigger. Should `retrigger` be an flag instead of a `triggerReason`?
- [ ]  Fix skipped test
- [ ] Add more tests for trigger reasons / trigger characters

* Fix unit test

* Make sure we retrigger sig help if it is already showing

* Add test for dismiss and re-invoke

* Extract some constants

* Extract createMockEditor
2018-09-10 17:44:21 -07:00
Matt Bierner
5db4761cac Remove unused param 2018-09-10 15:51:55 -07:00
Matt Bierner
d5bd9803bd Change behavior of jt/ts jsdoc completions
Changes how jsdoc completion works to reduce typing delays and hopefully avoid showing it for fewer false positives. Main changes

- Only show the completion item if typescript's docCommentTemplate returns something. This means that you won't see the completion item in cases like: `/** |a */`  or `/**|` anymore. However in the case of `/**|`, pressing return will still complete to the empty comment as expected

- Get the snippet for the completion early so there is no flash when accepting it
2018-09-10 15:41:07 -07:00
Matt Bierner
2d4a98842b Rename javascript.nameSuggestions to javascript.suggest.names
Bring this setting name inline with other suggestions settings

Part of #58385
2018-09-10 15:41:07 -07:00
Matt Bierner
ae7035dbbf Add setting to disable all path based sugestions in js/ts
The new  `javascript.suggest.paths` and `typescript.suggest.paths` settings replace `typescript.quickSuggestionsForPaths`. These settings should disable all path based suggestions from js/ts

The old `quickSuggestionsForPath` setting is now marked deprecated and is not being migrated to these new settings as it has different semantics. It was originally designed just to disable quick suggestions for paths but it does not work properly when using TypeScript 2.9+
2018-09-10 15:41:07 -07:00
Matt Bierner
72581dfca9 Rename typescript.autoImportSuggestions.enabled and allow it to be applied to js or ts separately
Part of #58385
2018-09-10 15:41:07 -07:00
Matt Bierner
98894ae9ba Rename typescript.suggestions.enabled to typescript.suggest.enabled to be more consistent with other extensions 2018-09-10 15:41:07 -07:00
Matt Bierner
937cbc186b Split suggestions.enabled into js and ts specific settings 2018-09-10 15:41:07 -07:00
Matt Bierner
3e176b19bc Only wrap rename request in try catch 2018-09-10 12:49:49 -07:00
Dave Williams
b9dbeb90d1 New config to turn off TypeScript autocomplete suggestions (#58011)
* New config to turn off TypeScript autocomplete suggestions

* add missing semicolon

* Exclude everything, even name suggestions, when suggestions disabled
2018-09-10 11:06:12 -07:00
Matt Bierner
d140d23129 Disable all commit characters when in spread contexts
Fixes #55700
2018-09-10 10:58:34 -07:00
Matt Bierner
567baa4eff Fix some errors around js commit characters
- Add commit characters for keywords such as `this` and `super`.
- Allow trigger characters on lines with only leading whitespace

Fixes #58048
2018-09-10 10:44:37 -07:00
Joao Moreno
dec5ac9811 missing git api call forwarding 2018-09-10 15:26:57 +02:00
Matt Bierner
dc47417f54 Delegate js/ts code lenses back to vs code
Fixes #43574
2018-09-07 16:47:26 -07:00
Matt Bierner
2806df93e4 Try to keep one blank line after markdown block element folds
Fixes #58187
2018-09-07 13:48:44 -07:00
Matt Bierner
a118676a3b Allow folding of html blocks in markdown files
Fixes #57505
2018-09-07 13:41:55 -07:00
Matt Bierner
5eab03cf75 Fix folding code blocks / lists with front matter 2018-09-07 11:36:38 -07:00
Miguel Solorio
a3f9f2e724
Merge pull request #57934 from Microsoft/misolori/quiet-light-theme
Update Quiet Light theme attribute colors
2018-09-06 21:19:25 -07:00
Alexandre ZANNI
781cb6854b add more markdown extensions (#58072) 2018-09-06 11:46:54 -07:00
Alex Dima
c36258d23f Use const enums (to inline their values in JS) 2018-09-06 20:39:19 +02:00
Matt Bierner
c78dafa252 Treat ; as a commit character in js/ts
Fixes #44011
2018-09-06 10:48:17 -07:00
Christof Marti
f8606acf93 Fix test (#56137) 2018-09-06 15:31:51 +02:00
Joao Moreno
ad58b37dc2 fixes #53520 2018-09-06 15:23:32 +02:00
Johannes Rieken
3830d7b238 webpack - inline vscode-nls for our extensions 2018-09-06 15:12:28 +02:00
Johannes Rieken
fc2b0a8ec1 add missing vscode-nls updates 2018-09-06 15:12:28 +02:00
Johannes Rieken
c2c5819fc8 adopt vscode-nls 4.0.0 2018-09-06 14:44:33 +02:00
Christof Marti
a6626a8d90 Do not clear selection in single-select case (fixes #57850) 2018-09-06 11:52:36 +02:00
Johannes Rieken
74fa1d8994
Merge pull request #57956 from Microsoft/joh/vsce-next
use packagedDependencies from running vsce#ls
2018-09-06 11:14:38 +02:00
Johannes Rieken
126082fd55 webpack configuration editing extension, #57680 2018-09-06 11:13:12 +02:00
Christof Marti
3ce4d78fed Webpack friendly (#57679) 2018-09-06 09:54:11 +02:00
Matt Bierner
8a849b5734 Allow folding fenced code blocks in md
Fixes #36169
2018-09-05 14:59:34 -07:00