2072 Commits

Author SHA1 Message Date
Martin Aeschlimann
4a21888d30 [theme] editor hover colors 2017-03-21 22:48:38 +01:00
Martin Aeschlimann
486545bb45 Set '"' and ':' as trigger characters for package/bower.json 2017-03-21 22:48:37 +01:00
Martin Aeschlimann
dc31a48002 [json] enable quick suggestions in strings 2017-03-21 22:48:36 +01:00
Matt Bierner
d4cda6e357 Follow up on #22914. Log TS Server in own directory so that typings install events are also place in dir with it. #22915 2017-03-20 17:55:30 -07:00
Benjamin Pasero
6765753c9b abyss as theming testbed 2017-03-20 17:22:07 -07:00
Matt Bierner
23aba8283a Add TSServer Log Collection Commands (#22914)
* Add TSServer Log Options

Adds support for collecting the TSServer log directly in VS Code

* Add enable logging option

* Handle case where user is on older version of TS

* Rename

* Activate on openTSServerLog command

* VSCode -> VS Code
2017-03-20 17:16:01 -07:00
Matt Bierner
8c468dfd21 Prototype Support for TSServer Request Cancelation (#22437) 2017-03-20 12:03:51 -07:00
Matt Bierner
1b90e9dbd5 Pick up new TS 2.2.2 insiders 2017-03-20 11:37:47 -07:00
Matt Bierner
4f8e68b814 Second prototype of markdown extensions (#22836) 2017-03-20 11:16:18 -07:00
Joao Moreno
afdaf562ee 🐛 fix git clone command
fixes #22620
2017-03-20 15:49:34 +01:00
Martin Aeschlimann
cfb44d5566 [themes] do default computations in color definition defaults 2017-03-20 11:36:29 +01:00
Martin Aeschlimann
b266419e6e Automatically detect .ejs templates (and other common template extensions) as HTML file. Fixes #22333 2017-03-17 19:32:05 +01:00
Martin Aeschlimann
0cffe5f8a7 some C++ keywords not colorized correctly. fixes #22419 2017-03-17 19:15:33 +01:00
Martin Aeschlimann
ea651c1fa2 update seti theme to jesseweed/seti-ui@f7e582f (2017-03-14) 2017-03-17 18:33:16 +01:00
Martin Aeschlimann
44bff9ac7f [shell] update grammar to textmate/shellscript.tmbundle@ba95d7b (2017-03-15) 2017-03-17 17:08:48 +01:00
Matt Bierner
eb0a05f7b5 Fix return 2017-03-16 17:49:22 -07:00
Matt Bierner
09ec3557c8 Prototype Allowing Extensions to Extend the Builtin Markdown Extension (#22421)
* Prototype Allowing Extensions to Extend the Builtin Markdown Extension

**Problem**
There have been requests for adding new functionality to the markdown extension preview, such as supporting rendering of math or other syntax in the preview. The only current solution to this is create an extension that provides its own markdown preview. This results in inconsitent behavior with our markdown preview and is not a very scalable approach. We would like to find a way to allow users to add these extensions to our markdown preview without bundling the extensions in the preview itself.

**Fix**
Prototypes a new contribution point that extensions can use to extend the vscode markdown extension. Three types of extensions are possible: adding stypes to the preview, adding scripts to the preview, and extending the markdown it renderer.

My current approach defines the contributed markdown extensions in the package.json using a structure like this:

```
  "contributesTo": {
    "vscode.markdown": {
      "plugins": [
        "./out/math"
      ],
      "scripts": [],
      "styles": [
        "./media/math.css"
      ]
    }
  }
```

We could change the structure here. This design uses a pull model where markdown extensions are looked up by the vscode.markdown extension itself.

The other approach for extension registration would be to use a push model. This would have the vscode.markdown extension export an api that each markdown extension would invoke to register new scripts/styles/plugins. I may switch over to this model but was interested in seeing what a more declarative approach would look like. Let me know if you have any thoughts one way or the other.

The downside of allowing extensions like this is that they can completely change how the markdown preview looks and works. There is no well defined API for restricting what extensions can do like we have with VScode.

* Use extensionDependencies

* Remove example extension

* Added gating and activation event
2017-03-16 17:27:39 -07:00
Martin Aeschlimann
f383d1fd26 Revert unintended change to solarized light selection color 2017-03-16 11:06:23 +01:00
Dirk Baeumer
d3efc931f7 Fixes #22730: Contributed problem matchers must use ${cwd} not $cwd 2017-03-16 10:47:11 +01:00
Martin Aeschlimann
4c12a685bc Diff highlighs for Abyss theme 2017-03-15 16:57:12 +01:00
Martin Aeschlimann
c0e52f82b5 Monokai Dimmed theme does not show diff highlight. Fixes #21790 2017-03-15 16:57:12 +01:00
Martin Aeschlimann
38792102e3 solarized light: bring back diff color rules #22672 2017-03-15 16:57:12 +01:00
Dirk Baeumer
f51220dbf7 Fixes #22066: Allow extensions to contribute named problem matchers via package.json 2017-03-14 12:07:15 +01:00
Matt Bierner
31d0799fd8 Fix Markdown TOC Provider for Invalid References (#22553)
Fixes #22494

**Bug**
References without a definition can cause the markdown table of contents provider to break

**Fix**
Pass in an empty environment to markdown-it `parse` to prevent the null dereference on invalid links.
2017-03-13 10:49:59 -07:00
Joao Moreno
8dcb0d6ef5 🐛 improve git commit error reporting
fixes #21251
2017-03-13 14:29:38 +01:00
Johannes Rieken
cb7e5a2703 tslint 2017-03-13 13:49:45 +01:00
Johannes Rieken
b86a54e757 fix #22453 2017-03-13 13:49:22 +01:00
Matt Bierner
3b7329eab8 Fix markdown document link highlighter for empty links 2017-03-10 16:37:59 -08:00
Matt Bierner
524bf7c9c4 Pick up new c/c++ grammar fixes #22339 (#22358) 2017-03-10 16:01:42 -08:00
Martin Aeschlimann
0e5b61e8de FIx abyss theme 2017-03-11 00:55:10 +01:00
Joao Moreno
49bc06dde4 🐛 git: don't push on sync if unnecessary 2017-03-10 15:00:40 +01:00
Joao Moreno
ce84678f7f 🐛 exclude extensions from git menu actions
fixes #22373
2017-03-10 11:28:34 +01:00
Matt Bierner
01091bb083 Remove unused TS extension constants 2017-03-09 22:51:42 -08:00
Matt Bierner
1542eb7848 Add timeout for jsdoc completion 2017-03-09 20:25:42 -08:00
Joao Moreno
0428dd5dc3 ✏️ git: use discard instead of clean 2017-03-09 18:38:40 +01:00
Martin Aeschlimann
8ad8151abc [themes] convert default themes to new format 2017-03-09 16:32:59 +01:00
Anand Dyavanapalli
8948a2055c TypeScript should use double quotes for string. (#22255)
From style guide: https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines
2017-03-08 15:20:24 -08:00
Martin Aeschlimann
99ab6e8d7b [theme] conversion script 2017-03-08 23:02:41 +01:00
Martin Aeschlimann
1eb8278296 [theme] add color theme schema 2017-03-08 23:02:41 +01:00
Joao Moreno
6814168089 🐛 mkdirp before git.clone
fixes #21567
2017-03-08 17:02:19 +01:00
Joao Moreno
2e88c82ffd 🐛 listen on workspace change, when no git repo is init
fixes #18840
2017-03-08 16:29:21 +01:00
Joao Moreno
1036ba2a73 🐛 fix disposables push with anyEvent 2017-03-08 16:29:21 +01:00
Joao Moreno
fc3ed5f134 🐛 fixes #22059 2017-03-08 16:29:21 +01:00
Joao Moreno
9774590996 🐛 open file when git resource isnt there should work 2017-03-08 16:02:36 +01:00
Benjamin Pasero
5b8dc569f6 Merge pull request #22178 from hoovercj/openWithContentLipstick
Follow up to PR #22021 to respond to feedback
2017-03-08 07:02:34 +01:00
Matt Bierner
ee07532963 Fix formatting options possibly not being provided for TS quick fix 2017-03-07 18:03:04 -08:00
Matt Bierner
62e989849b better support nested lists for markdown scroll sync 2017-03-07 17:07:22 -08:00
Matt Bierner
af7df75fab Add ending marker for markdown scrollsync 2017-03-07 16:40:21 -08:00
Matt Bierner
104445989a Allow inline styles in markdown preview 2017-03-07 15:15:59 -08:00
Cody Hoover
ee4473f1ef Follow up to PR #22021 to respond to feedback 2017-03-07 21:36:15 +01:00