Commit Graph

1418 Commits

Author SHA1 Message Date
Matt Bierner f181861ec3 Update alert to more clearly indicate the impact of this 2016-12-06 19:48:08 -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](https://github.com/docker/docker/blob/4cb71f80823af345d063cf0ad657e73ce9caa75f/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
Matt Bierner 5e0e79610b Adopt TS 2.1.3-insiders (#16295)
Adopts the 2.1.3 insiders build of TS in the TS extension
2016-11-30 16:00:58 -08:00
Alex Dima 4bb1d18d6a Fixes #15696: Do not auto-close ' in comments 2016-11-30 15:51:02 +01:00
Martin Aeschlimann c17ebb78c0 [json] update language service 2016-11-30 00:03:25 +01:00
Matt Bierner b88a89c996 Allow markdown preview to scroll past content (#15919)
* Allow markdown preview to scroll past content

Issue #15795

Allows the markdown preview to scroll past its contents, like we do with the editor.

Closes #15795

* Toggle preview scroll beyond using editor.scrollBeyondLastLine
2016-11-29 14:51:15 -08:00
Garrett Serack d1e9f7339e allow text after the language id in a markdown codeblock (consistent with github, the md preview window and other gfm parsers) (#16239) 2016-11-29 14:49:41 -08:00
Martin Aeschlimann 5cf9b72417 Merge pull request #16186 from mjbvz/json-setting-localization
Extract Json Extension package.json Strings for Localization
2016-11-29 22:43:46 +01:00
Matt Bierner 9012c8be31 Extract settings strings in html extension (#16183)
Closes #16178
2016-11-29 10:23:13 -08:00
Matt Bierner a27eec8d88 Extract settings strings in css extension (#16184)
Closes #16179
2016-11-29 09:50:36 -08:00
Matt Bierner 6e758c483b Use enum for md previewFrontMatter setting closes #16185 (#16188) 2016-11-29 09:49:20 -08:00
Dirk Baeumer 32192ccfde Fixing alpha versions 2016-11-29 15:31:56 +01:00
Matt Bierner 9ee2ad1258 Extract markdown decs strings for #13102 (#16177) 2016-11-28 15:10:07 -08:00
Matt Bierner 97a974e1e8 Extract Json Extension package.json Strings for Localization
Closes #16180
2016-11-28 15:09:54 -08:00
Matt Bierner 7320059e5c Don't translate Markdown.category Closes #16087 (#16159) 2016-11-28 12:48:23 -08:00
Matt Bierner 8c313fcae0 Assume Jsx For Implicit TS Projects (#15925)
Issue #15814

**Bug**
1. Open a tsx file on its own.
2. See a error about passing `--jsx` to tsc.

**Fix**
For implicit projects, assume `"jsx": "preserve"`.

Closes #15814
2016-11-28 10:48:27 -08:00
Martin Aeschlimann ec45a3a56c [json] wait for onReady before using client 2016-11-28 10:57:22 +01:00
Martin Aeschlimann a603e8a765 [html] wait for onReady before using client 2016-11-28 10:57:21 +01:00
Martin Aeschlimann ea26b957f6 Adopt new snippet syntax in JSON schema defaultSnippets (for #15573) 2016-11-25 17:04:18 +01:00
Martin Aeschlimann 93c1334282 [json] adopt SnippetString (#15573) and update to TS 2.0 2016-11-25 16:37:56 +01:00
Martin Aeschlimann f37a51537b [html] adopt SnippetString (#15573) and update to TS 2.0 2016-11-24 18:42:39 +01:00