62 Commits

Author SHA1 Message Date
Vladimir Matveev
6ebc8abea2 introduce EditorSettings/FormatCodeSettings interfaces 2016-06-17 14:06:33 -07:00
Vladimir Matveev
7c0927d752 formatting 2016-06-16 15:23:52 -07:00
Vladimir Matveev
7b93e732d5 enable semantic classification 2016-06-15 18:30:08 -07:00
Vladimir Matveev
e8c5a591a4 getSemanticDiagnostics 2016-06-15 13:05:55 -07:00
Vladimir Matveev
9775ce03ef merge with origin/master 2016-06-14 18:02:54 -07:00
Nathan Shively-Sanders
792b23edc2 Make isDefinition required.
For the deprecated getOccurrencesAtPosition, isDefinition is always false.
2016-06-14 08:48:26 -07:00
Vladimir Matveev
23c6fac592 added sighelp 2016-06-13 15:02:54 -07:00
Nathan Shively-Sanders
5a7f7469ea Add isDefinition to ReferenceEntry
Clients can now easily tell if the reference is to a definition or a
usage.
2016-06-13 13:21:47 -07:00
Vladimir Matveev
c14398317a WIP - quickinfo 2016-06-10 16:56:15 -07:00
Vladimir Matveev
b9729a79fc switch to use explicit list of open files 2016-06-09 13:55:08 -07:00
Vladimir Matveev
697661a4be added openExternalProjects method 2016-06-07 17:45:22 -07:00
Vladimir Matveev
00f35d1934 added message handlers 2016-06-07 16:46:40 -07:00
Vladimir Matveev
c84aef39d1 Merge branch 'master' into tsserverVS-WIP 2016-06-07 11:27:18 -07:00
Andy Hanson
e412f52b33 Include indent in navigation bar protocol
Previously navbar01 test had indents when run in the browser but not when run from node. Now they run the same.
2016-06-03 10:04:03 -07:00
Vladimir Matveev
0b7227dce6 remove project options from project 2016-06-02 16:14:26 -07:00
zhengbli
5da620efe4 Add config file diag related types to protocol 2016-04-26 15:31:41 -07:00
zhengbli
cc58e2d7eb Use string literal type for script kind names 2016-04-19 15:20:05 -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
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
zhengbli
a0549fa316 Fix lint compliant 2015-11-12 11:33:44 -08:00
zhengbli
278b35b354 Adding test and comments. Override file content even if already opened. 2015-11-12 11:16:11 -08:00
zhengbli
f92d241888 Add file content as a parameter for the tsserver open command 2015-11-10 13:36:19 -08:00
Vladimir Matveev
5ce7fd9781 lint server 2015-10-28 15:42:15 -07:00
zhengbli
b78e560927 Add message in protocol.d.ts and rename "rebuildProjects" to "reloadProjects" 2015-08-20 14:53:29 -07:00
ToddThomson
9146d9bc2f Add Spacing for Nonempty Brackets Formatting Option
User formatting option to add single space after opening and before
closing nonempty brackets.
2015-08-13 11:56:35 -07:00
zhengbli
fceba238dd Merge branch 'master' of https://github.com/Microsoft/TypeScript into errorlist
Conflicts:
	src/server/session.ts
2015-08-10 09:40:12 -07:00
Tien Nguyen
bf7d923e09 Add filesToSearch to documentHighlights request. 2015-08-06 14:01:36 -07:00
Tien Nguyen
8550c7de4e Address feedback. 2015-08-04 15:46:38 -07:00
Tien Nguyen
d53cfdcb5b Expose document highlighting to server. 2015-08-03 20:45:39 -07:00
Zhengbo Li
bbf1105c46 Remove log statements 2015-07-13 14:01:03 -07:00
zhengbli
b2ce6db229 Add API for project level GetErr 2015-07-09 14:45:39 -07:00
Arthur Ozga
1d5dcf0d0c changes that are non-breaking 2015-06-16 15:39:34 -07:00
Mohamed Hegazy
224e7630ea use namespaces instead of modules in the codebase 2015-06-12 09:01:48 -07:00
Zhengbo Li
a7550dbba1 CR feedback 2015-06-02 15:25:01 -07:00
Zhengbo Li
70675162dc Add tests for projectinfo command 2015-06-01 17:45:28 -07:00
Zhengbo Li
321cfab2d7 CR feedback 2015-05-29 18:03:41 -07:00
Zhengbo Li
c597bd63fc Add APIs to provide project info for a given file
Return the path of the config file and the file name list of the project
(optionally). This is helpful in differentiate the build command
behavior for loose files and configured projects in sublime.
2015-05-29 17:20:41 -07:00
Mohamed Hegazy
f073981474 Update command name 2015-05-01 15:57:11 -07:00
Mohamed Hegazy
b6905aff0c Add getTypeDefinitionAtPosition to tsserver 2015-04-29 22:55:05 -07:00
Daniel Rosenwasser
5b6c65ffe0 Added support for getOccurrences to the server. 2015-04-07 23:31:09 -07:00
Steve Lucco
de2e1455bb Merge pull request #2591 from Microsoft/serverAddExitMessage
Add an exit message for the server.
2015-04-07 16:00:48 -07:00
steveluc
74e6b6eccc Add an exit message for the server. 2015-04-02 00:13:06 -07:00
Cyrus Najmabadi
1385d9b50c Merge branch 'master' into JSLS
Conflicts:
	src/services/services.ts
2015-03-31 17:40:56 -07:00
Dirk Baeumer
631a9d80be Merge pull request #2489 from dbaeumer-feature/formatOptions 2015-03-26 11:23:14 +01:00
Dirk Baeumer
c66571b273 Integrated pull request feedback 2015-03-25 12:31:59 +01:00
Cyrus Najmabadi
f583fd451e Merge branch 'completionEntryDetails' into javascriptLanguageservice
Conflicts:
	src/services/services.ts
2015-03-24 13:48:00 -07:00
Dirk Baeumer
7ed885450b Mark new interfaces with export 2015-03-24 15:48:41 +01:00
Dirk Baeumer
bda471f110 Add SignatureHelp support to Typescript server 2015-03-24 15:44:01 +01:00
steveluc
34e612c9fc Add handling of hard tabs in server buffers. Change message protocol to
pass locations as line/offset pairs instead of line/column pairs, where
offset is a 1-based character offset from the beginning of the line.
Offset will be equal to column if the line contains no tabs.  If the
line contains tabs, offset will be less than or equal to column,
depending on how many tabs are before the offset.  Also added tab size
and indent size to file open message.
2015-03-17 22:58:12 -07:00