Commit Graph
1456 Commits
Author SHA1 Message Date
Matt Bierner 67d5d26274 Use Module Symbol for Module Name Completions (#17558) 2016-12-19 13:28:18 -08:00
Matt Bierner 5162e3b5b5 Add CompletionItemKind.Folder (#17438)
* Add CompletionItemKind.Folder

Fixes #17435

Adds a new completion item kind for folder/directories. This is useful for path intellisense

For the icons, I copied the icons for folders into the suggestion icon set. Let me know if new ones are needed instead.

* Fix monaco.d.ts
2016-12-19 13:09:54 -08:00
Benjamin Pasero 3cefffccfc Get rid of IEventService in favour of real events (#17515) 2016-12-19 09:37:10 +01:00
Matt Bierner 70f25d0187 Use File Icon for TS Path Completions (#17434)
Part of #17331

Updates path completions for directories and files to use a file icon instead of the generic icon they currently use.
2016-12-16 15:10:54 -08:00
Matt Bierner bbe153da22 Fix TS/JS Completion Item Provider for Completions that are not whole words (#16955)
Fixes #16888

**Bug**
The js/ts completion provide can currently only complete whole words (as defined by `TextDocument.getWordRangeAtPosition`). This causes completion of literal string types to fail if they are not a whole word.

**Fix**
Instead of relaying on the default range, compute a range by taking the longest match of the replacement text from the current position.
2016-12-16 12:55:47 -08:00
Matt Bierner 33eb6753be Fixes #17363 Adds typings.json schema (#17416) 2016-12-16 12:55:20 -08:00
Matt Bierner 32222e2eef Update to TS 2.1.5 insiders build (#17347) 2016-12-15 16:35:08 -08:00
Martin Aeschlimann 975d027bac New seti icon theme looks bad. Fixes #17252 2016-12-15 14:35:40 +01:00
Matt Bierner 89bdb7c35a Update ts extension to use es6 (#17134) 2016-12-14 11:40:00 -08:00
Martin Aeschlimann e613af20b7 [seti] extensions & filenames are case insensitive 2016-12-13 12:57:23 +01:00
Martin Aeschlimann e02bfa9279 Update Seti-icons to match Seti-UI. Fixes #16839 2016-12-13 12:11:57 +01:00
Martin Aeschlimann e44f169c48 Associate .phtml with php again (revert of #17099) 2016-12-13 12:11:55 +01:00
Johannes Rieken 24d2d5119f storagePath can be undefined, #17089 2016-12-13 10:06:14 +01:00
Martin Aeschlimann a70621b5a1 [hanldebar] update grammar to daaain/Handlebars@4e82444 (2016-12-08), fixes #17093 2016-12-13 09:46:26 +01:00
Frank Yuan c05f4f466d Update package.json
add .vlot and .phtml extensions
2016-12-13 11:46:53 +08:00
Matt Bierner 598ece67e4 Workaround for #16909 (#17088)
* Workaround for #16909

Fixes #16909

Worksaround TS2.1+ returning strings in the occurrences response we use for highlighting occurrences in documents

The workaround is to look at the text surrounding the first occurrence to see if it is a string literal.

* Small cleanup

* Add gate for ts 2.1.x

* Added check to make sure we don't compare the same character
2016-12-12 11:08:31 -08:00
Matt Bierner ac052e01cf Add link to Ts work item 2016-12-12 10:19:52 -08:00
Matt Bierner 6dc2c6049c Blacklist typescript.useCodeSnippetsOnMethodSuggest in certain contexts (#16415)
Issue #2092

**bug**
With typescript.useCodeSnippetsOnMethodSuggest enabled, we will automatically complete function calls inside some contexts where they should not be completed. For example,  destructing assigment.

**fix**
Add a quickinfo check on the position before attempting to insert a function call. Create a blacklist of invalid contexts. Otherwise, assume that we want to complete the function call.
2016-12-12 10:17:22 -08:00
Martin Aeschlimann d20d9ece16 [typescript] update grammar 2016-12-12 10:52:57 +01:00
Matt Bierner cd26980006 Fixes #16984 2016-12-09 11:39:26 -08:00
Matt Bierner 46e96d6d73 Move @types/semver in TS Extension to devDependencies (#16958)
* Revert #15842 to unblock oss tool

* Move @typessemver to devdependencies
2016-12-08 22:01:02 -08:00
Matt Bierner 6cb45c55e3 Use No Implicit Any In TS Extension (#16878)
Use noImplicitAny in the TS Extension (the TS team suggests enabling this option for most code).
2016-12-08 17:23:10 -08:00
Martin Aeschlimann b38a82cca7 [html] script end tag is not correctly indented. Fixes #16650 2016-12-08 12:29:46 +01:00
Matt Bierner 59e53d6070 Remove mocha.d.ts from extension projects that don't need it 2016-12-07 17:06:27 -08:00
Matt Bierner e592f7cc6d Remove unused functions in is 2016-12-07 17:06:27 -08:00
Matt Bierner e9b68079a9 Merge branch 'fix-ts-js-symbols-showing-undefined' 2016-12-07 16:53:32 -08:00
Matt Bierner 68725a72c8 Fix undefined showing in TS Symbol List
Fixes #16879
2016-12-07 16:52:26 -08:00
Matt Bierner 8a16c576a8 Adopt TS 2.1.4 in TS Extension (#16872) 2016-12-07 16:28:15 -08:00
Matt Bierner 9c3084c45c Fix #16846 (#16863) 2016-12-07 15:10:32 -08:00
Matt Bierner b2519ad3c9 Add a few casts to work around issues in ts 2.1.4 (#16861) 2016-12-07 13:54:25 -08:00
Martin Aeschlimann 8eb0cce438 html.format.unformatted does not respect scripts. Fixes #16634 2016-12-07 19:32:12 +01:00
Sandeep Somavarapu 8d5ac39056 #16674: Use resource editor input
- Show warnings only once
- Open resource editor to show warnings
2016-12-07 18:27:10 +01:00
Martin Aeschlimann aba60c3d95 CSS intellisense doesn't work in incomplete style block . Fixes #16651 2016-12-07 17:21:58 +01:00
Martin Aeschlimann 7469dc1e5e [html] update language services 2016-12-07 15:39:22 +01:00
Alex Dima 19291ef2c1 Fixes #16573: Ensure textEditor.options always contains all properties 2016-12-07 14:16:08 +01:00
Sandeep Somavarapu c67602a819 Fix #16705 2016-12-07 13:32:10 +01:00
Benjamin Pasero 1616c6491e Merge pull request #16779 from mjbvz/fix-16432
Fix #16432 - rejected promise not handled
2016-12-07 08:46:49 +01:00
Matt Bierner f181861ec3 Update alert to more clearly indicate the impact of this 2016-12-06 19:48:08 -08:00
Matt Bierner 55513deead Fix #16432 - rejected promise not handled
Fixes #16432

Introducing during null check refeactoring. Before the promise was set to null inside the promise. I added a rejection because the promise value should never be used before that point, but it seems that introduced a regression.

Fix is to use `p` inside of the promise instead.
2016-12-06 15:59:50 -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