Matt Bierner
8c313fcae0
Assume Jsx For Implicit TS Projects ( #15925 )
...
Issue #15814
**Bug**
1. Open a tsx file on its own.
2. See a error about passing `--jsx` to tsc.
**Fix**
For implicit projects, assume `"jsx": "preserve"`.
Closes #15814
2016-11-28 10:48:27 -08:00
Matt Bierner
c6566148cf
Fix TS/JS Implicit Project Too Large Exclude Action ( #15678 )
...
Issue #15610
**bug**
For implicit js/ts projects that trigger the large project warning in vscode, the action currently tries to create a jsconfig.json file in `/dev/null/...`
**Fix**
In cases where the `jsconfig.json` file returned by tsserver is not under the root worspace, create an empty `jsconfig.json` at the root of the project instead.
2016-11-22 14:24:52 -08:00
Matt Bierner
77e1bbebad
Remove some Typings Files From TypeScript Extension ( #15842 )
...
Remove the node-additions typings file and changes the semver typings to come from `@types/semver`.
2016-11-22 10:54:49 -08:00
Dirk Bäumer
a6af151d6c
Merge pull request #15679 from aozgaa/master
...
Convert from 1- to 0-based indexing for TypeScript completion spans
2016-11-17 18:04:56 -08:00
Dirk Baeumer
aebd3da097
Fixed #14599 : TypeScript formatter suddenly forgets about formatting rules
2016-11-17 18:02:51 -08:00
Arthur Ozga
2be3b848db
Convert from 1- to 0-based indexing
2016-11-17 15:09:38 -08:00
Johannes Rieken
0abf274748
mirgrate typescript completion item provider to TM syntax, #3210
2016-11-16 15:29:20 +01:00
Dirk Baeumer
ab8e320022
Fixes #15543 : Adapt TSServer 2.0.10
2016-11-15 15:24:24 -08:00
Dirk Baeumer
aea3a39ad4
Fixes #15337 : Adapt TSServer 2.0.9
2016-11-11 10:42:25 +01:00
Matt Bierner
a523c2d465
Remove jsconfig.json lightbulb hint
...
Issue #15205
**Bug**
Typescript now infers projects if no jsconfig.json is found. This means that the hint about creating a `jsconfig.json` file is not required.
**Fix**
Remove the `jsconfig.json` hinting logic.
2016-11-08 13:55:03 -08:00
Dirk Baeumer
ae23162b2f
Use protocol.d.ts from TS npm module
2016-11-08 11:09:05 +01:00
Dirk Baeumer
93548f30b4
Merge #15152 : Adapt TSServer 2.0.8
2016-11-08 10:48:33 +01:00
Dirk Baeumer
2cc1a70bc4
Fixes #14797 : Add workaround for TS issue: https://github.com/Microsoft/TypeScript/issues/11883
2016-11-01 14:40:14 +01:00
Dirk Baeumer
b74b36bee0
Fixes #13266 : TSC version mismatch shouldn't be shown for JavaScript
2016-10-27 12:01:29 +02:00
Johannes Rieken
0231e82cf0
function vs function-call, fixes #14490
2016-10-26 12:57:17 +02:00
Dirk Baeumer
207d45f161
Fixes #14410 : Rename experimentalAutomaticTypeAcquisition to disableAutomaticTypingAcquisition
2016-10-25 15:10:14 +02:00
kieferrm
f94ebcf2d0
enable automatic typings acquisition by default
2016-10-24 17:10:08 -07:00
Johannes Rieken
9aeeee4c1a
don't project failures to console, fixes #13785
2016-10-21 10:42:58 +02:00
Johannes Rieken
abc9993766
add [typescript|javascript].formate.enable
2016-10-17 14:38:08 +02:00
Dirk Baeumer
6827488419
Added additional formatting options
2016-10-14 20:49:30 +02:00
Dirk Baeumer
f2575227bb
Making protocol.ts a real module
2016-10-14 20:49:30 +02:00
Dirk Baeumer
99dd5e4a22
Adopt protocol.d.ts file from npm package
2016-10-14 20:49:29 +02:00
Dirk Baeumer
67af291986
Make use of TS 2.0.6 optional
2016-10-14 20:49:28 +02:00
Dirk Baeumer
b43b1084bf
Passing command line argument --useSingleInferredProject
2016-10-14 20:49:27 +02:00
Dirk Baeumer
b2fe50a8ac
Adopt useOneInferredProject
2016-10-14 20:49:26 +02:00
Dirk Baeumer
ad0668ac8d
Adopt replacementSpan
2016-10-14 20:49:25 +02:00
Dirk Baeumer
79a445380e
Pull in 2.0.6 protocol.d.ts
2016-10-14 20:49:24 +02:00
Dirk Baeumer
ad7e29352d
Automate tsserver installation
2016-10-14 20:49:23 +02:00
Wade Anderson
b10d024111
Updated version mismatch Info message
...
Per https://github.com/Microsoft/vscode/issues/13284#issuecomment-252186657
2016-10-10 08:55:20 -07:00
Johannes Rieken
eda34bbe60
tsfmt - extensions/typescript
2016-10-08 09:39:48 +02:00
Dirk Baeumer
2e5b5f1750
Fixes #13035 : Disable experimental auto build setting
2016-09-29 21:56:14 +02:00
Dirk Baeumer
7067b5927c
Fixes #12721 : Info message about typescript.tsdk is a bit too much
2016-09-29 14:04:45 +02:00
Dirk Baeumer
82e929bd0f
Partial fix for #12798 .
2016-09-28 15:36:28 +02:00
Dirk Baeumer
d15f6491a7
Fixes #12803 : Cannot read property 'then' of null
2016-09-28 14:49:35 +02:00
Dirk Baeumer
12a9daeb62
Fixes #12798 : TS error stays around
2016-09-28 13:46:20 +02:00
Dirk Baeumer
5c602c0afd
Fixes #12778 : [loc][Query][VSCode] Please clarify string
2016-09-28 10:35:43 +02:00
Dirk Baeumer
f92b910dbb
Fixes #11850 : Investigate better synchronization between diagnostic request and auot code complete
2016-09-26 22:14:23 +02:00
Benjamin Pasero
889c5d2d8c
ts 2.0: fix unexternalized string issues
2016-09-23 14:50:43 +02:00
Dirk Baeumer
98e45b8d79
Add close buttons to messages
2016-09-23 12:07:28 +02:00
Dirk Baeumer
a48d278d19
Added values to enums to make 2.0.3 compiler happy with structural equal enums
2016-09-23 11:50:22 +02:00
Dirk Baeumer
a464b8a7b5
Fixing compile error caused by TS 2.0.3
2016-09-23 09:03:16 +02:00
Dirk Baeumer
03d7916061
ImprovedVersionChecking
2016-09-22 16:24:33 +02:00
Dirk Baeumer
f0910528f4
Disable debugger
2016-09-22 12:53:32 +02:00
Dirk Baeumer
f4e1161ef0
Normalize all pathes using fs.realpath
2016-09-22 12:36:15 +02:00
Dirk Baeumer
1ad65140b4
Update typescript extension to 2.0.2
2016-09-21 16:13:49 +02:00
Benjamin Pasero
6fa85223ef
Electron Update 1.x ( #11157 )
...
* use electron 1.3.4
* ATOM_SHELL_INTERNAL_RUN_AS_NODE => ELECTRON_RUN_AS_NODE
* OSS input
* update electron.d.ts
* workaround for #8708
* bump oniguruma and chokidar with custom fsevents
* build with appveyor config from master
* oops, still use ELECTRON_RUN_AS_NODE
* use electron 1.3.5
* optional fsevents
* add cat.exe to workaround output issues
* use cat for tests
* remove some now obsolete ELECTRON_NO_ATTACH_CONSOLE
* also pipe output to cat for code.sh on windows
* unset ELECTRON_RUN_AS_NODE for appveyor
* fix tfs builds?
* fix build
* fix build?
* use cat only when running tests locally
2016-09-14 07:29:20 +02:00
Joao Moreno
676d5ff178
flip typescript hover order
2016-09-05 17:31:20 +02:00
Dirk Baeumer
b5a3c7350b
Fixes #11437 : Change 'The workspace folder contains a TypeScript version' message
2016-09-02 10:51:23 +02:00
Dirk Baeumer
aae56e2010
Fixes #11391 : Typescript extension throws when opening a single file
2016-09-01 17:40:24 +02:00
Dirk Baeumer
64a75fa8bb
Adds forward link for #11162
2016-09-01 09:37:37 +02:00