Commit graph

14962 commits

Author SHA1 Message Date
Matt Bierner
42335c57f5 Revert "Use types tsconfig option where possible"
This reverts commit 38fbba35ff.
2017-02-07 16:31:50 -08:00
Christof Marti
b46834dd50 Extract keymaps code from ExtensionsWorkbenchService (fixes #16493) 2017-02-07 15:58:25 -08:00
Matt Bierner
38fbba35ff Use types tsconfig option where possible 2017-02-07 15:57:22 -08:00
Matt Bierner
1a024c1b19 Use reference @types/node in extensions 2017-02-07 15:38:04 -08:00
Martin Aeschlimann
e3d6c5d682 fix language intellisense for #20049 2017-02-07 23:20:51 +01:00
Christof Marti
aeb4bd538c Hide watermark based on editor part size (fixes #16130) 2017-02-07 11:32:15 -08:00
Matt Bierner
4e745c2a74 Fix a few possible reference errors in webview. fixes #20122 2017-02-07 11:21:18 -08:00
Matt Bierner
29f8a93109 Disable Paren Commit Item When useCodeSnippetsOnMethodSuggest is Enabled (#20096)
**bug**
`(` was added as a commit character in 1.9. Combined with `useCodeSnippetsOnMethodSuggest`, this is causing some anoying autocomplete behavior.

**Fix**
Disable `(` as a commit character while `useCodeSnippetsOnMethodSuggest` is enabled.
2017-02-07 11:06:45 -08:00
Matt Bierner
aa3d327cb7 Stop TS From Spamming Crash Messages (#20081)
* Stop TS From Spamming Crash Messages

**Bug**
When the tsserver crashes repeatedly, it can end up spamming users with constant alerts. This is not too helpful

**Fix**
A number of small fixes:

* Lengthen ts 5 crash timeout to 10 seconds from 2 seconds. 5 crashes in 10 seconds == no attempted restart
* Reset the last started time when we have any number of crashes in the row. This resets the crash windows.
* Fix all crashes after 5 retriggering the same logic. I believe the intent was that we should show these errors every five crashes, not on any crash after the fifth one

* Set last startTime on boot
2017-02-07 11:05:04 -08:00
Sandeep Somavarapu
1a89bb74c6 #19733 Fix tests 2017-02-07 20:04:40 +01:00
Sandeep Somavarapu
4bf94c8e59 #19733 Validate default settings to be overridden for a language 2017-02-07 19:57:59 +01:00
Sandeep Somavarapu
9328bd6200 #19733 Implement default language specific editor settings
- Extend configuration extension to override default settings for a language
- Update configuration registry with overrides
- Adopt Defaults config model to read default overrides
- Tests
2017-02-07 19:48:59 +01:00
Sandeep Somavarapu
9d73ec9ddb #19733: Expose editor configurations as a separate schema 2017-02-07 19:48:59 +01:00
Christof Marti
f44a1d6eb4 Use OS path separator when matching glob (fixes #16090) 2017-02-07 09:39:16 -08:00
Benjamin Pasero
a8927d1ac5 same solution on all OS (for #14622) 2017-02-07 18:24:03 +01:00
Ramya Rao
239b199f6d Use patched emmet to support svg and orphaned quote bug (#19655) 2017-02-07 08:54:54 -08:00
chrmarti
fbd2c51122 Open containing window (fixes #15654) 2017-02-07 08:35:19 -08:00
chrmarti
feebefb676 Copy code-icon.svg to near where it is used (fixes #19541) 2017-02-07 07:59:55 -08:00
Benjamin Pasero
4d9ee74935 move more into config-editing extension (for #20049) 2017-02-07 16:52:19 +01:00
Alex Dima
24b6838819 Remove invalid debug target (fixes #19908) 2017-02-07 16:28:05 +01:00
Benjamin Pasero
bcff7c60e5 move window.title config helper out to extension (for #20049) 2017-02-07 12:24:03 +01:00
Joao Moreno
7c8d8e822f git: enabled config 2017-02-07 12:03:46 +01:00
Joao Moreno
e5a555bf36 streamline commit editor 2017-02-07 12:03:46 +01:00
Joao Moreno
c89e3cdc1b scm: pimp up commit editor 2017-02-07 12:03:46 +01:00
Joao Moreno
7f6ba7f695 cleanup 2017-02-07 12:03:46 +01:00
Joao Moreno
fe518b7ecf git: confirmSync setting 2017-02-07 12:03:46 +01:00
isidor
42f38e61bd fixes #20078 2017-02-07 11:51:51 +01:00
Benjamin Pasero
ed161170f4 fixes #20102 2017-02-07 11:26:33 +01:00
Martin Aeschlimann
8f41b84035 [coffeescript] remove unused grammar 2017-02-07 11:16:07 +01:00
Benjamin Pasero
de9d5a97ee fix win tests on tfs 2017-02-07 10:53:41 +01:00
Benjamin Pasero
87fd1dde6d Merge pull request #20095 from mjbvz/improve-markdown-preivew-code-block-styling
Improve Markdown Preview Code Block Styling
2017-02-07 07:19:59 +01:00
Matt Bierner
cc2c7c0a1a Improve Markdown Preview Code Block Coloring
Fixes #7776

**Bug**
Code blocks in the markdown preview are not very good looking

**Fix**
Use default text color for indented code blocks and add a background
2017-02-06 17:18:58 -08:00
Matt Bierner
8ac90919c0 Updated yaml grammar 2017-02-06 12:53:38 -08:00
Sandeep Somavarapu
08cf6e916c Fix #20058 2017-02-06 20:44:34 +01:00
Matt Bierner
9af9a80aaa Fix error markers and problems links in untitled js and ts files (#20073)
Fixes #19856
2017-02-06 11:29:12 -08:00
Matt Bierner
f401c72a55 Enable Markdown Scroll Syncronization for Untitled Files (#20072)
Fixes #20070

**Bug**
Markdown scroll sync and other sync features do not work for untitled files. The root cause seems to be that the `main.js` markdown file is never loaded

**Fix**
Instead of a using a path without a scheme for `main.js`, use a `file://` path
2017-02-06 11:20:36 -08:00
Matt Bierner
ebfd13baca Revert 1c75093313 2017-02-06 10:44:01 -08:00
Christof Marti
eeef446bda Bind Save All only on Mac (fixes #14818) 2017-02-06 10:29:39 -08:00
Matt Bierner
4e91a74c6f Fix Markdown Scroll Sync For Windows Path Casing (#20064)
**Bug**
Scroll sync not working for some users on windows

**Fix**
Root cause seems to be that windows drive/path cases can sometimes differ between preview and editor document. Adds a equality check based on `fsPath` as well
2017-02-06 10:19:45 -08:00
Christof Marti
7363c243f2 Clean up (fixes #19569) 2017-02-06 09:38:47 -08:00
Sandeep Somavarapu
118f2011b9 Fix #20041 2017-02-06 18:07:54 +01:00
Benjamin Pasero
ff29567bfa Chord keybindings do not show up in menus (fixes #14622) (#20059) 2017-02-06 18:04:19 +01:00
isidor
187de65977 debug: Copy Stack Trace -> Copy Call Stack 2017-02-06 17:58:01 +01:00
Christof Marti
74ac3d102c Don't open Untitled file when Welcome page is opened (fixes #19689) 2017-02-06 08:45:36 -08:00
Alex Dima
7daf390c74 Fixes #19915: Misaligned cursor when editor.fontLigatures enabled 2017-02-06 16:59:50 +01:00
Johannes Rieken
6832ada7a4 Only filter snippets by user-facing languages, #19954 2017-02-06 16:54:19 +01:00
Martin Aeschlimann
c07bf9de7a [decorators] Single quotes in the contentText make the content not being rendered at all. Fixes #19922 2017-02-06 16:54:23 +01:00
Alex Dima
e1bb3ad6f3 Allow for partial line search scopes 2017-02-06 16:11:30 +01:00
Alexandru Dima
f528302555 Merge pull request #15566 from kaiwood/find-in-selection
Enable "Find in selection" within single lines
2017-02-06 16:08:33 +01:00
Sandeep Somavarapu
353f348185 Do not show schema for untitled files #19627 2017-02-06 15:59:16 +01:00