Commit Graph

707 Commits

Author SHA1 Message Date
Matt Bierner
040fadfeec Fix multiroot tsconfig task detection for folders with the same name
Fixes #31828
Fixes #31827
2017-08-28 13:49:53 -07:00
Matt Bierner
18abacfc26 More lazy loading of ts providers 2017-08-25 18:28:12 -07:00
Matt Bierner
0f1c9696d9 Lazy load some ts providers 2017-08-25 18:23:44 -07:00
Matt Bierner
f8f218b426 Pick up TS 2.5.1 8/25 insiders 2017-08-25 18:03:51 -07:00
Matt Bierner
3aada0035a Move rename provider to use async 2017-08-25 17:44:27 -07:00
Matt Bierner
611e6984b2 Mark some ts extension settings as window
Fixes #33048
2017-08-23 17:21:17 -07:00
Matt Bierner
96de72d94e Defer code action edit creation until action is actually accepted 2017-08-23 17:21:17 -07:00
Matt Bierner
949b9f1a79 Support inferred TS/JS project per root
Fixes #30414
2017-08-22 17:26:33 -07:00
Johannes Rieken
7128eb085c style - use single-quoted imports 2017-08-21 16:45:32 +02:00
Benjamin Pasero
a87dd9c7ad fix imports to single quote 2017-08-21 11:27:57 +02:00
Matt Bierner
575cd205bc Fix ts/js colorizer results 2017-08-18 16:52:04 -07:00
Matt Bierner
d9cbd11d00 Pick up TS 2.5.1 insiders 2017-08-18 16:49:15 -07:00
Matt Bierner
a6e46b1b34 Make sure we use the normalized path in the task provider in all locations 2017-08-18 14:05:40 -07:00
Matt Bierner
26644f02fa Fix duplicate tsc tasks on windows
Fixes #31977
2017-08-18 14:01:29 -07:00
Matt Bierner
aebaece673 Only send TS plugins that have registered for the document's language
Addresses comment on c2ee6133aa
2017-08-17 17:19:19 -07:00
Matt Bierner
771ef9ede8 Show invalid version string if ts version cannot be determined 2017-08-17 15:13:31 -07:00
Matt Bierner
d8f5131aa4 Trigger rename after refactor in JS/TS
Fixes #32735
2017-08-17 15:13:31 -07:00
Simon Chan
0e18b0533f Automatically restart ts server after disableAutomaticTypeAcquisition config changed (#32412)
* Automatically restart ts server after disableAutomaticTypeAcquisition config changed

* Change to LF
2017-08-16 16:43:40 -07:00
Matt Bierner
c2ee6133aa Add plugins property on TSServer open requests
Part of https://github.com/Microsoft/TypeScript/issues/17151
2017-08-16 13:49:27 -07:00
Matt Bierner
73d8c3104c Remove js indent on if/for/while block
Fixes #30933 Fixes #32653
2017-08-16 12:58:21 -07:00
Martin Aeschlimann
d558497c07 Colorizer tests: Accept tests when only scopes have changed 2017-08-10 10:24:46 +02:00
Fu** Yeah
8bb4ffb4ef Fix Typo: langauge to language (#32077) 2017-08-07 11:53:20 -07:00
Matt Bierner
d2edc00d6f Fix some possible TSServer spawn issues (#32007)
**Bug**
A few users are seeing issues spaning the tsserver. The most common error seems to be ERRNO when spawning it

**Fix**
- Ensure we always try to set `env.PATH`
- Use `require.resolve` to check the existance of the `electronForkStart` helper before calling spawn
2017-08-04 16:07:15 -07:00
Dirk Baeumer
c4c66d8bc4 Fixes #31971: Disable TypeScript watch support 2017-08-03 14:41:36 +02:00
Christof Marti
a8ea82ddf3 Delete rogue line 2017-08-02 16:17:37 -07:00
Matt Bierner
19e7485691 Make sure we don't set diagnostics in js/ts when validation is disabled 2017-08-02 15:53:12 -07:00
Matt Bierner
6a49783e8e Make sure we only mark one selected TS version in the picker
Fixes #31876
2017-08-02 12:55:45 -07:00
Matt Bierner
1b399814a3 Configure Exclude status bar item should open config directly
Fixes #21215
2017-08-02 12:33:29 -07:00
Matt Bierner
80515175cb Always use fileSearch to pick up tsconfig.jsons
Fixes #31822
2017-08-01 18:54:06 -07:00
Matt Bierner
cdcadccc37 Don't show path in TS version selector for bundled TS. Fixes #31843 2017-08-01 17:21:08 -07:00
Matt Bierner
22a6fe5c9c Present all possible local ts versions in the selector
Fixes #31877
2017-08-01 17:11:48 -07:00
Matt Bierner
b3223a8416 VSCode -> VS Code 2017-08-01 15:28:01 -07:00
Matt Bierner
a3b67392fd Fix tsconfigs not being piced up properly after rename
Fixes #31858
2017-08-01 14:27:15 -07:00
Matt Bierner
20519a8fe1 Fix possible race condition in tsconfig provider
Fixes #31847
2017-08-01 14:27:15 -07:00
Matt Bierner
31d1c4c4ca Show error message in TS Version picker when TS verison cannot be loaded
Fixes #31846
2017-08-01 13:44:11 -07:00
Matt Bierner
4ecd158b1a Use async for TS code action provider 2017-07-31 14:27:15 -07:00
Matt Bierner
8eb1c4575c Allow selecting invalid TypeScript versions if you have configured these in the typescript.tsdk setting
Fixes #31716
2017-07-31 13:55:54 -07:00
Matt Bierner
b0574eba0d Use async in workspaceSymbolProvider 2017-07-31 13:55:54 -07:00
Matt Bierner
a8d0740cb7 Cleaning up version provider 2017-07-31 11:39:47 -07:00
Matt Bierner
e9764d95bc Fix JS/TS indentation for if (...) | {} case
Fixes #30933
2017-07-31 11:39:47 -07:00
Matt Bierner
78ce031581 Use label instead of path for typescript task info 2017-07-31 08:06:46 -07:00
Matt Bierner
36a1b225d8 Use async for hover provider 2017-07-31 08:06:46 -07:00
Matt Bierner
bb2e869489 Show multiple node_modules versions in TSVersion picker 2017-07-24 18:01:23 -07:00
Matt Bierner
0b1f37600b Fix tsconfig provider not setting workspace for active file 2017-07-24 13:39:12 -07:00
Matt Bierner
5f5e17bc91 Tsconfig provider handle workspace folder changes 2017-07-21 15:54:02 -07:00
rebornix
ed20f81b22 Fix #29972. We should not adjust indent on comments. 2017-07-20 21:17:04 -07:00
Matt Bierner
a48dd08f78 First cut supporting tsconfig task provider for multiroot workspaces
part of #30415
2017-07-20 18:30:11 -07:00
Matt Bierner
2153a47d22 Move formatting provider registration logic into a manager that enables or disables based on config 2017-07-20 17:37:29 -07:00
Matt Bierner
28f5fda049 Don't register language configuration for TS plugin languages 2017-07-20 17:12:27 -07:00
Matt Bierner
fe59149dc0 Move jsx tags mode language config out of language provider 2017-07-20 17:12:27 -07:00