Matt Bierner
efe5d1c0ad
Disable complete on / for path based completions. Fixes #20557
2017-02-23 19:42:25 -08:00
Matt Bierner
151986295e
Fixes #21065 - Open js/ts config in same column as active editor
2017-02-23 17:25:24 -08:00
Matt Bierner
e000772e9c
Use * in jsdoc comments but don't select the star in the snippet
2017-02-23 16:22:02 -08:00
Matt Bierner
eab23cd0dc
#21214 clairify that only project wide intellisense is being disabled when configure excludes shows
2017-02-23 14:58:44 -08:00
Matt Bierner
1ad0809980
Revert to using any to avoid weird selection behavior for *
2017-02-23 14:56:24 -08:00
Matt Bierner
8ced802f0a
use {*} instead of in jsdocs
2017-02-23 14:18:06 -08:00
Matt Bierner
b5687d4b8f
Tweak jsdoc snippet to go to params first
2017-02-23 14:18:06 -08:00
Matt Bierner
f9d76beb24
Use snippet for jsdoc completion. Fixes #21105
2017-02-23 14:07:59 -08:00
Matt Bierner
4ae550eb54
Use completion item to trigger jsdoc item
2017-02-23 11:44:08 -08:00
Matt Bierner
6c9f4712b7
Adopt ts 2.2.1
2017-02-22 15:14:31 -08:00
Matt Bierner
39ebfdecb9
Use snippet for default jsdoc
2017-02-22 15:05:32 -08:00
Matt Bierner
eebf74eab5
Tweak jsdoc completion to allow it to be disabled by disabling snippets and so that it does not match words in the suggestion list
2017-02-22 14:37:57 -08:00
Matt Bierner
f7498f0be8
Fixes #21056 dont auto show jsdoc as often
2017-02-22 11:12:14 -08:00
Matt Bierner
7db214be1c
Update jsdoc localization key
2017-02-21 18:34:52 -08:00
Matt Bierner
1a0d136939
Fix jsdoc completion not showing when you disable snippet suggestions
2017-02-21 18:34:21 -08:00
Matt Bierner
3eb0cc5348
Fixes #21036
2017-02-21 18:22:32 -08:00
Matt Bierner
9421cfda91
Allow trigger js doc completion in cases like a/**|
2017-02-21 18:16:21 -08:00
Matt Bierner
9939b73286
Improve jsdoc label
2017-02-21 17:43:08 -08:00
Matt Bierner
ba01265d00
Dont show js doc completion item when inside text on a line
2017-02-21 17:33:55 -08:00
Matt Bierner
025202a337
Don't show jsdoc completion item when insider of words
2017-02-21 16:56:18 -08:00
Matt Bierner
5b1a6f4155
Use CompletionItem for JsDoc Comment auto fill ( #21025 )
...
Fixes #20990
Switches back to using a completion item provider for jsdoc auto complete.
The completion list will be automatically shown when you are in a potentially valid jsdoc completion context
2017-02-21 16:02:53 -08:00
Kai Maetzel
919580fdd8
Upgrade telemetry package used by TS and markdown extensions. ( #20971 )
...
* upgrade telemetry used by TS ext
* upgrade telemetry used by markdown ext
2017-02-21 15:26:30 -08:00
Matt Bierner
c94be6c5b2
Don't reject when we have no code actions
2017-02-21 14:29:42 -08:00
Matt Bierner
02006fe925
fixes #20815 . Workaround to not send code actions request if we have no actions
2017-02-21 14:26:54 -08:00
Matt Bierner
6480172752
Apply js completion to react files
2017-02-19 16:23:19 -08:00
Matt Bierner
5a8795f99a
Bump ts version
2017-02-19 16:21:51 -08:00
Matt Bierner
a017fdeb41
Handle Some Disposable Registrations in TS Extension ( #20775 )
...
* Makes a few TS Extension Types Disposable
**Bug**
TS Extension currently registers many different calls with VSCode but does not handle the disposable result returned from these calls.
**Fix**
For some of these registrations, make sure we correctly dispose of them when the extension is deactivated.
* Fix a few more cases
* Cover a few more case
2017-02-17 11:41:32 -08:00
Matt Bierner
de335bfa49
Small references code lens cleanup
2017-02-16 22:13:54 -08:00
Matt Bierner
844cfe1459
Small formatting cleanup
2017-02-16 16:49:39 -08:00
Matt Bierner
a5a0249701
Small formatting cleanup
2017-02-16 16:43:17 -08:00
Matt Bierner
511bcb37a3
Fix duplicate command id
2017-02-16 16:05:01 -08:00
Matt Bierner
5638922563
Remove duplicate TS registrations
2017-02-16 15:55:39 -08:00
Matt Bierner
dab0a92ca5
Pick up new ts version
2017-02-16 13:45:41 -08:00
Matt Bierner
db25b7ec6e
Fix jsdoc build error
2017-02-16 12:52:30 -08:00
Matt Bierner
d287583f21
Fix timeout for jsdoc call
2017-02-16 11:00:04 -08:00
Matt Bierner
7cd1b6cd79
Revert "Add Status Bar Item for JSConfig/TSConfig" ( #20759 )
2017-02-16 10:51:20 -08:00
Matt Bierner
fe742d3800
Autofill for JSDocs ( #20625 )
...
* Add autofill for JSDocs
Adds prototype of autofill for jsdoc comments. For code like:
```js
/**|
function mul(x, y) {
return x * y;
}
```
When you press return, we will complete it to:
```js
/**
*
* @param x
* @param y
*/
function mul(x, y) {
return x * y;
}
```
In Typescript and to:
```js
/**
*
* @param {any} x
* @param {any} y
*/
function mul(x, y) {
return x + y;
}
```
In JavaScript
* Handle revert case better
* Disable on enter when suggestion is visible
2017-02-15 14:04:36 -08:00
Matt Bierner
e0354d386a
Add Status Bar Item for JSConfig/TSConfig ( #20571 )
...
Fixes #20356
Adds a status bar item that shows which jsconfig/tsconfig a ts or js file currently belongs to. This triggers the `typescript.goToProjectConfig` command when clicked, which either jumps to the config file or shows an alert about creating a configuration file
2017-02-15 13:26:32 -08:00
Matt Bierner
480eaa519e
Activate ts when workspace contains js or ts config to get intellisense for these config files
2017-02-13 14:39:39 -08:00
Matt Bierner
e28dbc6d79
Clarify typings Fixes #20309
2017-02-13 14:34:37 -08:00
Matt Bierner
6b5c143705
Clarify markdown setting string. Fixes #20409
2017-02-13 14:17:27 -08:00
Matt Bierner
b9eab3261f
Clairfy references codelens string. Fixes #20393
2017-02-13 14:15:17 -08:00
Matt Bierner
5db8fd0f55
Add Command to Go To / Create project configuration for an active js or ts file ( #20362 )
...
* Add Command to Go To / Create project configuration for an active js or ts file
Part of #20356
Adds a new command that opens the jsconfig or tsconfig project configuration file for the currently active file. If one does not exist, displays a quick pick that allows users to learn more and create a config file at the root of their project
* Add messages for error cases
* Work around ts error
2017-02-13 12:58:40 -08:00
Matt Bierner
c52f03ccf7
Only check tsc version for ts files. Fixes #17736
2017-02-10 15:46:51 -08:00
Matt Bierner
baaf639989
Small code cleanup
2017-02-09 17:45:15 -08:00
Matt Bierner
d759bb7046
Properly escape names for ts reference code lens Fixes #20357
2017-02-09 16:32:32 -08:00
Matt Bierner
bda6f847b1
Pick up TS 2.2 2/9 insiders build ( #20363 )
2017-02-09 16:26:45 -08:00
Matt Bierner
94391ea14d
Send script kind based on languageId for js and ts files ( #20351 )
2017-02-09 13:37:47 -08:00
Matt Bierner
3ba88b6800
Pick up TS 2.1.6
2017-02-08 15:19:16 -08:00
Matt Bierner
42335c57f5
Revert "Use types tsconfig option where possible"
...
This reverts commit 38fbba35ff .
2017-02-07 16:31:50 -08:00