Commit graph

2349 commits

Author SHA1 Message Date
Benjamin Pasero daf9f01aaf 💄 2017-04-18 14:55:08 +02:00
Joao Moreno d2c40f06b3 🐛 catch git fetch errors 2017-04-18 14:49:09 +02:00
Johannes Rieken 17d85451f1 fix #24457 2017-04-18 14:24:32 +02:00
Martin Aeschlimann c974993981 [css] update service. Fixes #22735 2017-04-18 09:54:21 +02:00
Martin Aeschlimann a2966fb215 Request to update atom/language-c version to the latest. Fixes #24909 2017-04-18 09:39:30 +02:00
gauss1314 7efc373d68 Update typescriptMain.ts (#24892)
./features/implementationProvider or ./features/ImplementationProvider ?
2017-04-17 15:23:50 -07:00
Vakhurin Sergey 74349805ab Added support for encodings for Git.
Fixes #21146

**Bug**
Git always uses utf8 encoding for retrieving file contents.

**Fix**
Pass the 'files.encoding' configuration property to the git-extension and use this encoding to decode git output.
2017-04-17 23:00:08 +03:00
Matt Bierner 7300527f44 Pick up next version of TypeScript 2.3 insiders 2017-04-17 12:00:33 -07:00
Matt Bierner 200c4d1057 Fix Markdown Preview Updating on Zoom / Unrelated Config Changes (#24809)
Fixes #24808

**bug**
Markdown preview updates when you zoom. The root cause is that previews are updated whenever the config is changed.

**Fix**
Extract preview config to its own well defined object. Only update the preview when the keys we care about in the config change
2017-04-14 15:43:32 -07:00
Dirk Baeumer 5e4d510a36 Grunt autodetection for terminal task runner 2017-04-14 15:19:32 +02:00
Alex Dima aca01f2daa Fix build hygiene issues 2017-04-14 14:08:52 +03:00
Matt Bierner 0d14027696 Fix a few compile issues when using TS 2.3 (#24731)
Tested recomppiling VSCode with TS2.3. This fixes a few issues that were discovered, including workarounds for:

* https://github.com/Microsoft/TypeScript/issues/15184
* https://github.com/Microsoft/TypeScript/issues/15185
2017-04-13 17:14:50 -07:00
Matt Bierner 1d05d0c49d Added PII note on ts server trace and log settings #24696 2017-04-13 17:05:01 -07:00
Matt Bierner 5d801251ec Set insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces to default to true to keep with existing behavior 2017-04-13 16:44:42 -07:00
Magnus Hiie 95f0c15bf5 Expose insert..Braces rule in VS Code settings (#21649)
* Expose insert..Braces rule in VS Code settings

Fixes #18043

* Add requirement blurb for insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces

* Revert tsfmt change
2017-04-13 16:35:40 -07:00
Matt Bierner eb6614a16d Pick up ts 2.3 insiders (#24725) 2017-04-13 16:18:47 -07:00
Matt Bierner 9177027132 Fix go to project config for jsx/tsx Fixes #24723 2017-04-13 15:26:32 -07:00
Matt Bierner c7c350a68a Small formatting cleanup in markdown 2017-04-13 15:26:32 -07:00
Martin Aeschlimann b008858740 [theme] suggest widget 2017-04-13 22:07:14 +02:00
Dominic Valenciana e60ea34adc Nested code lines now no longer display the hover border left. (#24686)
* Nested code lines now no longer display the hover border left.

* Added fix for both light and hc themes.
2017-04-13 11:05:35 -07:00
Johannes Rieken c354922c33 fix #24457 2017-04-13 15:15:17 +02:00
Joao Moreno 85b04dc330 🎨 git.ignoreLegacyWarning 2017-04-13 10:04:48 +02:00
Joao Moreno 09400d8073 Merge branch '24283-adding-never-show-in-git-extension' of https://github.com/timbanaveen/vscode into timbanaveen-24283-adding-never-show-in-git-extension 2017-04-13 09:56:04 +02:00
NKumar2 615ebe524b Adding 'never show again' in Git Extension 2017-04-13 12:10:19 +05:30
Matt Bierner a0cb432471 Allow Code Lenses to Provide only a Title
Fixes #24209

**Bug**
Currently, for the js/ts references code lens, even if there are zero references you can click on the lens. This display an empty peek view

**Fix**
Allow code lenses to only register a title for the lens with no actual backing command
2017-04-12 15:47:20 -07:00
Matt Bierner 5f628cd731 Use js/tsconfig schema for jsconfig.*.json files (#24637)
Fixes #24572

Applies the js/tsconfig schema to file names such as `jsconfig.app.json`
2017-04-12 14:46:08 -07:00
Martin Aeschlimann 59a41a7cd6 [theme] rename editorFindWidgetBackground to editorWidgetBackground, add editorWidgetShadow and use in findOptionsWidget 2017-04-12 16:25:26 +02:00
Martin Aeschlimann e86e17e11b [seti] fix vertical alignment on Windows 2017-04-12 14:51:45 +02:00
Martin Aeschlimann 98105e03d7 [setuip] update theme (fixes #22667) 2017-04-12 11:55:51 +02:00
Martin Aeschlimann 0ed626ad68 Filetype associations don't affect explorer icons. Fixes #23125 2017-04-12 11:55:51 +02:00
João Moreno 8b59640087 Merge pull request #24567 from Kiricon/kiricon/git-renamed
Changed git renamed icon to orange color
2017-04-12 11:19:42 +02:00
Martin Aeschlimann 22946e2a4b Merge pull request #24292 from Ikuyadeu/solarizedLight
fix Solarized Light theme highlighting  #24040
2017-04-12 08:25:43 +02:00
kiricon 4460b2cfa8 Changed git renamed icon to orange color 2017-04-11 21:11:21 -06:00
Matt Bierner 0656b2b090 Update markdown grammar to allow better injection into unknown fenced code blocks 2017-04-11 17:35:28 -07:00
Matt Bierner e4b5586557 Ensure we use an encoded URI for the markdown styles 2017-04-11 15:18:16 -07:00
Matt Bierner f93afc56ce Fix Markdown style paths possibly being handled incorrectly on windows Fixes #3613 2017-04-11 15:16:40 -07:00
Matt Bierner cc167f6305 Gate some ts code lenses in the providers themselves #24548 2017-04-11 14:39:40 -07:00
Joao Moreno 9ad949b99b 🐛 fixes #24521 2017-04-11 16:26:54 +02:00
Yuki Ueda 1d4859af82 add SideBarBackground in SolarizedLight 2017-04-11 22:41:03 +09:00
Matt Bierner e392265ce1 Switch md button to open to side by default
Fixes #21511
Fixes #23922

Changes the default markdown toolbar item to open the preview to the side of the current file as requested by #21511

Also updates the single file preview icon slightly to better differentiate it from the diff icon
2017-04-10 17:43:02 -07:00
Matt Bierner 11aba2dc61 Document enableExperimentalExtensionApi for insiders 2017-04-10 17:14:42 -07:00
Matt Bierner 736e09ab7c Use load event listener instead of onload in markdown preview 2017-04-10 17:14:42 -07:00
Matt Bierner e10f06e9dd Workaround for #23924 - only highlight first line of ts/js implementation range 2017-04-10 15:38:36 -07:00
Matt Bierner 96b49f6f7d Tweak HTML Preview Styling (#24280)
Two changes:

* Changes the logic from 41467b74b7 to make the padding customizable. The default 20px padding is preserved, but now preview can customize if they want to use it or not. This allows html preview page background colors to correctly fill the entire frame.

* Remove Writing the `_defaultStyles` to the root of the webview elment. These are only needed inside of the iFrame itself
2017-04-10 11:03:43 -07:00
Benjamin Pasero 5ecf0cda9a Clean up some editor input debt and lifecycle issues (#24439) 2017-04-10 19:37:42 +02:00
Joao Moreno 2ab523ae7d 🐛 git: don't wait for idle when git show
fixes #24213
2017-04-10 15:37:36 +02:00
Joao Moreno 15a2d69d1c Merge branch 'master' of github.com:Microsoft/vscode 2017-04-10 15:28:38 +02:00
Joao Moreno 564b9a8a1e 🐛 isolate git uri handling
fixes #23297
2017-04-10 15:28:13 +02:00
Martin Aeschlimann 114160d225 Fix for completionProvider registration in html/json server 2017-04-10 15:14:43 +02:00
Joao Moreno b8747ec0af 🐛 use fsPath when getting paths out of URIs
fixes #23297
2017-04-10 09:40:23 +02:00
Yuki Ueda de96ac98ea fix Solarized Light theme highlighting #24040 2017-04-08 12:14:11 +09:00
Matt Bierner d4dc61b684 Add restart TypeScript Server logic (#23877)
* Add restart TypeScript Server logic

**bug**
Currently, we often have to reload VSCode when we need to restart the TSserver to enable logging or change typescript versions

**Fix**
Add a way to restart the TSServer

* Remove old command

* Formatting
2017-04-07 15:19:23 -07:00
Joao Moreno 8c5cce0e14 🐛 git: don't show progress on fetch
fixes #24170
2017-04-07 15:16:25 +02:00
Joao Moreno dc66fda881 🐛 git: remove lock file checking, replace it with try-catch 2017-04-07 11:52:01 +02:00
Matt Bierner 8fbad6ed40 Update some Markdown Snippets to Surround Selected Text
Fixes #1307

Updates a few markdown snippets, such as bold or italic, to surround the selected text instead or replacing it entirely
2017-04-06 18:17:39 -07:00
Matt Bierner 97a77a0eb3 Add marker class to markdown preview body to allow better css styling overrides 2017-04-06 17:34:04 -07:00
Martin Aeschlimann 4c56e61918 Attach languge server: set "protocol": "legacy", 2017-04-06 23:46:35 +02:00
Dirk Baeumer ef2b0a4bfe Fixes #24073: Improve task API and adopt gulp extension to it. 2017-04-06 21:12:08 +02:00
Michel Kaporin 96bd2ed7dd Merge pull request #23281 from michelkaporin/i18n
Added ability for JSON/XLIFF conversion and Push/Pull from Transifex
2017-04-06 14:38:05 +02:00
Matt Bierner c905143876 Fix case where opening tsserver log before loading any ts file may cause undefined access 2017-04-05 22:37:14 -07:00
rebornix 45e6e90858 Fix #18241. Remove word patterns for ruby. We dono help select symbol for ruby 2017-04-05 14:53:07 -07:00
rebornix f403709aba Fix #9178. erb is embeded ruby and should be treated as ruby language 2017-04-05 14:50:14 -07:00
Matt Bierner 81f06c8605 Split markdown security selector into own file 2017-04-04 19:32:36 -07:00
Matt Bierner 6a34076761 Update default fonts used in markdown preview Fixes #15545 2017-04-04 16:24:53 -07:00
Matt Bierner 541681ea5a Support new completion items in TS 2017-04-04 16:10:17 -07:00
Matt Bierner 16876b257d Revert to using full uri for markdown scroll sync 2017-04-04 16:08:57 -07:00
Matt Bierner 8254b313f1 Further tweaks to markdown scroll sync paths 2017-04-04 15:02:35 -07:00
Matt Bierner 1d876bbc67 Fix a few potential file path casing issues for markdown preview 2017-04-04 14:51:02 -07:00
Martin Aeschlimann cfb74af74e launch.json shows stale warnings after deleting/closing. Fixes #23726 2017-04-04 11:34:37 +02:00
isidor c7593a7ff2 quietLight: do not use custom inputBoxBackground
fixes #23843
2017-04-04 11:14:24 +02:00
Matt Bierner fd4935de60 Handle typesInstallerInitializationFailed events (#23876)
* Handle typesInstallerInitializationFailed

Display a warning message when the ts typings installer fails to initilize. One possible cause is that npm is not installed

* Fix a spell
2017-04-03 18:48:36 -07:00
Matt Bierner 84e3f39976 Remove unused TS setting string 2017-04-03 17:47:36 -07:00
Elias Winberg 520fc643c6 Remove class snippet comment (#23209) 2017-04-03 16:57:50 -07:00
Matt Bierner 32e4e575c0 Fixes #23669. Consistent highlighting of puctuators in ts/js return types (#23871) 2017-04-03 14:57:55 -07:00
Matt Bierner 96092113fa Add note about references code lens required TS version 2017-04-03 13:25:52 -07:00
Jakub Synowiec 70e074ac2f Add an option to enable/disable JSDoc autocomplete (#23704)
* Add new option to disable/enable jsdoc autocompletion

* Refactor JsDocCompletionItem

- remove internal command
- move TS service call and template generation to CompletionItem
- only call TS service if JSDoc completion is enabled in settings
- add local config and config update method to CompletionProvider

* Change how and when JsDocCompletionHelper is registered

Register JsDocCompletionHelper and update configuration in registerProviders instead of activate. Also react to configuration change.

* Rename JsDocCompletionHelper to JsDocCompletionProvider

* Add missing newline at the eof

* Restore completion prompt for JSDoc autocomplete

Restores internal command but but as a separate class. Registers command on extension activation.
2017-04-03 10:35:29 -07:00
Matt Bierner fa342734c3 Add version requirement note to implementaiton code lens setting Fixes #23679 2017-04-03 10:00:47 -07:00
Dirk Baeumer 0b6afcabf0 Wordning tweaking 2017-04-03 11:11:01 +02:00
isidor 4c339dfee9 quitelight theme: use darker shade for sidebar 2017-03-31 14:52:30 +02:00
Joao Moreno 8d01db6d53 🐛 split git open file/changes into two sets of commands
fixes #23729
2017-03-31 11:08:53 +02:00
Martin Aeschlimann 394d8133cc Wrong casing on import of statusbar 2017-03-31 10:50:42 +02:00
Joao Moreno 521fdc27f0 🐛 expect resources, not uris in commands
fixes #23689
2017-03-30 21:52:24 +02:00
Joao Moreno 817174b971 🐛 getCommitTemplate throws in non-git repo 2017-03-30 21:46:28 +02:00
Joao Moreno a8b2945855 🐛 remove the notion of active scm provider
introduces more changes to the SCM api

fixes #23623
fixes #23676
2017-03-30 21:10:44 +02:00
Benjamin Pasero ea81c98e6d theming id changes 2017-03-30 11:27:52 -07:00
Martin Aeschlimann b945d3caab [theme] rename editorPeek* -> peekView* (for #23464) 2017-03-30 16:56:37 +02:00
Martin Aeschlimann 9ee6801d05 [theme] rename editorPeekResultsSelected -> editorPeekResultsSelection (for #23464) 2017-03-30 16:33:03 +02:00
Martin Aeschlimann 658643a31c [theme] rename editorGuide -> editorIndentGuides (for #23464) 2017-03-30 16:24:05 +02:00
Joao Moreno 24eb9e571f 🐛 pick up activeEditor for git commands
fixes #23416
2017-03-30 15:18:18 +02:00
Martin Aeschlimann 18affc0b0b [json] update service (fixes NPE in color requestor) 2017-03-30 15:06:52 +02:00
Joao Moreno 02c23884e3 🐛 fix commands naming
fixes #20810
2017-03-30 14:45:31 +02:00
Joao Moreno 0747f366f0 🐛 change scm/resource/context to scm/resourceState/context
fixes #23653
2017-03-30 14:42:44 +02:00
Joao Moreno 8738327b29 🐛 any resource can come in via command arguments 2017-03-30 14:40:55 +02:00
Martin Aeschlimann c9f06d862f [theme] rename editorPeekBorders -> editorPeekBorder (for #23464) 2017-03-30 12:21:08 +02:00
Martin Aeschlimann 6534252837 [theme] rename checkedBorderColor -> inputActiveOptionBorder (for #23464) 2017-03-30 12:18:42 +02:00
Martin Aeschlimann 320a91118d [theme] rename editorInvisibles -> editorWhitespaces (for #23464) 2017-03-30 12:18:42 +02:00
Martin Aeschlimann 6bac4340f3 [theme] rename peek view match color names (for #23464) 2017-03-30 11:51:43 +02:00
Martin Aeschlimann e146a508c8 [theme] rename editorCurrentFindMatchHighlight -> editorFindMatch (for #23464) 2017-03-30 11:38:13 +02:00
Martin Aeschlimann 57ac341cfd [theme] rename editorSelectionHighlightColor -> editorSelectionHighlight (For #23464) 2017-03-30 11:38:12 +02:00
Martin Aeschlimann 94d2a5ab4b [themes] solarized-dark polish: add colors for peek, hover (#23638) 2017-03-30 10:48:17 +02:00
João Moreno bc9a7bb1f9 Merge pull request #23645 from joaomoreno/scm-api-v2
Update SCM API based on feedback
2017-03-30 09:56:54 +02:00
Martin Aeschlimann 097e6598eb Merge pull request #23638 from Microsoft/roblou/solarizedDark
Add extra theme colors to Solarized Dark for #23294
2017-03-30 09:36:53 +02:00
Martin Aeschlimann 252b393776 [json] update service (for #23424) 2017-03-30 09:31:22 +02:00
Joao Moreno b68c8e3347 automatically marshal scm resources 2017-03-30 08:56:28 +02:00
Rob Lourens 3ca7f73481 Add extra theme colors to Solarized Dark for #23294 2017-03-29 21:22:25 -07:00
Christof Marti 17801ff9a9 Listen on configuration change (#20832) 2017-03-29 17:01:24 -07:00
Joao Moreno ccfcbe6c6f scm: move from pull to push model 2017-03-29 22:44:25 +02:00
Martin Aeschlimann 3664ebf5b2 [theme] fix quietlight theme path 2017-03-29 22:03:37 +02:00
isidor f83cf487cb quitLight theme: tmTheme no longer needed 2017-03-29 16:56:05 +02:00
Isidor Nikolic dbaf7ec59f Merge pull request #23545 from Microsoft/isidorn/quietlight
quitelight theme update fixes #23523
2017-03-29 16:30:46 +02:00
Benjamin Pasero 1fa676a0e3 consistent color names (#23464) 2017-03-29 06:58:19 -07:00
Joao Moreno 12470dccf6 🐛 make askpass work in no-workspace environment
fixes #23474
2017-03-29 12:11:33 +02:00
Dirk Baeumer da5e2892e0 Fixes #23427: Staged changes / Changes not localized 2017-03-29 12:07:31 +02:00
Dirk Baeumer 3d07c8ce55 Streamline prompts for workspace executable settings 2017-03-29 12:07:31 +02:00
isidor 94b20f82c1 quitelight theme update 2017-03-29 12:07:14 +02:00
Dirk Baeumer 0c8a6d5ad4 Addresses concerns in #19624 2017-03-28 09:31:16 +02:00
kieferrm 06492ab640 pick up TS 2.2.2 final 2017-03-27 16:23:49 -07:00
Benjamin Pasero 1e99dc2c03 Merge pull request #23220 from daviwil/default-language-config
Add new "files.defaultLanguage" configuration setting
2017-03-27 16:12:32 -07:00
David Wilson 913651fd55 Centralize language mode enumeration in settings completion provider 2017-03-27 15:47:30 -07:00
Martin Aeschlimann 1242ff5751 [html] Formatting JavaScript placed after div elements inside html file adds 12 extra tabs. Fixes #23063 2017-03-27 23:14:47 +02:00
Christof Marti 60f1c78b2d Add telemetry to new git.clone action - take 2 (fixes #21563) 2017-03-27 11:08:12 -07:00
Joao Moreno 20b56e2639 🔥 remove git readme 2017-03-27 17:27:11 +02:00
Martin Aeschlimann 1e17b32406 [theme] polish Abyss theme (fixes #23214) 2017-03-27 15:51:45 +02:00
Michel Kaporin 2af1e01b44 Implemented transifex push and pull for translations together with json->xlf->json parsing. 2017-03-27 15:45:43 +02:00
Joao Moreno e06a838265 🎨 fix scm api based on @jrieken's recommendations 2017-03-27 15:35:56 +02:00
Martin Aeschlimann 7d63b291cf [json] color decorators 2017-03-27 14:27:10 +02:00
Johannes Rieken 45378eb8d8 Merge pull request #22303 from Microsoft/joh/eol
TextDocument#eol
2017-03-27 12:08:42 +02:00
Joao Moreno 3d0b9755d3 💥 scm state -> stateContextKey 2017-03-27 11:54:23 +02:00
Joao Moreno 75576e3cca 💥 scm id -> contextKey 2017-03-27 11:54:23 +02:00
Joao Moreno 79aa19e9d4 💥 scm input onDidAccept 2017-03-27 11:08:36 +02:00
Martin Aeschlimann 106b6cbce8 Merge pull request #23179 from DustinCampbell/update-csharp-grammar
Update to latest C# TextMate grammar
2017-03-27 09:27:42 +02:00
Benjamin Pasero b51bed11bf theming - activityBarDragAndDropBackground 2017-03-26 14:38:12 -07:00
Benjamin Pasero 41d87c2f4a theming - activity bar badges 2017-03-26 14:38:12 -07:00
David Wilson dfa42afcb8 Add new "files.defaultLanguage" configuration setting
This change adds a new configuration setting that sets the default
language mode of new untitled files created with Ctrl+N
(workbench.action.files.newUntitledFile).  This activates the user's
desired language mode when a new untitled file is created.

Fixes #8729.
2017-03-26 11:03:56 -07:00
Benjamin Pasero 37d0a6f5db theming - debug toolbar background 2017-03-25 12:13:01 -07:00
Dustin Campbell af9f1c7fd0 Update C# grammar with fix for named ref/out arguments 2017-03-25 06:52:51 -07:00
Daniel Imms fc43e3cc12 Merge pull request #23181 from Microsoft/tyriar/23177
Proposed Terminal API onData
2017-03-24 21:30:31 -07:00
Richard Min 9875ae1077 Support ... terminating Yaml FrontMatter (#23195)
* FrontMatter rendered properly on markdownEngine

* FrontMatter terminates for 3 - or .

* Regex applied on both files for markdown
2017-03-24 19:56:53 -07:00
Benjamin Pasero 40c3d0a049 theming - cleanup 2017-03-24 18:13:57 -07:00
Daniel Imms dad0c821d4 Don't run 'test' in the terminal integration test 2017-03-24 14:59:48 -07:00
Daniel Imms 1fa2d91f8c Add integration test 2017-03-24 14:56:49 -07:00
Benjamin Pasero a0a149c44a theming - fix border issue when moving groups 2017-03-24 14:43:14 -07:00
Dustin Campbell 754f88280a Update to latest C# TextMate grammar
Provides fixes for
https://github.com/dotnet/csharp-tmLanguage/issues/44,
https://github.com/dotnet/csharp-tmLanguage/issues/45 and
https://github.com/dotnet/csharp-tmLanguage/issues/50.
2017-03-24 13:44:53 -07:00
Joao Moreno 24cd191ac2 scm: require uris on resources and groups 2017-03-24 17:55:14 +01:00
Benjamin Pasero 052eabdf1f theming - styleable inputbox 2017-03-24 09:27:21 -07:00
Joao Moreno e4a765da2d 🔨 change how ids work in scm providers. remove drag 2017-03-24 16:44:38 +01:00
Joao Moreno 2506bfa230 🔥 removing scm.drag 2017-03-24 16:27:07 +01:00
Johannes Rieken 1849ad23a7 add TextEdit#newEol, adopt for workspace edit and onWillSave-event 2017-03-24 16:13:58 +01:00
Joao Moreno acb29bf425 registerDiffInformationCommand instead of computeDiff 2017-03-24 15:22:43 +01:00
Johannes Rieken a15b0daea1 Merge branch 'master' into joh/eol 2017-03-24 12:37:38 +01:00