Commit Graph

2087 Commits

Author SHA1 Message Date
Jason Ramsay a7a13296e6 CR feedback 2016-03-08 17:40:03 -08:00
zhengbli 830a10fc92 Unify the use of "filter", "map" and "Object.keys" functions 2016-03-08 15:23:21 -08:00
Jason Ramsay 8b9e351525 - renaming resolveTypeDefinitions to discoverTypings for consistency with jsTypings
- simplifying typingOptions parsing after associated managed host changes
2016-03-08 15:21:05 -08:00
Jason Ramsay 0de8f9eeb2 Using removeComments from commandLineParser. This is more robust as it removes both single and multiline comments 2016-03-08 15:20:51 -08:00
Jason Ramsay 5cdb97cbfd Adding devDependencies to the list of typings to merge 2016-03-08 15:20:37 -08:00
Jason Ramsay cc3d4d3291 Addressing CR comments
- Adding check to ensure TypingOptions 'include' and 'exclude' arrays are composed of strings
- Allow leading whitespace when removing comments from json
2016-03-08 15:17:09 -08:00
Jason Ramsay 2f90271ca6 Fixing lint issues caught by Travis CI build
(Rules appear to be more strict - this was not caught on a local lint run)
2016-03-08 15:12:29 -08:00
Jason Ramsay 8a29926d5c Salsa: JS support for discovering and acquiring d.ts files
(Mostly isolating VS host changes from PR#6448)
2016-03-08 14:42:42 -08:00
Jason Ramsay da6059871f Applying getScriptKindFRomFileName to HostFileInformation before we set the ScriptKind.
If the host returns ScriptKind 'Unknown' or 'undefined' we attempt to get the correct ScriptKind based on the file name.
If this cannot be determined we return the default ScriptKind 'TS'
2016-03-08 14:35:48 -08:00
Jason Ramsay 1c990bd242 Applying getScriptKindFromFileName to HostFileInformation before we set the ScriptKind.
If the host returns ScriptKind 'Unknown' or 'undefined' we attempt to get the correct ScriptKind based on the file name.
If this cannot be determined we return the default ScriptKind 'TS'
2016-03-08 14:35:01 -08:00
Jason Ramsay f8353d4429 Addressing CR comments
- Adding ScriptKind to SourceFile
- Only update ScriptKind on creation, on update use the SourceFile's scriptKind
- If scriptKind is unknown, default to ScriptKind.Ts
- Replacing try-catch with in this.shimHost
2016-03-08 13:48:41 -08:00
Jason Ramsay cc02a805a9 Removing trailing whitespace from services.ts 2016-03-08 13:44:02 -08:00
Jason Ramsay 9b27c148e9 Fix to test harness and addressing CR comments 2016-03-08 13:43:24 -08:00
Jason Ramsay 83af10b05c Salsa: adding ScriptKind to ensure script blocks (.html, .aspx, .ascx, etc) are processed as JS 2016-03-08 13:43:02 -08:00
Bill Ticehurst 4a67dc5e08 Dont default to CommonJS modules for ES6 target 2016-02-11 11:53:10 -08:00
Bill Ticehurst b791fd89cd Changed node_modules and module defaults 2016-02-10 18:45:44 -08:00
Ryan Cavanaugh 569f0b261c ❤️ linter 2016-02-05 10:42:05 -08:00
Ryan Cavanaugh 909e0b1903 Always show file tokens in JS completion lists
Fixes #6654
2016-02-05 10:42:00 -08:00
Ryan Cavanaugh c6e18a9fcf Fix case when position === 0
(cherry picked from commit 1231c9e145)
2016-02-04 11:28:37 -08:00
Ryan Cavanaugh f84bbcdf59 Don't show the currently-completing thing at the cursor in JS files
Fixes #6693

(cherry picked from commit 124bd517e7)
2016-02-04 11:28:29 -08:00
Vladimir Matveev b14685d340 Merge pull request #6798 from Microsoft/dottedNamesInJsx
properly classify dotted tag names in jsx
2016-02-01 17:02:26 -08:00
Vladimir Matveev f55f28f82f Merge pull request #6789 from Microsoft/transpileJs
suppress validation of output paths in transpile scenarios
2016-02-01 11:29:04 -08:00
Mohamed Hegazy 2453e54f93 Revert "Update version"
This reverts commit add91052bb.
2016-01-27 18:50:29 -08:00
Mohamed Hegazy add91052bb Update version 2016-01-25 17:08:15 -08:00
Paul van Brenk 700af6a2ce Fix up todo in jsdoccomment template code. 2016-01-24 16:08:45 -08:00
Zhengbo Li ea94a05feb Add support for jsconfig in shims 2016-01-21 10:43:07 -08:00
Daniel Rosenwasser 26fdf891e9 Fix lint errors. 2016-01-16 14:05:46 -08:00
Vladimir Matveev c6b0cf1a03 Merge pull request #6213 from Microsoft/moduleAugmentations
initial revision of external module augmentations
2016-01-15 21:28:13 -08:00
Jason Killian 047c62c240 Fix issue #6478 (bug in the language services) 2016-01-15 15:48:22 -05:00
Vladimir Matveev e90db461ce merge with origin/master 2016-01-14 13:58:48 -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
Vladimir Matveev a69dcd16fa Merge remote-tracking branch 'origin/master' into moduleAugmentations 2016-01-14 11:13:48 -08:00
Zhengbo Li dbfe862dbd not casting relative filenames in 'tsc watch' to Path 2016-01-14 00:34:43 -08:00
Yui 9df1ed4dd3 Merge pull request #6227 from Microsoft/fix4581_inheritedPropertiesCrash
Fix crash in language service when using on inherited properties of self-extend
2016-01-13 19:39:40 -08:00
Yui T d4a04a11d2 Address PR 2016-01-13 16:48:48 -08:00
Mohamed Hegazy 31d85155b9 Merge branch 'master' into fixFindReferencesOnExports 2016-01-13 15:35:03 -08:00
Yui T 3391abf51a Address PR 2016-01-13 15:10:29 -08:00
vladima 7cef1efb4e merge with origin/master 2016-01-11 22:12:03 -08:00
Mohamed Hegazy 869b81162f Merge pull request #6019 from Microsoft/sourceMapDestructuring
Fixes for source map of destructuring downlevel syntax
2016-01-11 14:36:28 -08:00
Vladimir Matveev d267d645d2 Merge pull request #6411 from Microsoft/classifyJsx2
add support for classifying jsx text and string literals in jsx attributes
2016-01-11 10:54:35 -08:00
Yui T 81f760c406 Merge branch 'master' into fix5953_crashJSX 2016-01-10 05:46:54 -08:00
Vladimir Matveev c1b031aa73 fix linter issues 2016-01-08 22:43:21 -08:00
Vladimir Matveev 5c0d1a8afa added jsx classification support to fourslash and tests 2016-01-08 22:30:26 -08:00
Vladimir Matveev 946cf63a38 classify jsx text and jsx attribute values 2016-01-08 17:18:02 -08:00
Vladimir Matveev c5131e6730 recognize Jsx attribute in syntactic classifier 2016-01-08 14:44:07 -08:00
Daniel Rosenwasser 36b39379d8 Merge pull request #6391 from Microsoft/lintShims
Lint 'shims.ts' and bump the tools version to 1.8
2016-01-08 12:06:38 -05:00
Kanchalai Tanglertsampan 68f6d0c1ad Address PR feedback 2016-01-08 03:34:57 -08:00
Kagami Sascha Rosylight 5dde2b964f do not add space between comma and close bracket 2016-01-08 17:56:37 +09:00
Daniel Rosenwasser 19efab7a0b Bump version to '1.8'. 2016-01-07 23:14:17 -05:00
Daniel Rosenwasser 1bdf7edee2 Enable linting on 'shims.ts'. 2016-01-07 23:13:41 -05:00