Commit Graph

1472 Commits

Author SHA1 Message Date
Paul van Brenk 8955d7ba57 More refactoring 2015-04-22 18:09:55 -07:00
Paul van Brenk f8424d0b0c Minor clean up to make it more readable. 2015-04-22 18:00:09 -07:00
Paul van Brenk 5c44a0ff3e Improve error message when encountering an invalid tsconfig.json file. 2015-04-22 15:58:04 -07:00
Paul van Brenk b1472d99f2 Add error handling. 2015-04-22 14:27:05 -07:00
Paul van Brenk 80ae52b7e9 expose the config file processing throught the LS and
add a callback to enumerate files in a directory
2015-04-21 13:24:02 -07:00
Cyrus Najmabadi 8e757c044e Merge branch 'master' into jsSigHelp
Conflicts:
	src/services/outliningElementsCollector.ts
	src/services/services.ts
2015-04-14 14:22:48 -07:00
Mohamed Hegazy db492f1c10 Merge pull request #2747 from Microsoft/FixGetOccurances
Fix getOccurances filter check
2015-04-14 10:33:03 -07:00
Mohamed Hegazy 4e42054277 Fix #2725: Add check for parent before using it 2015-04-13 16:28:06 -07:00
Mohamed Hegazy a72a22edbe Fix getOccurances filter check 2015-04-13 13:19:17 -07:00
Mohamed Hegazy b416bf2d80 move check outside switch statement 2015-04-13 12:20:25 -07:00
Guillaume Salles 7119165bd0 Fix issue #2677 : Labels should not get quick info 2015-04-12 16:04:32 -04:00
Mohamed Hegazy 13ef271831 use @internal comment consistenlly 2015-04-10 16:32:02 -07:00
Mohamed Hegazy 431dce7b84 Merge branch 'master' into APIReviewCleanup
Conflicts:
	src/services/outliningElementsCollector.ts
2015-04-10 16:11:03 -07:00
Mohamed Hegazy f231d6aba8 Merge pull request #2700 from Microsoft/removeOptionalTypeOnExportDefault
Remove optional type on export default
2015-04-10 15:31:31 -07:00
Cyrus Najmabadi 024d653efc Rename type. 2015-04-09 22:27:18 -07:00
Ron Buckton f318515f70 Merge pull request #2664 from Microsoft/fixDecoratorFormatting
Fixes some formatting for decorators
2015-04-09 17:42:56 -07:00
ahmad-farid 01d945b18b Merge pull request #2612 from ahmad-farid/OCNoTest2
Adding outlining for comments to allow collapsing in VS #698
2015-04-09 17:35:25 -07:00
Mohamed Hegazy a5a83c1cf7 Merge branch 'master' into removeOptionalTypeOnExportDefault 2015-04-09 16:35:14 -07:00
Mohamed Hegazy afe35c810a Revert "Support an optional type annotation on export default statement"
This reverts commit a6a8a96249.
2015-04-09 16:32:23 -07:00
Ahmad Farid a34801f30b merging with master 2015-04-09 16:05:06 -07:00
Cyrus Najmabadi fc512b284b Use modules with const members. 2015-04-09 15:11:26 -07:00
Cyrus Najmabadi 9627746ba9 Add the 'none' kind. 2015-04-09 14:49:00 -07:00
Cyrus Najmabadi 73121ce451 Distinguish written vs read references. 2015-04-09 14:37:21 -07:00
Mohamed Hegazy 1c91c2c5d0 Mark non-public API surface with the /* @internal */ comment 2015-04-09 14:18:14 -07:00
Cyrus Najmabadi 585c6aaf65 CR feedback. 2015-04-08 23:24:51 -07:00
Cyrus Najmabadi 575ce27119 Allow the host to indicate which files it would like highlighting spans for. 2015-04-08 23:16:16 -07:00
Cyrus Najmabadi e5d0ffab15 Use the fileName that is in scope. 2015-04-08 22:28:40 -07:00
Cyrus Najmabadi 0d233fdd17 No need to tweak spans in syntactic highlights. 2015-04-08 22:26:34 -07:00
Cyrus Najmabadi 02778b19b4 Get semantic document highlights as well through the new API. 2015-04-08 22:24:59 -07:00
Cyrus Najmabadi 6dee32a703 Extract code for getting syntactic document highlights into its own function. 2015-04-08 21:59:50 -07:00
Ron Buckton 609036a2d6 PR feedback and baseline updates 2015-04-08 17:06:00 -07:00
Cyrus Najmabadi 4054eca462 Merge branch 'master' into jsSigHelp
Conflicts:
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_linter.types.pull
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/APISample_watcher.types
2015-04-08 02:12:53 -07:00
Ron Buckton eec39c2fc5 Additional rule for spacing between decorator on same line as its declaration 2015-04-07 17:23:52 -07:00
Ron Buckton 1a1bb34864 Added rules for spacing around decorators, computing the undecorated start line of a node 2015-04-07 16:15:02 -07:00
Cyrus Najmabadi 78a79140b3 Get sighelp for arbitrary functions working in .js files. 2015-04-06 14:10:04 -07:00
Mohamed Hegazy ccb562385d Use sys.newLine in transpile when possibel 2015-04-06 14:05:44 -07:00
Ahmad Farid 7fcbb8c9a0 adding unit tests fot block comments outlining 2015-04-03 19:21:27 -07:00
Cyrus Najmabadi 766d34d0dc Rename variables to be consistent. 2015-04-03 16:55:54 -07:00
Cyrus Najmabadi 1178e84a68 Don't cache the typechecker at the LS level. Just get it when needed from the program. 2015-04-03 16:50:32 -07:00
Cyrus Najmabadi 4cdc97094f Produce a map of named declarations instead of a flat list.
Produce a map of named declarations instead of a flat list.
2015-04-03 16:21:24 -07:00
Ahmad Farid 5543d5456c removing extra reference header 2015-04-03 14:11:18 -07:00
Ahmad Farid d94c7bf978 Merge branch 'master' of https://github.com/Microsoft/TypeScript into outlineComments 2015-04-02 16:55:03 -07:00
Ahmad Farid 64fbf94940 outlinging comments v0.2 2015-04-02 16:23:22 -07:00
Paul van Brenk 548e33c663 Merge branch 'master' into spelling 2015-04-02 15:37:37 -07:00
Paul van Brenk 0bf65e4c67 Fix annoying spellin errors. 2015-04-02 15:36:45 -07:00
Cyrus Najmabadi 5ecfafd32b PR feedback. 2015-04-02 15:14:41 -07:00
Cyrus Najmabadi 0f079632b9 PR feedback. 2015-04-02 14:58:43 -07:00
Ahmad Farid 27f349ca7d outlining Comments v0.1 4/2 2015-04-02 14:38:22 -07:00
Cyrus Najmabadi 6f250703ff Merge branch 'master' into JSLS
Conflicts:
	src/services/services.ts
2015-04-02 14:22:16 -07:00
CyrusNajmabadi 35d8536c75 Merge pull request #2588 from Microsoft/classExpr
Class declarations should be block scoped.
2015-04-02 14:13:25 -07:00