Mohamed Hegazy
79a1457491
Ensure that all LS requests are to an exiting soruceFile, and if we fail throw an exception
2015-01-30 18:28:15 -08:00
Mohamed Hegazy
9a6e3ad52d
Merge branch 'master' into LSAPICleanup
...
Conflicts:
src/services/services.ts
2015-01-30 16:29:45 -08:00
Daniel Rosenwasser
ab9ce1e9e6
Merge pull request #1873 from Microsoft/bumpTo1.5
...
Bump version to 1.5 (compiler)/0.5 (services)
2015-01-30 15:22:05 -08:00
Daniel Rosenwasser
394d6f4f0e
Bump version to 1.5.
2015-01-30 12:17:18 -08:00
Vladimir Matveev
a5ce3e126d
Merge pull request #1792 from Microsoft/getScriptLexicalStructureWithbindingPatterns
...
handle binding patterns correctly when getting script lexical structure
2015-01-29 19:42:26 -08:00
Mohamed Hegazy
bacc4a7095
Merge pull request #1672 from DickvdBrink/investigate-unused-code
...
Investigate unused code
2015-01-29 11:29:18 -08:00
Mohamed Hegazy
9f977af9cc
Shorten library to lib in getDefaultLibFilePath for consistency
2015-01-29 11:22:00 -08:00
Mohamed Hegazy
fd3562b60f
Update ServicesVersion
2015-01-28 17:13:26 -08:00
Mohamed Hegazy
d593902d5e
Add documentation to DocumentRegistry
2015-01-28 11:28:34 -08:00
Mohamed Hegazy
e503f38272
Remove unused IScriptSnapshot.getLineStartPositions
2015-01-28 10:48:21 -08:00
Mohamed Hegazy
fe836c5639
make documentRegistry optional argument to createLanguageService
2015-01-28 10:37:35 -08:00
Mohamed Hegazy
d6decf82e1
Expose underlying program from the LS
2015-01-28 00:13:28 -08:00
Mohamed Hegazy
9628191a14
Allow the LS API to resolve referenced files
2015-01-28 00:08:05 -08:00
Mohamed Hegazy
1945e119f2
remove unused file
2015-01-27 21:39:01 -08:00
Mohamed Hegazy
1f9132259a
Merge branch 'master' into LSAPICleanup
2015-01-27 20:12:13 -08:00
Mohamed Hegazy
04d8f5af12
Merge branch 'master' into LSAPICleanup
...
Conflicts:
src/services/services.ts
2015-01-27 20:11:16 -08:00
Sheetal Nandi
a43bb47d7b
Merge pull request #1697 from Microsoft/docCommentUnion
...
Fixes the duplicate doc comment display in case of union property
2015-01-27 14:21:39 -08:00
Sheetal Nandi
1638ae7518
Updated comments and formatting as per review feedback.
2015-01-27 10:52:40 -08:00
Mohamed Hegazy
0257acebd3
Respond to code review comments
2015-01-26 16:45:34 -08:00
Vladimir Matveev
17b19bf465
Merge pull request #1779 from Microsoft/scopeOfUnionProperties
...
handle union properties in when doing getOccurences\findAllReferences
2015-01-26 15:21:48 -08:00
Vladimir Matveev
f4ca318c39
add binding elements from variable declaration into script lexical structure
2015-01-24 00:17:55 -08:00
Jason Freeman
bd29ca8389
Merge branch 'master' into computedProperties
2015-01-23 18:49:52 -08:00
Vladimir Matveev
b05f2bf1a3
handle binding patterns correctly when getting script lexical structure
2015-01-23 17:08:30 -08:00
Vladimir Matveev
379d03b5a7
use nameTable - services layer storage of identifiers in the file
2015-01-22 18:20:40 -08:00
Vladimir Matveev
0940d3bb3b
handle union properties in when doing getOccurences\findAllReferences
2015-01-22 17:16:18 -08:00
Jason Freeman
b022ccd430
Merge branch 'master' into computedProperties
...
Conflicts:
src/compiler/checker.ts
2015-01-21 11:03:24 -08:00
Vladimir Matveev
7f749909da
Merge pull request #1746 from Microsoft/formattingTemplateLiterals
...
fixed smart indentation\formatting in template literals
2015-01-20 17:54:47 -08:00
Anders Hejlsberg
bb33167f7e
Merge pull request #1692 from Microsoft/tsconfig
...
Support for tsconfig.json files
2015-01-20 17:08:26 -08:00
Anders Hejlsberg
45e700e515
Adding src/compiler/tsconfig.json and src/services/tsconfig.json
2015-01-20 16:28:57 -08:00
Vladimir Matveev
8497667f33
drop trailing trivia prior to rescanning it
2015-01-20 14:44:24 -08:00
Vladimir Matveev
a6d374ee21
fixed smart indentation\formatting in template literals
2015-01-20 14:07:01 -08:00
Mohamed Hegazy
fe96258920
revert serviceVersion change as the API is still compatible
2015-01-20 11:06:21 -08:00
Mohamed Hegazy
01267bc1f1
Merge branch 'master' into LSAPICleanup
...
Conflicts:
src/services/services.ts
2015-01-19 20:18:41 -08:00
Mohamed Hegazy
000206fd8f
Update servicesVersion
2015-01-19 20:03:35 -08:00
Jason Freeman
e317767966
Consolidate getSuperContainer
2015-01-19 16:37:14 -08:00
Jason Freeman
4cc2722700
Disallow this in computed properties in classes
2015-01-19 16:37:10 -08:00
Mohamed Hegazy
8d5b65a533
Merge pull request #1654 from csnover/fix-1653
...
Use system line ending in services compiler host
2015-01-19 15:54:27 -08:00
Colin Snover
d736014f35
Expose optional getNewLine for language service hosts
...
Fixes #1653 .
2015-01-19 05:02:36 +00:00
Mohamed Hegazy
c9b1309025
Gracefully handel getChangeRange in Scriptsnapshot.fromString
2015-01-16 21:33:53 -08:00
Mohamed Hegazy
66f8257fc8
Remove isOpen from souceFile and LanugageServiceHost interfaces
2015-01-16 21:23:51 -08:00
Sheetal Nandi
c46662fa72
Fixes the duplicate doc comment display in case of union property
...
Handles #1237
2015-01-16 12:58:10 -08:00
Mohamed Hegazy
93466517ad
Inline the return of createCompilerHost
2015-01-14 17:22:15 -08:00
Mohamed Hegazy
3434aa0bdd
Remove getDefaultLibFilename from the LS host interface as its result is never honored by the LS.
...
The LS operate only on a fixed list of files initialized by the host's getScriptFileNames(), if a file is not in this list, it will not be queried from the host, rather considered a missing file. Thus the result of getDefaultLibFilename()is either in the list, or will be ignored.
2015-01-14 17:20:27 -08:00
Mohamed Hegazy
adee215e6c
Make logger methods optional on the language service host
2015-01-14 17:05:50 -08:00
Mohamed Hegazy
3c59b9fe9c
Add getDefaultLibraryFilePath to retrive the default lib file path for node package consumers
2015-01-14 15:52:53 -08:00
Dick van den Brink
868cbb6d76
Removed services/compiler/emitter.ts
...
This one is replaced by src/compiler/emitter.ts
2015-01-14 23:22:43 +01:00
Dick van den Brink
b4bab03353
Removed services/compiler/optionsParser.ts
...
Code is also defined here: src\compiler\tsc.ts
2015-01-14 23:22:28 +01:00
Dick van den Brink
186c04cebc
Remove now unused diagnostics keys
2015-01-14 23:22:04 +01:00
Dick van den Brink
e69573b479
compiler\tsc.ts isn't used
...
DiagnosticCode.Specify_module_code_generation_0_or_1 doesn't even exist and it doesn't understand es6
2015-01-14 23:21:15 +01:00
Dick van den Brink
30fa715c2c
Remove src\services\compiler\diagnostics.ts
...
It contains the Logger interface but src\services\services.ts is the one which is used (also has more methods)
2015-01-14 23:20:38 +01:00