Commit Graph

1437 Commits

Author SHA1 Message Date
Matt Bierner
cd26980006 Fixes #16984 2016-12-09 11:39:26 -08:00
Matt Bierner
46e96d6d73 Move @types/semver in TS Extension to devDependencies (#16958)
* Revert #15842 to unblock oss tool

* Move @typessemver to devdependencies
2016-12-08 22:01:02 -08:00
Matt Bierner
6cb45c55e3 Use No Implicit Any In TS Extension (#16878)
Use noImplicitAny in the TS Extension (the TS team suggests enabling this option for most code).
2016-12-08 17:23:10 -08:00
Martin Aeschlimann
b38a82cca7 [html] script end tag is not correctly indented. Fixes #16650 2016-12-08 12:29:46 +01:00
Matt Bierner
59e53d6070 Remove mocha.d.ts from extension projects that don't need it 2016-12-07 17:06:27 -08:00
Matt Bierner
e592f7cc6d Remove unused functions in is 2016-12-07 17:06:27 -08:00
Matt Bierner
e9b68079a9 Merge branch 'fix-ts-js-symbols-showing-undefined' 2016-12-07 16:53:32 -08:00
Matt Bierner
68725a72c8 Fix undefined showing in TS Symbol List
Fixes #16879
2016-12-07 16:52:26 -08:00
Matt Bierner
8a16c576a8 Adopt TS 2.1.4 in TS Extension (#16872) 2016-12-07 16:28:15 -08:00
Matt Bierner
9c3084c45c Fix #16846 (#16863) 2016-12-07 15:10:32 -08:00
Matt Bierner
b2519ad3c9 Add a few casts to work around issues in ts 2.1.4 (#16861) 2016-12-07 13:54:25 -08:00
Martin Aeschlimann
8eb0cce438 html.format.unformatted does not respect scripts. Fixes #16634 2016-12-07 19:32:12 +01:00
Sandeep Somavarapu
8d5ac39056 #16674: Use resource editor input
- Show warnings only once
- Open resource editor to show warnings
2016-12-07 18:27:10 +01:00
Martin Aeschlimann
aba60c3d95 CSS intellisense doesn't work in incomplete style block . Fixes #16651 2016-12-07 17:21:58 +01:00
Martin Aeschlimann
7469dc1e5e [html] update language services 2016-12-07 15:39:22 +01:00
Alex Dima
19291ef2c1 Fixes #16573: Ensure textEditor.options always contains all properties 2016-12-07 14:16:08 +01:00
Sandeep Somavarapu
c67602a819 Fix #16705 2016-12-07 13:32:10 +01:00
Benjamin Pasero
1616c6491e Merge pull request #16779 from mjbvz/fix-16432
Fix #16432 - rejected promise not handled
2016-12-07 08:46:49 +01:00
Matt Bierner
f181861ec3 Update alert to more clearly indicate the impact of this 2016-12-06 19:48:08 -08:00
Matt Bierner
55513deead Fix #16432 - rejected promise not handled
Fixes #16432

Introducing during null check refeactoring. Before the promise was set to null inside the promise. I added a rejection because the promise value should never be used before that point, but it seems that introduced a regression.

Fix is to use `p` inside of the promise instead.
2016-12-06 15:59:50 -08:00
Matt Bierner
0df5b6fb30 Pick up latest TS insiders build 2016-12-06 11:38:10 -08:00
Sara Itani
fbbaa23180 Merge pull request #16502 from mousetraps/i3746
Fix markdown + PHP fenced code blocks
2016-12-05 15:28:20 -08:00
Matt Bierner
8a1db6dbcf TS 2.1.4-insiders 2016-12-05 11:56:48 -08:00
Martin Aeschlimann
bdf362a9c9 [html] update launch.json to outFiles 2016-12-05 17:16:33 +01:00
Martin Aeschlimann
514e282809 [css] update launch.json to outFiles 2016-12-05 17:16:25 +01:00
Martin Aeschlimann
aa108953c9 [json] update language service 2016-12-05 17:14:04 +01:00
Martin Aeschlimann
8cb6e75ada [css] add server trace option 2016-12-05 17:14:04 +01:00
Martin Aeschlimann
4d8781d17a [json] add server trace option 2016-12-05 17:14:03 +01:00
Martin Aeschlimann
30835e65a8 [html] add server trace option 2016-12-05 17:14:03 +01:00
Sara Itani
3c21bf9cd2 Fix markdown + PHP fenced code blocks
- previously PHP wasn't working at all because we don't appear to properly support grammar injections. This issue was addressed by pointing to a specific repository key (#languages)
- ensure "fuzzy" syntax highlighting for PHP/HTML code so that script start tags are not required
2016-12-05 04:31:52 -08:00
Martin Aeschlimann
2658911aff [html] fix compile error in tests 2016-12-05 11:44:41 +01:00
Martin Aeschlimann
bc6b817cf2 [docker] add update grammar script 2016-12-05 11:44:30 +01:00
Martin Aeschlimann
c1d967afad Merge pull request #16476 from lostintangent/patch-1
Adding Docker 1.12 instructions to its grammar
2016-12-05 11:34:57 +01:00
Martin Aeschlimann
3b72900e21 html language server breaks js auto completion if imports are used. Fixes #16426 2016-12-05 11:18:15 +01:00
Jonathan Carter
d4cde6aee1 Adding Docker 1.12 instructions to its grammar
This simply updates the Docker grammar to include the `HEALTHCHECK` and `SHELL` commands that were added to Docker 1.12, and were added to the [grammar file](4cb71f8082/contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage) which VS Code's copy is based on.
2016-12-04 22:07:41 -08:00
Martin Aeschlimann
8bb90a3066 [css] Update language service 2016-12-04 22:07:59 +01:00
Martin Aeschlimann
ff95c2db18 Links no longer clickable in HTML. Fixes #16376 2016-12-03 08:32:01 +01:00
Martin Aeschlimann
172184c86f HTML files: curly braces, brackets, and parens do not wrap a selection. Fixes #16408 2016-12-03 08:19:18 +01:00
Peng Lyu
fbaf5b21c7 Merge pull request #16401 from rebornix/RubyDecreaseIndent
apply decreaseIndent for ruby code
2016-12-02 15:42:35 -08:00
Martin Aeschlimann
63c369079e [json] updare service & add json schema.deprecationMessage/ enumDescriptions 2016-12-02 22:23:50 +01:00
Matt Bierner
4add169505 Disable (#16350)
**Bug**
In python file, typing `'` in a string or comment results in `''` due to auto closing pairs.

**fix**
Apply same fix that we use for Typescript to disable this behavior in strings and comments https://github.com/Microsoft/vscode/blob/master/extensions/typescript/language-configuration.json

Fixes #8539
2016-12-02 11:22:34 -08:00
Matt Bierner
e551807483 Consume languageServiceEnabled Events from TS (#16355)
* Initial work on large proejct warnings

* Update to use projectName from ts

* Use event to clean up code

* Remove unused interface

* Revert a few testing changes

* Remove languageServiceEnabled member
2016-12-02 11:21:39 -08:00
Matt Bierner
615ea2b4a4 Allow Enabling useCodeSnippetsOnMethodSuggest for JS As Well As TS (#16351)
Fixes #13952

**Bug**
The `typescript.useCodeSnippetsOnMethodSuggest` setting only applies to Typescript files. I believe it should also apply to JavaScript files.

**Fix**
Use `typescript.useCodeSnippetsOnMethodSuggest` to control this behavior for js files as well.

Also delete unused configuration file.

An alternate design would be to add a `javascript.useCodeSnippetsOnMethodSuggest` configuration option, if users really do want to have different behavior between JS and TS.
2016-12-02 11:08:27 -08:00
Matt Bierner
0fe7046f49 Enable Strict Null Checks and Use Lib References in Markdown Extension (#16346)
Makes a few changes to the markdown extension:

* Enables explicit null checks.
* Enables no implicit any checks.
* Switch to using TS 2.0 lib files.

This change required removing the mocha declaration from the shared `declare.d.ts`. Everything seems to compile fine without it.
2016-12-02 11:07:40 -08:00
rebornix
db979de520 apply decreaseIndent for ruby code 2016-12-02 11:00:57 -08:00
Matt Bierner
22deff959d Use Strict Null Checks In TS Extension (#16244)
* Use Strict Null Checks In TS Extension

Updates the Ts extension to use strict null checks.

* Throw instead of returning undefined in some linkedmap cases

* fix small null check in buffersync

* Fix for request item null
2016-12-01 13:48:03 -08:00
Matt Bierner
0c6333e604 Add font settings for markdown preview (#16302)
Fixes #4641

Adds basic settings for controlling the markdown preview font. We already support this with custom css, but these settings are similar to what the editor and integrated terminal expose and allow for a few basic customizations. Custom style sheets will override these.
2016-12-01 12:55:00 -08:00
Martin Aeschlimann
a29692641d [html] telemetry for completion in embedded content 2016-12-01 17:14:20 +01:00
Martin Aeschlimann
5926ba029f [themes] built-in themes adoptions to findings from vscode-textmate changes 2016-12-01 15:17:32 +01:00
Martin Aeschlimann
cdc432d939 HTML Server crashes fixes #16314 2016-12-01 09:45:56 +01:00