Nathan Shively-Sanders and GitHub
6bd1da20c9
Rename JS-specific concepts ( #26795 )
...
* Rename JS concepts
1. Assignment declaration -- an assignment that is treated like a
declaration. Previously called [JS] special (assignment|declaration),
among other things.
2. Expando -- a value that can be used as a target in assignment
declarations. Currently, a class, function or empty object literal.
Functions are allowed in Typescript, too. Previously called a JS
container, JS initializer or expando object.
3. JavaScript -> Javascript. This is annoying to type, and looks like
'Java Script' in a camelCase world.
Everything is a pure rename as far as I know. The only test change is
the API baselines, which reflect the rename from SymbolFlags.JSContainer
to SymbolFlags.Assignment.
* Remove TODO
* Rename Javascript->JS
Note that this introduces a variable name collision in a couple of
places, which I resolved like this:
```ts
const isInJavascript = isInJSFile(node);
```
2018-09-12 10:44:46 -07:00
Ron Buckton
5d79704931
Sanitize module resolution logs for typesVersions entries
2018-09-11 14:19:28 -07:00
Sheetal Nandi and GitHub
08c970a03d
Merge pull request #26865 from chrissantos1995/bugs/fix-empty-files-diagnostics
...
Fix empty files diagnostics reporting
2018-09-11 11:25:29 -07:00
Ron Buckton
a255d9a163
Merge branch 'master' into typesVersions
2018-09-07 13:52:12 -07:00
christian
ec72f4751d
Add location info to empty lists diagnostics when tsconfig file exists
2018-09-06 20:40:02 -04:00
Sheetal Nandi
88d5b04c70
Lowercase type reference directives when determining to reuse program structure (just like when we create new program)
2018-09-06 13:26:44 -07:00
Ryan Cavanaugh and GitHub
270ea77815
Merge pull request #26308 from ajafff/checkresolvedmodule
...
unittests/moduleResolution: actually assert in checkResolvedModule
2018-09-05 17:42:33 -07:00
Ryan Cavanaugh and GitHub
d265fbf7f7
Merge pull request #26192 from ajafff/createprogram-nochecker
...
createProgram: don't use TypeChecker
2018-09-05 11:49:57 -07:00
christian
c87ca2f1ab
Fix diagnostic reporting for empty files in tsconfig
2018-09-03 22:57:26 -04:00
Sheetal Nandi and GitHub
45101491c0
Merge pull request #26782 from Microsoft/reportFileChangeDetectedOnce
...
Report file change detected only once when save takes place multipletimes before timeout
2018-08-31 15:26:03 -07:00
Ryan Cavanaugh and GitHub
cbdfc01e25
Merge pull request #26794 from samlanning/fix-equalownproperties
...
Housekeeping: Fix equalOwnProperties
2018-08-31 13:58:25 -07:00
Sam Lanning
65fa0128bb
Add test for ts.equalOwnProperties
2018-08-30 14:08:20 -07:00
Sheetal Nandi
496b18ef5e
Report file change detected only once when save takes place multiple times before timeout
2018-08-30 11:38:34 -07:00
Benjamin Lichtman
f4765a6ea3
Fix error introduced by rebase
2018-08-29 15:56:22 -07:00
Benjamin Lichtman
3ad6a66e69
Add tests and validate diagnostic spans
2018-08-29 15:53:05 -07:00
Benjamin Lichtman
cc4e1f833e
Look for correct description
2018-08-29 15:50:34 -07:00
Benjamin Lichtman
d21c078363
Test for existence of diagnostic when running tests
2018-08-29 15:49:48 -07:00
Ron Buckton
210de32933
Merge branch 'master' into typesVersions
2018-08-29 13:26:13 -07:00
Sheetal Nandi
90abaa1c45
Reset the build queue correctly
...
Fixes issue reported in #26545#issuecomment-416961260
2018-08-29 13:10:55 -07:00
Sheetal Nandi
d6ff1a7241
Move parsing of build options to commandLineParsing so it can be tested and it lines with other commandline parsing
2018-08-29 12:52:27 -07:00
Sheetal Nandi and GitHub
9100047f84
Merge pull request #26723 from Microsoft/buildCleanSourcemaps
...
Add js source maps to list of outputs when doing --build
2018-08-29 10:21:25 -07:00
Nathan Shively-Sanders and GitHub
30f611b055
Add survey event ( #26455 )
...
* Start adding survey event
* Add surveyReady event
* Remove old notes
* Move event, simplify type, add test
1. Move the survey event to sendProjectTelemetry so that it happens on
open instead of on editing tsconfig.
2. Remove URL from the survey type; VS code should control this
information.
3. Add test based on large files event test. I'm not sure it's in the
right place, though.
* Fix tests and update API baseline
* Split survey sending from telemetry
Based on tests requested during review.
* Add additional assertion
2018-08-28 19:57:39 -07:00
Ron Buckton
5f6a2cbf69
Merge branch 'master' into typesVersions
2018-08-28 17:37:23 -07:00
Sheetal Nandi
723e64ba3b
Add js source maps to list of outputs when doing --build
...
Fixes #26619
2018-08-28 16:17:10 -07:00
Sheetal Nandi
52fef42baa
Merge branch 'master' into lazyConfiguredProjectsFromExternalProject
2018-08-28 14:49:00 -07:00
Sheetal Nandi
fc90b8f98b
lazyConfiguredProjectsFromExternalProject as userpreference instead of command line option
2018-08-28 14:41:22 -07:00
Ron Buckton
04a524511e
Add semver range parsing support
2018-08-28 14:11:01 -07:00
Sheetal Nandi
96e61407c5
Add option --lazyConfiguredProjectsFromExternalProject to enable lazy load of configured projects referenced by external project
...
Fixes #26696
2018-08-28 12:49:09 -07:00
Sheetal Nandi and GitHub
530a530ac0
Merge pull request #26590 from Microsoft/buildRefactoring
...
Refactor ts build and report watch status when doing --build --watch
2018-08-28 11:43:35 -07:00
Andy and GitHub
4cf5774c5e
Add tsserver test for completions and avoid excess properties ( #25622 )
2018-08-27 16:04:02 -07:00
Ron Buckton
b9afdadf71
Remove jsTypings/semver.ts, add unit tests and logging
2018-08-22 12:38:16 -07:00
Sheetal Nandi
cec1b0a717
Report error summary from the queue.
2018-08-21 17:30:51 -07:00
Sheetal Nandi
0831edab36
Keep only errors starting on new screen
2018-08-21 13:41:32 -07:00
Sheetal Nandi
dedb2aefc0
Combine buildHost methods into SolutionBuilderHost's reportDiagnostic and reportStatus
2018-08-21 13:41:32 -07:00
Sheetal Nandi
26b4b6c9ad
Create api with watchHost to include in solution builder host
2018-08-21 13:41:32 -07:00
Sheetal Nandi
0c4003e735
Use SolutionBuilderHost instead of using compilerhost for solution builder
2018-08-21 13:41:31 -07:00
Sheetal Nandi
17ee9231b7
Write first test with --build and --watch
2018-08-21 13:41:30 -07:00
Andy and GitHub
435a12e476
Remove some duplicate code in convertToAsyncFunction unit tests ( #26527 )
2018-08-17 18:41:18 -07:00
Wesley Wigham and GitHub
d58b1f664b
mark error type in baselines very not-aggressively ( #26346 )
2018-08-17 15:45:14 -07:00
Andy and GitHub
60b8f8c206
Remove unnecessary callback in runBaseline ( #26500 )
2018-08-17 12:51:30 -07:00
Sheetal Nandi and GitHub
0f97620b9c
Merge pull request #25884 from Microsoft/optimizeOpenExternalProject
...
Delay load configured project referenced from external project when opening it
2018-08-17 12:26:14 -07:00
Sheetal Nandi
7e117f2707
Check large file size only for non ts files
2018-08-13 13:30:31 -07:00
Sheetal Nandi and GitHub
f2011ce755
Merge pull request #26197 from Microsoft/largeFileEvent
...
Send event on referencing large file
2018-08-13 11:14:22 -07:00
Sheetal Nandi and GitHub
fe387cc7f0
Merge pull request #26377 from Microsoft/moduleResolutionWithSymLinks
...
Use original path from resolved module cache when available.
2018-08-10 22:27:38 -07:00
Sheetal Nandi and GitHub
c5b74db78b
Merge pull request #26200 from Microsoft/watchWithStrict
...
Refresh semantic diagnostics when compiler options affecting semantic diagnostics generation changes
2018-08-10 16:15:37 -07:00
Elizabeth Dinella and GitHub
421730a68d
Refactoring promises returning functions to use async and await ( #26373 )
2018-08-10 16:11:45 -07:00
Sheetal Nandi
82d4cccf53
Use original path from resolved module cache when available.
...
Fixes #26273
Thanks to @ajafff, for partial fix and test (#26310 )
2018-08-10 16:11:38 -07:00
Sheetal Nandi and GitHub
c8e10a9a66
Merge pull request #26296 from ajafff/modulenameresolver-cache
...
fix moduleNameResolver cache
2018-08-10 14:36:54 -07:00
Sheetal Nandi and GitHub
9ba224d3b0
Merge pull request #26305 from ajafff/common-prefix
...
moduleNameResolver: fix getCommonPrefix
2018-08-10 13:35:24 -07:00
Klaus Meinhardt
3469b62be6
review comments
2018-08-10 22:25:27 +02:00