Commit Graph

235 Commits

Author SHA1 Message Date
Zhengbo Li
166f95c677 Merge pull request #8311 from zhengbli/reportTsconfigError
[API] Add event for reporting tsconfig errors
2016-05-05 13:11:30 -07:00
zhengbli
4d94ae8749 Wipe out the cached script content if failed to read it 2016-04-29 02:13:50 -07:00
zhengbli
5da620efe4 Add config file diag related types to protocol 2016-04-26 15:31:41 -07:00
zhengbli
c14362e2ae Add event for reporting tsconfig errors 2016-04-26 12:53:38 -07:00
Zhengbo Li
aca769f8c4 Remove hard-coded new line character option 2016-04-25 15:24:34 -07:00
Zhengbo Li
0f18cf8bb7 Merge pull request #8196 from zhengbli/fileWatcherBackToPolling
Change file watching back to polling.
2016-04-25 11:42:26 -07:00
Mohamed Hegazy
39d64a2709 Add configured projects to the list of projects when searching 2016-04-23 14:10:26 -07:00
zhengbli
a09b001c61 Add env to allow switch to non-polling if really wants to 2016-04-22 11:54:09 -07:00
zhengbli
615dfa88f9 Merge branch 'master' of https://github.com/Microsoft/TypeScript into i4420
# Conflicts:
#	src/server/session.ts
2016-04-21 15:17:46 -07:00
zhengbli
1401e504ac Provide server response when reload is done 2016-04-21 15:14:58 -07:00
zhengbli
8709975f0b Merge branch 'master' of https://github.com/Microsoft/TypeScript into i2531
# Conflicts:
#	src/server/session.ts
2016-04-21 14:47:31 -07:00
Zhengbo Li
3a8ebf109f Merge pull request #7954 from zhengbli/supportScriptKindOnServer
Add API support for LS host to specify script kind of a file to open
2016-04-19 15:41:47 -07:00
zhengbli
cc58e2d7eb Use string literal type for script kind names 2016-04-19 15:20:05 -07:00
zhengbli
576e5f8055 So we are back to polling. 2016-04-19 14:25:57 -07:00
zhengbli
19596deb7f remove extra deduplicate 2016-04-18 16:20:45 -07:00
Paul van Brenk
96deb553d5 Script side implementation for Brace Completion. (#7587)
* Script side implementation for Brace Completion.

This needs updated Visual Studio components to work.

* Changed CharacterCodes to number, to keep the API simple

* CR feedback

* CR feedback and more JSX tests

* Swapped 2 comments

* typo
2016-04-15 11:38:42 -07:00
Daniel Rosenwasser
5b0b09ca62 Merge pull request #8056 from weswigham/remove-custom-no-null-rule
Remove custom no-null rule, use tslint builtin no null rule
2016-04-13 00:28:24 -07:00
Wesley Wigham
37a0e8f502 Remove custom no-null rule, use tslint builtin no null rule 2016-04-13 02:09:14 -04:00
zhengbli
db6f5bd832 Rename the forEachProject function to something sane 2016-04-08 12:53:19 -07:00
zhengbli
a2035a572e Add API support for LS host to specify script kind of a file to open 2016-04-07 23:01:20 -07:00
zhengbli
fb0d720da7 refactor cr 2016-04-07 14:07:14 -07:00
Vladimir Matveev
e2a23fd598 remove compilationRoot parameter, use typesRoot/config file location as a root when computing primary locations 2016-04-05 16:33:11 -07:00
Vladimir Matveev
aaaa9c0895 expose type reference resolution for external consumption 2016-04-01 12:41:01 -07:00
Vladimir Matveev
55cbdc9623 Merge pull request #7584 from Microsoft/LS-rename-getSourceFile
mark LanguageService.getSourceFile as internal and rename it
2016-03-24 14:05:49 -07:00
zhengbli
e9b514cf8a Use fileName instead of Path when dealing with file systems directly 2016-03-23 12:49:34 -07:00
Vladimir Matveev
200f162bf6 rename LanguageService.getSourceFile to LanguageService.getNonBoundSourceFile and mark it as internal 2016-03-18 11:27:21 -07:00
Bill Ticehurst
59d5df0a56 AllowJS files in tsserver when no project is given
(cherry picked from commit 16d7656160)
2016-03-10 12:59:39 -08:00
zhengbli
2835e259aa Enable navigateTo on all projects for a file 2016-03-02 15:50:00 -08:00
zhengbli
7663a96a7b Enable findReferences on all projects for a file 2016-03-02 15:37:35 -08:00
zhengbli
55f4b02ed4 Enable rename on all projects for a file 2016-03-02 14:25:55 -08:00
Josh Soref
bb85817d7d spelling fixes for src
Fixes:
* actual
* algorithm
* analyze
* applies
* collapse
* contrast
* definition
* diagnostic
* different
* displayed
* display
* documentation
* finite
* function
* highlight
* initialize
* intentional
* interface
* invariants
* items
* keystroke
* language
* literal
* original
* output
* position
* receive
* recorder
* response
* sequence
* simplicity
* statement

Changing a \ to a /
2016-02-25 20:08:44 +00:00
Vladimir Matveev
26336cd54b fix linter issues 2016-02-19 22:32:05 -08:00
jramsay
6b05ad7627 Merge pull request #7107 from Microsoft/ScriptBlockSupport
Salsa: adding ScriptKind to ensure script blocks are processed as JS.
2016-02-19 14:40:18 -08:00
Jason Ramsay
a71fa457bd Salsa: adding ScriptKind to ensure script blocks (.html, .aspx, .ascx, etc) are processed as JS 2016-02-16 17:37:24 -08:00
Daniel Rosenwasser
c5d5d13e61 Remove the 'module' option from 'tsconfig.json' files. 2016-02-12 17:28:10 -08:00
Ryan Cavanaugh
6303d8c723 Remove incorrect changes from server.ts 2016-01-22 15:13:54 -08:00
Ryan Cavanaugh
64c2d66ccb Merge branch 'master' into jsDocFinal 2016-01-22 15:10:02 -08:00
Zhengbo Li
d64b603e4b revert breaking changes 2016-01-20 16:53:15 -08:00
zhengbli
b5ed7f3eda Add support for jsconfig.json in language service 2016-01-19 16:30:52 -08:00
zhengbli
c2f453b8fb Fix the getCanonicalFileName in sys.ts and also check null value in file watcher call back 2016-01-15 14:58:04 -08:00
Zhengbo Li
d5d7a2a2dc Merge pull request #6026 from zhengbli/i6016
Fix too many watcher instances issue
2016-01-14 11:28:44 -08:00
Zhengbo Li
dbfe862dbd not casting relative filenames in 'tsc watch' to Path 2016-01-14 00:34:43 -08:00
Ryan Cavanaugh
8e3daa4b07 Merge remote-tracking branch 'upstream/master' into jsDoc2 2016-01-07 15:57:30 -08:00
Mohamed Hegazy
54aedf035d Merge pull request #6202 from SaschaNaz/formatTemplateOptional
Optionally insert spaces between template string braces
2016-01-07 13:45:29 -08:00
Ryan Cavanaugh
5eb1cc44f6 Merge remote-tracking branch 'upstream/master' into jsDoc2 2016-01-06 13:51:45 -08:00
Ryan Cavanaugh
e223b2e53c Clean up unrelated changes 2016-01-06 12:47:26 -08:00
Vladimir Matveev
36af815bba add optional 'directoryExists' method to hosts to reduce amount of disk probings that are known to fail 2016-01-06 12:37:52 -08:00
Nathan Shively-Sanders
abf9961528 Merge branch 'master' into lint-nested-++ 2015-12-22 16:12:07 -08:00
Nathan Shively-Sanders
401a393519 Fix ++/-- lint 2015-12-22 15:45:00 -08:00
Kagami Sascha Rosylight
e97118e569 InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces 2015-12-22 18:30:07 +09:00