Nathan Shively-Sanders
f8ab1a5ca6
Merge branch 'master' into transforms
2016-04-18 13:27:33 -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
Mohamed Hegazy
8c8eaaa2a2
Check for class expressions when finding related symbols in base types
2016-04-14 11:48:35 -07:00
Sheetal Nandi
41c1a5b497
Merge pull request #7945 from Microsoft/renameAndFindRef
...
Fixes rename for destructuring, named imports and default imports
2016-04-13 15:46:43 -07:00
Sheetal Nandi
c492fc6369
Update the entry point to return property symbol of destructuring assignment
2016-04-13 14:50:41 -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
Vladimir Matveev
376c493e67
include type reference directives in .d.ts. files
2016-04-11 21:36:07 -07:00
Sheetal Nandi
958a6a41ad
Some restructuring according to PR feedback
2016-04-11 16:53:49 -07:00
Sheetal Nandi
94961463fc
Rename of getPropertySymbolIfObjectBindingPatternWithoutPropertyName to getPropertySymbolOfObjectBindingPatternWithoutPropertyName
2016-04-11 15:25:25 -07:00
Sheetal Nandi
529bdd4ea6
PR feedback
2016-04-11 14:56:12 -07:00
Sheetal Nandi
7a09e2f0e9
PR feedback
2016-04-11 14:31:15 -07:00
Sheetal Nandi
c2e12efc89
Completion list of named imports shouldnt contain default export member
...
Fixes #6124
2016-04-11 13:33:16 -07:00
Vladimir Matveev
e5e7d47782
merge with origin/master
2016-04-08 14:38:47 -07:00
Sheetal Nandi
9e777306c7
Rename function
2016-04-08 13:36:18 -07:00
Sheetal Nandi
f7ca43917f
Handle the rename locations for default import
...
Handles #7024
2016-04-08 10:19:02 -07:00
Sheetal Nandi
a405f285ec
Merge branch 'master' into renameAndFindRef
2016-04-07 15:48:46 -07:00
Sheetal Nandi
ad916ab05d
Handles when property is renamed and is also part of destructuring assignment
...
Handles destructuring assignment part of #6312
2016-04-07 15:41:42 -07:00
Nathan Shively-Sanders
3704ad74d1
Merge pull request #6739 from Microsoft/this-function-types
...
This function types
2016-04-07 10:31:01 -07:00
Sheetal Nandi
01ca100d16
Include the target symbol in search if location is propertyName or the import or export specifier dont specify "as" clause
...
Handles #7708
2016-04-06 14:24:20 -07:00
Sheetal Nandi
ace2285ac2
Destructuring of object binding pattern element without property name should reference property
...
Fixes #6312
2016-04-06 12:30:56 -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
Ryan Cavanaugh
05444eaabb
Support reference library directives
2016-04-01 12:19:16 -07:00
Mohamed Hegazy
155f4879de
Review comments
2016-03-29 11:51:04 -07:00
Nathan Shively-Sanders
9e5f26048b
Merge branch 'master' into this-function-types
2016-03-28 10:12:25 -07:00
Tingan Ho
b7c3547937
Merged with master
2016-03-27 02:43:32 +08:00
Tingan Ho
86b6b6c21b
Addresses CR feedback
2016-03-26 17:57:33 +08:00
Ron Buckton
3c344987de
Merge branch 'master' into transforms
2016-03-18 17:13:55 -07:00
Vladimir Matveev
200f162bf6
rename LanguageService.getSourceFile to LanguageService.getNonBoundSourceFile and mark it as internal
2016-03-18 11:27:21 -07:00
Vladimir Matveev
112e4b1e80
Addressed PR feedback
2016-03-17 14:40:05 -07:00
Vladimir Matveev
6cfa64daa3
show completion in destructured parameter if containing function was contextually typed
2016-03-17 11:37:52 -07:00
Bill Ticehurst
1bc9157b76
Port NavBar for JS improvements
2016-03-15 09:21:06 -07:00
Vladimir Matveev
2b2092b1a2
find module augmentations in preprocessor
2016-03-14 13:30:38 -07:00
Ron Buckton
5b8cf96028
Moved modifier related flags to separate enum
2016-03-10 11:12:24 -08:00
Zhengbo Li
e151d49e7f
Merge pull request #7307 from zhengbli/fixFormatOnEnter
...
Avoid removing indentation on a new line as trailing white spaces
2016-03-10 09:18:56 -08:00
Nathan Shively-Sanders
fa22250110
Merge branch 'master' into this-function-types
2016-03-09 13:36:42 -08:00
Jason Ramsay
ae2b7c2aa2
Removing cachePath from discoverTypings and DiscoverTypingsInfo.
...
With the move to using the packageNameToLocation map it is no longer required.
2016-03-03 15:17:52 -08:00
Tingan Ho
194927e51b
Update with master
2016-03-03 13:58:20 +08:00
Tingan Ho
99edce09bc
Fixes CR feedback
2016-03-03 13:29:00 +08:00
Basarat Ali Syed
1bebc711b0
fix(build) TypingResolutionHost interface is used by exported function discoverTypings
2016-03-03 10:32:07 +11:00
jramsay
de47fcc113
Merge pull request #7179 from Microsoft/jsTypingForAcquireDts
...
Salsa: JS support for discovering and acquiring d.ts files
2016-03-02 11:10:12 -08:00
Jason Ramsay
e8772bc0a2
- Adding new lines after { for single-line if statements
...
- Renaming DiscoverTypingsSettings to DiscoverTypingsInfo to match host
2016-03-02 10:11:13 -08:00
Jason Ramsay
4bbdf2a0bb
- Removing filesToWatch from getTypingNamesFromNodeModuleFolder.
...
These modules are already installed and are not expected to change
2016-03-01 19:06:31 -08:00
Jason Ramsay
6aad783db8
- Adding DiscoverTypingsSettings
...
- Remove all references to Tsd.
Instead pass a map of package names to cached typing locations
2016-03-01 18:52:11 -08:00
zhengbli
1224013f77
Update the format span end position for formatOnEnter
2016-03-01 16:45:56 -08:00
Ryan Cavanaugh
6cdbc6cad0
Show aliases (e.g. imports) in JSX tag completion positions
...
Fixes #4577
2016-03-01 13:47:29 -08:00
Jason Ramsay
b3ceea3b3d
- replacing TryParseJson with existing readConfig
...
- push error for invalid enableAutoDiscovery option
- adding interfaces for jsons
- removing updateNotFoundTypings
- node_modules normalize file names before using
- adding safeListPath to discoverTypings
2016-03-01 11:50:27 -08:00
zhengbli
c155de778a
Avoid removing indentation on a new line as trailing white spaces
2016-02-29 17:11:01 -08:00
Jason Ramsay
0346a9889c
- Removing ts. from jsTyping.js
...
- Adding ".json" file extension filter when retrieving json files from host and removoing filter
- simplify isTypingEnabled check
2016-02-29 08:14:00 -08:00