Commit graph

2576 commits

Author SHA1 Message Date
Matt Bierner 53b18c79e7 Mark some buffersync members readonly 2017-05-16 13:43:27 -07:00
Matt Bierner 8786a903f0 use Switch instead of map for looking up modes 2017-05-16 13:43:27 -07:00
Matt Bierner bb44d4386b Remove linkedmap 2017-05-16 13:43:27 -07:00
Fernando Tolentino ebb5c05734 using json-parser to get existing recommendations 2017-05-16 15:32:12 -03:00
Fernando Tolentino ba578c15de Merge remote-tracking branch 'upstream/master' into 13456a 2017-05-16 15:07:17 -03:00
Martin Aeschlimann 0287e46ab4 JSON schemas served with gzip fail to parse. Fixes #26672 2017-05-16 11:47:04 +02:00
Matt Bierner 613724d43b Add logging of PATH to investigate ATA issues reported in #24961 2017-05-15 21:46:21 -07:00
Matt Bierner ed16aff923 Use more const 2017-05-15 21:38:50 -07:00
Matt Bierner 99f55b2814 Extract TypeScript logger to own file 2017-05-15 21:35:28 -07:00
Matt Bierner c1eccca103 Remove unused paramter 2017-05-15 21:24:02 -07:00
Matt Bierner 4f398bafda Prototype of Supporting Additional Language Types for TS Plugins
Fixes #25740

Allows ts server plugins to specify that they support additional languages, such as html. These supported languages are defined in the contributes section of the package.json:

```json
"contributes": {
    "typescriptServerPlugins": [
        {
            "name": "tslint-language-service",
            "languages": [ "html" ]
        }
    ]
}
```

This change allows the TS Plugin in VSCode to send the additional file types to the TypeScript server for processing by the plugin
2017-05-15 17:00:10 -07:00
Daniel Imms f8bd850747 Merge pull request #25570 from jhasse/system-ui
Use Chromium's new system-ui font alias
2017-05-15 13:20:56 -07:00
Fernando Tolentino 4ceb904f33 exclude vscode-markdown and already entered extensions 2017-05-15 16:54:29 -03:00
Fernando Tolentino a901530929 Merge remote-tracking branch 'upstream/master' into 13456a 2017-05-15 15:44:41 -03:00
Matt Bierner 78676ce503 Ensure the default js/tsconfig has content when first created. Fixes #21209 2017-05-12 20:50:36 -07:00
Matt Bierner f856147a01 Split js and ts setting for references code lens
Fixes #26418

Allows enabling or disabling the references code lenses in either javascript or typescript. Previously, the setting enabled it in both language automatically. Enable the code lenses in ts files by default
2017-05-12 20:26:08 -07:00
mappu 092ea70b9a extension/php: detect language via shebang (#26581)
Fixes #26580
2017-05-12 19:38:35 -07:00
Matt Bierner 513b3b406d Fix name for ts 2.3.3 2017-05-12 18:52:26 -07:00
Matt Bierner 2b9679b5fb Pick up TS 2.3.3-insiders 2017-05-12 18:24:31 -07:00
Fernando Tolentino 0756b0d146 Intelli-sense in extensions file 2017-05-12 13:51:33 -03:00
Martin Aeschlimann 0977de9948 [php] update php grammar 2017-05-12 16:48:07 +02:00
Matt Bierner 0d5c9f418b Remove Need for File Extensions in TypeScript Language Definitions (#26413)
Part of #25740

To support TS Server plugins for languages like angular, we will allow extensions to register new langauges for TypeScript to watch. The angular language for example would want ng-html files to also be uploaded to TypeScript for checking

The current language definitions all define both a set of language modes they support and a set of file extensions. The file extension part is unnessiary and may be incorrect depending on how a user sets up their `file.associations` in the workspace. This change removes the extensions part so that we always make use of the language mode
2017-05-11 10:48:48 -07:00
Martin Aeschlimann f1dfc88828 Merge pull request #26350 from wgrriffel/add-missing-goto-keyword
Lua syntax extension is missing 'goto' keyword
2017-05-11 10:43:37 +02:00
João Moreno 6f1cef06fa Merge pull request #26412 from asottile/fix_lc_all
Correct LC_ALL.  Resolves #26227
2017-05-11 10:03:40 +02:00
Matt Bierner 9cce34d949 Improve plain text display of jsdocs tags 2017-05-10 16:39:10 -07:00
Matt Bierner 9587f8f379 Further tweaks to jsdoc tag rendering 2017-05-10 16:32:17 -07:00
Matt Bierner 2aa11ada5e Address VSCode component of #26415 2017-05-10 15:52:44 -07:00
Anthony Sottile 0b7f4425ef Correct LC_ALL. Resolves #26227 2017-05-10 13:37:52 -07:00
Jan Niklas Hasse 45d93e9325 Use Chromium's new system-ui font alias
https://bugs.chromium.org/p/chromium/issues/detail?id=654679

Fixes #10144.
2017-05-10 13:44:12 +02:00
Joao Moreno e707642a3c git: don't use fs.watch
fixes #25175
2017-05-10 11:03:18 +02:00
Matt Bierner 2c7516672e Cleanup some TS files 2017-05-10 00:03:42 -07:00
Matt Bierner 4f4a663a60 update highlight js version 2017-05-10 00:03:42 -07:00
Benjamin Pasero 6254814d85 theming - progress bar 2017-05-10 07:51:35 +02:00
Wagner Riffel 44495cb309 add missing lua goto keyword 2017-05-10 02:23:38 -03:00
Matt Bierner 93e42a5e46 Use for of loop 2017-05-09 21:50:56 -07:00
Matt Bierner f7306841f6 show jsdoc tags in sig help and for completion items
Fixes #26290

Exposes jsdoc tags such as `@priver` in the signature help and in completion items
2017-05-09 21:27:55 -07:00
Matt Bierner 173fc44723 Support Tags in TS/JS Hover Provider
Fixes #26290

Adds support for displaying documentation tags from jsdoc comments (such as `@private`) in hovers
2017-05-09 20:55:58 -07:00
Rob Lourens e4950d10c6 Merge pull request #22354 from Nais777/master
Update PHP snippets
2017-05-09 15:46:16 -07:00
Matt Bierner 946e7ebb2f Reveal TS Server log file in os instead of opening log in explorer. Fixes #25908 2017-05-09 14:56:24 -07:00
Matt Bierner e2d6ff6181 💄 2017-05-09 11:43:21 -07:00
Matt Bierner c94789c509 Add Filename to JS/TS Workspace Symbol Search
Fixes #22357

Adds file name to the workspace symbol results for JS and TS
2017-05-09 11:25:38 -07:00
Benjamin Pasero f97acb341c theming - inherit badge colors in activity bar 2017-05-09 10:14:19 +02:00
Benjamin Pasero c615b43be6 theming - badge colors (fixes #25493) 2017-05-09 07:58:17 +02:00
chrisdias 312cb04e19 fix keyword type to fix tests 2017-05-08 15:50:46 -07:00
chrisdias 91b7995904 support FROM...AS in dockerfile 2017-05-08 14:25:17 -07:00
Martin Aeschlimann 9bc4e76075 Capfile isn't displayed as Ruby. Fixes #25939 2017-05-08 22:37:51 +02:00
Matt Bierner c70f922201 Add Suggestion Provider For TS Directives (#25806)
* Add Suggestion Provider For TS Directives

Adds a new completion provider to suggest typescript comment directives, such as `@ts-check` or `@ts-ignore`

Fixes #25413

* Add descriptions to snippets
2017-05-08 13:23:46 -07:00
Benjamin Pasero 841d9ae060 💄 2017-05-08 19:59:14 +02:00
Matt Bierner ae5c28306b Pick up updated js/ts grammar (#26094) 2017-05-08 08:12:33 -07:00
Martin Aeschlimann 4a1c576f48 Script element with type="text/html" not recognised as html. Fixes #25920 2017-05-08 12:52:20 +02:00
Matt Bierner 721f880cfd Use Shared TypeScript to Compile VSCode Colorizer Tests (#25858)
**Bug**
Colorizer-tests currently installs an old version of typescript

**Fix**
Switch to using the standard typescript that all other extensions use. Also switch over to using the shared `vscode.d.ts` file
2017-05-05 13:41:39 -07:00
Matt Bierner e8b01da790 Clean Up JSDoc Completion Provider Implementation (#25981)
* Fix JSDoc Completion Provider

**Bug**
89da6ab81f fixed #11944 by changing how enter works in completion providers. Now if the completion exactly matches the current text, pressing `enter` is not captured by the the suggestion widget. Instead it inserts a new line into the editor. This broke the jsdoc completion provider which uses `''` as a placeholder insertion before calculating the actual insertion upon being accepted. This weird behavior is because of a of the current tsserver api

**Fix**
Change the insert text to a single space instead. This seems to fix this issue in my testing.

* Slightly more elegant fix
2017-05-05 12:53:05 -07:00
Matt Bierner 7d2dea4e45 Add "Include" to extension TSConfig Files (#25860)
**Bug**
Most VSCode extensions currently specify `"exclude"` in their `tsconfig.json` but not `"include"`. This may result in extra files being included in each project

**Fix**
Add  `"include": ["src/**/*"]` to all extension tsconfig files
2017-05-05 11:37:59 -07:00
Daniel Imms 9d5987e8f6 Add terminal colors for solarized themes
Fixes #26065
2017-05-05 10:23:29 -07:00
Daniel Imms f36141ac5e Remove no longer existing theme key from Red 2017-05-05 08:30:46 -07:00
Daniel Imms 29d0a488d0 Monokai: Don't use transparency in terminal colors
Part of #26050
2017-05-05 08:29:09 -07:00
Martin Aeschlimann 717f328ab7 Snippets with tab (and other control sequences) insert [object Object]. Fixes #25938 2017-05-05 16:32:19 +02:00
João Moreno 6067977ea9 Merge pull request #26008 from letmaik/git-sync-ahead-behind
Show ahead/behind indicator while git syncing
2017-05-05 12:56:12 +02:00
Maik Riechert 1a4f9ab0e6 show ahead/behind while git syncing
reverts fab6f8871a
2017-05-05 10:15:08 +01:00
Matt Bierner 79f9601273 Fix configFileWatcher being disposed of incorrectly 2017-05-04 23:37:05 -07:00
Bradley Meck d6c61a0e12 Add .mjs to known JavaScript file extensions (#25747)
Also add .es6 in missing places
2017-05-04 16:21:08 -07:00
Daniel Imms 76ec19f240 Monokai: Use standard fg for list highlight
Fixes #25868
2017-05-04 13:01:01 -07:00
Matt Bierner d13f3e79c8 Fix markdown preview no longer marking selection Fixs #25802 2017-05-04 09:14:34 -07:00
Joao Moreno 4c62dfa0a4 git commit with input bail early 2017-05-04 16:45:49 +02:00
Joao Moreno b31c1e1fc9 use global settings 2017-05-04 16:42:02 +02:00
Joao Moreno 0dcb957f4c Merge branch 'Issue15613_AllFilesCommitted' of https://github.com/seesemichaelj/vscode into seesemichaelj-Issue15613_AllFilesCommitted 2017-05-04 16:32:37 +02:00
Johannes Rieken 127b909c10 some api test love 2017-05-04 16:22:19 +02:00
Joao Moreno af6f8aa748 clean up #24950 2017-05-04 16:04:30 +02:00
Joao Moreno b94f56f7cc Merge branch 'git-default-branch-directory' of https://github.com/ihalip/vscode into ihalip-git-default-branch-directory 2017-05-04 16:00:45 +02:00
Matt Bierner 9b0141aaec Enable Semantics Diagnostics for Inline JS (#25850)
Fixes #25809

**Bug**
Inline js in html currently only reports semantic errors. This means that `// @ts-check` does not work to help catch programming errors

**Fix**
Also report semantic errors in script tags
2017-05-03 15:23:04 -07:00
Matt Bierner 1a8b7a7dc7 Treat Script Tag Contents in HTML as JS (#25847)
**Bug**
Script contents in html are treated as typescript instead of javascript

**Fix**
Explicitly set the script kind to js

Fixes #25846
2017-05-03 12:47:53 -07:00
Matt Bierner 636e3b3cb2 Fix a potential hang when tsserver exits improperly (#25808)
**Bug**
If the TSServer restarts with ongoing requests queued, the new server instance may not properly startup. in the logs, this looks like a series of cancelled request followed by a restart message, and then more cancelled requests of the same series

**fix**
I believe the root cause of this is that the request queue is not properly flushed and the request sequence numbers are not properly reset when starting the new server instance.

Fixes #25807
2017-05-03 09:56:55 -07:00
Johannes Rieken 358eb92d72 make sure default editor position is set, fixes #25801 2017-05-03 14:42:36 +02:00
Matt Bierner 36ce3d156f Show header level in markdown Fixes #25574 2017-05-02 13:38:01 -07:00
Daniel Imms 4b9a244cbf Restore monokai dimmed background
- Restored dimmed monokai bg colors
- Set saturation of blue tinted colors to 0
- Whitespace using indent guide color
- Improve contrast of inactive tab
- Add inputOption.activeBorder and focusBorder

Fixes #25742
2017-05-02 11:11:46 -07:00
Daniel Imms 21ad8e3096 More Monokai refinements
- Focus color is now more muted
- Fixed notification foreground
- Added input option active border
- Added input validation colors
- Added title bar color

Part of #25742
2017-05-02 10:49:49 -07:00
Matt Bierner 0ddd558b29 Pull in updated clojure grammar 2017-05-02 10:37:43 -07:00
Benjamin Pasero a5d90e09c4 more theme updates (for #25327) 2017-05-02 07:50:21 +02:00
Daniel Imms 479eb68a13 Fix monokai tab border color
Part of #25742
2017-05-01 16:02:58 -07:00
Daniel Imms de55855f3b Redo monokai colors
Part of #25742
2017-05-01 15:12:18 -07:00
rebornix 24b71e9d56 Tweak Quite Light theme badge color. 2017-05-01 14:51:20 -07:00
Matt Bierner ef8f884a65 Tweak Red theme colors. Fixes #25744 2017-05-01 14:15:05 -07:00
Andy 36baf609e1 Remove unnecessary parentheses (#25573) 2017-05-01 13:35:35 -07:00
Daniel Imms b404610117 Tomorrow night blue: Style debug toolbar
Fixes #25641
2017-05-01 11:11:25 -07:00
Daniel Imms e5979644f4 Make debug status bar readable in tomorrow night blue theme
Fixes #25640
2017-04-30 12:43:21 -07:00
Matt Bierner 0533eec76c Pick up TS 2.3.2 Fixes #25699 2017-04-30 12:27:55 -07:00
Benjamin Pasero e7ff4c373f Add workbench/editor colors to our built in themes (fixes #25327) 2017-04-29 15:01:44 +02:00
Benjamin Pasero 2b73072d2e theme - get rid of list.focusAndSelectionBackground 2017-04-28 20:03:43 +02:00
Matt Bierner 79b1ec851a Run distro tool 2017-04-28 10:27:47 -07:00
Benjamin Pasero 8382490bda theme - get rid of list.focusAndSelectionForeground 2017-04-28 19:26:04 +02:00
Martin Aeschlimann b941c0336a WorkspaceEdit type mismatch in css server (for #25623) 2017-04-28 17:59:20 +02:00
Benjamin Pasero 830b94b2c1 themes - get rid of tab.activeWithInactiveEditorGroupForeground and inactiveWithInactiveEditorGroupForeground 2017-04-28 16:16:44 +02:00
Martin Aeschlimann bf8f73262e Error running rename in CSS. Fixes #25623 2017-04-28 16:03:40 +02:00
Benjamin Pasero f042999623 themes - get rid of masterDetailsEditor.border 2017-04-28 15:57:44 +02:00
Benjamin Pasero ff9f7b3baa Consider to use dots instead of camel-case (fixes #25428) (#25621)
* Consider to use dots instead of camel-case (fixes #25428)

* 💄
2017-04-28 15:29:37 +02:00
Benjamin Pasero 52dd6053f4 remove console.log (fyi @aeschli) 2017-04-28 14:27:40 +02:00
Martin Aeschlimann a6db6bb440 HTML format selection formatting entire line issue. Fixes #25521 2017-04-28 09:58:23 +02:00
Benjamin Pasero 2a202d165a 💄 2017-04-28 09:07:40 +02:00
Christopher Leidigh cd3a131267 Monokai UI theme - first pass for #25327 (#25599)
* Monokai UI theme - first pass

* Added Dimmed Monokai

* Fixed base colors
2017-04-28 09:04:51 +02:00
Benjamin Pasero 31205bdeb8 use more transparency (for #25482) 2017-04-28 08:53:29 +02:00
Matt Bierner 2225ab4768 Fixes #25589 2017-04-27 17:41:49 -07:00
Matt Bierner db036ea0c7 Log Traces at correct level when TSServer exists as expected. Fixes #25381 2017-04-27 16:11:40 -07:00
Matt Bierner 04f5fbb140 A few more tweaks for tomorrow night blue 2017-04-27 16:05:31 -07:00
Matt Bierner 021617b8b4 Fixes #25585 2017-04-27 16:05:31 -07:00
Martin Aeschlimann ffd0d963f2 [json] fix for color decorator regex 2017-04-27 22:41:22 +02:00
Matt Bierner d16e0956cf Remove jsconfig/tsconfig activation for ts extension. Part of discussion in #25559 2017-04-27 13:39:38 -07:00
Martin Aeschlimann 7516e0eff3 Theming: diff colors should be more specific. Fixes #25544 2017-04-27 21:54:54 +02:00
Martin Aeschlimann f3a9b0a01a peekViewTitle and peekViewTitleInfo names should end with "Foreground" Fixes #25481 2017-04-27 21:15:29 +02:00
Matt Bierner 669b5ecb28 Gate pluginProbeLocations to only global ts installs 2017-04-27 12:06:15 -07:00
Martin Aeschlimann 053130ef2a Allow for short hand hex colors. Fixes #25396 2017-04-27 20:33:02 +02:00
Matt Bierner 944e242075 Pick up TS 2.3.1 final 2017-04-27 11:07:18 -07:00
isidor 975b78806b quietlight: go back to purple
#25327
2017-04-27 18:02:14 +02:00
Matt Bierner 5a1cb964db Fix a few red theme issues with status bar 2017-04-27 08:43:17 -07:00
Benjamin Pasero 0f090fc429 fix #25379 2017-04-27 17:23:36 +02:00
Joao Moreno 9b7a8813e0 🐛 SourceControlResourceDecorations.faded
fixes #24097
2017-04-27 15:38:27 +02:00
Benjamin Pasero 3f0c6c8a5b focusedElementOutline => focusBorder 2017-04-27 15:23:54 +02:00
Benjamin Pasero 662c112aec panelTopBorder => panelBorder 2017-04-27 15:00:25 +02:00
Benjamin Pasero e22d511362 fix #25426 2017-04-27 14:58:28 +02:00
Benjamin Pasero 8a34b0ebd7 editorHeaderBackground => editorGroupHeaderBackground 2017-04-27 14:58:28 +02:00
Johannes Rieken 350be19085 enable valid test, #25539 2017-04-27 14:24:21 +02:00
Johannes Rieken 13b11919c6 use correct uri manipulation, #25539 2017-04-27 14:17:12 +02:00
Alex Dima 4679fef06e Fixes #19515 2017-04-27 13:07:42 +02:00
Alex Dima 974f8aca31 Fixes #20757: Detect overlapping ranges in the extension host, no need to call into renderer process to find out the edits are illegal 2017-04-27 12:48:58 +02:00
Martin Aeschlimann f78b54c2d0 Remove listInactiveFocusBackground. Fixes #25461 2017-04-27 12:15:59 +02:00
Benjamin Pasero 6c2730b652 fix #25399 2017-04-27 12:13:03 +02:00
Alex Dima 8c82a6c615 Fixes #25437 2017-04-27 12:05:04 +02:00
Benjamin Pasero 00e32e97de fix #25483 2017-04-27 11:49:05 +02:00
Joao Moreno f0fe019745 🐛 remove git init icon
fixes #21103
2017-04-27 11:25:45 +02:00
Benjamin Pasero 11ff12299c introduce listHighlightForeground (fixes #25496) 2017-04-27 11:15:33 +02:00
Benjamin Pasero 405ecd8b43 fix #25369 2017-04-27 10:29:41 +02:00
Joao Moreno 40f2a2f35b 🐛 make git.cleanAll more alarming
fixes #24803
2017-04-27 09:29:40 +02:00
Daniel Imms 359c674cd2 Workbench colors for tomorrow night blue (#25464)
Part of #25327
2017-04-27 07:33:05 +02:00
Matt Bierner 891bb7680f Update markdown wordwrap for new wordwrap settings. Fixes #25357 2017-04-26 22:27:28 -07:00
Matt Bierner 456d58d9c9 Automatically restart TS server when user changes TS versions. Fixes #25431 2017-04-26 22:14:36 -07:00
Matt Bierner 38b4b14fb6 Fix ts server potentially logging unknown error code in some cases 2017-04-26 17:17:32 -07:00
Matt Bierner d6dcd7d5fc Add focus color for red theme 2017-04-26 17:02:17 -07:00
Matt Bierner 03e9b7886c More tweaks to red color theme 2017-04-26 16:53:44 -07:00
Matt Bierner bf5fd6925e Work on red theme peek view Fixes #25492 2017-04-26 16:41:33 -07:00
Matt Bierner c478124471 Log tsserver log file path. Fixes #25490 2017-04-26 16:17:09 -07:00
Matt Bierner d3e4e45320 Fixes #25468 2017-04-26 15:46:14 -07:00
Matt Bierner bf31ce9b80 Continue themeing Red theme Fixes #25367 Fixes #25366 2017-04-26 15:37:53 -07:00
Benjamin Pasero b34f17350f Un-allowed double quoted imports (for #25451) 2017-04-26 19:13:12 +02:00
Benjamin Pasero b3141c941e solarized dark (for #25327) 2017-04-26 18:45:04 +02:00
Joao Moreno 4e636bf50f 🐛 fixes #24052 2017-04-26 17:55:44 +02:00
Joao Moreno bf02ba2f7d 🐛 fixes #25225 2017-04-26 17:14:35 +02:00
Joao Moreno fad430efb9 🐛 fixes #25252 2017-04-26 17:14:35 +02:00
Joao Moreno 9234a7c97c 🐛 dont call iconv with unsupported encodings
fixes #25359
2017-04-26 16:58:12 +02:00
Joao Moreno facdcded9d 🐛 git status errors are incomplete
fixes #25408
fixes #25302
2017-04-26 16:54:45 +02:00
Joao Moreno c973c34597 🐛 fix git throttle decorator
fixes #25271
2017-04-26 16:44:54 +02:00
isidor b714af7a56 update quiet light theme
#25327
2017-04-26 15:22:34 +02:00