Commit graph

193 commits

Author SHA1 Message Date
anark
e8c91d52ac Setup file watching for .tsx/.jsx as well as .ts/.js files (#53) 2019-07-31 01:12:15 +08:00
chemzqm
56c60a2ef1 improve check of statusItem 2019-07-22 02:06:03 +08:00
chemzqm
da55c11b9f fix showUnused not work 2019-07-20 03:08:11 +08:00
chemzqm
ea84909a86 fix shouldTrigger check 2019-07-09 15:37:16 +08:00
chemzqm
87e09cfb18 cache error on require typescript module 2019-06-27 14:28:21 +08:00
chemzqm
c10f34304c add tsserver.ignoreLocalTsserver configuration 2019-06-27 10:43:32 +08:00
chemzqm
74bd823e4e check if buffer is handled 2019-06-26 12:33:39 +08:00
chemzqm
686f2b2110 catch error on signatureHelp 2019-06-24 07:03:01 +08:00
chemzqm
4fc7de6766 fix tsserver module not resolved 2019-06-20 19:37:40 +08:00
chemzqm
143ebcf542 use webpack 2019-06-20 07:36:12 +08:00
chemzqm
27887574ef fix error thrown on highlight 2019-06-14 19:28:19 +08:00
chemzqm
3e925b9d7c replace find-up 2019-06-13 22:52:57 +08:00
chemzqm
0d84cdf870 Revert "support b:coc_tsserver_disable, closes #13"
This reverts commit 5946299675.
2019-06-13 22:28:42 +08:00
chemzqm
d7e2a9dfbb restart tsserver on normal exit 2019-06-13 13:18:50 +08:00
chemzqm
5946299675 support b:coc_tsserver_disable, closes #13 2019-06-12 20:42:41 +08:00
chemzqm
8b3a276e18 fix proposed module not found 2019-06-12 19:50:37 +08:00
chemzqm
c3d2bc4d4d fix suggestionActions.enabled option not working 2019-06-11 17:36:41 +08:00
chemzqm
fff7bdd57f fix validate.enable not work sometimes 2019-06-11 15:42:52 +08:00
chemzqm
f1aa930569 add new features:
- Loading status
- Batched buffer synchronize
- Configuration for showUnused variable
- Smart selection support
- Support 'auto' as quoteStyle
- Support validateDefaultNpmLocation
2019-06-10 02:24:30 +08:00
chemzqm
a3d81e2cb8 use new API for documentHighlight 2019-06-09 23:01:07 +08:00
chemzqm
046670f54b udpate dependencies 2019-06-09 22:03:27 +08:00
chemzqm
bffc00e668 fix wrong replace 2019-06-06 12:44:05 +08:00
chemzqm
26bb4b4872 add organizeImports codeAction 2019-06-05 23:11:56 +08:00
chemzqm
ab0927f744 feat(quickfix): mark sigle fix isPrefered 2019-06-04 14:23:12 +08:00
Heyward Fann
4d1714e057 remove TS version from status line (#30) 2019-05-23 09:59:41 +08:00
chemzqm
7563b04482 use local tsserverForkStart 2019-04-19 20:56:00 +08:00
chemzqm
8f7bf42a36 resolve tsc from workspaceFolder 2019-04-19 18:27:37 +08:00
chemzqm
fe5c4d84dd resolve local tsserver from workspaceFolders 2019-04-19 18:00:05 +08:00
chemzqm
f29a6f424b use workspaceFolder for project root 2019-04-19 17:42:55 +08:00
chemzqm
cd7391f846 fix watchBuild throw error, fix #18 2019-04-12 19:23:36 +08:00
chemzqm
898bf1585f use vim to run watchBuild 2019-04-12 16:33:19 +08:00
chemzqm
e76a4ef550 fix status item not shown with javascript document 2019-04-05 11:37:43 +08:00
chemzqm
d6ebd2b613 fix getProjectRootPath, fix #15 2019-03-23 18:44:28 +08:00
chemzqm
24c2aa73c7 fix undefined promise 2019-03-13 11:09:01 +08:00
chemzqm
cbb489c462 rework of typescriptService, support interuptGetErr 2019-03-12 18:48:45 +08:00
chemzqm
c19953dbd8 improve tslint 2019-03-05 23:54:43 +08:00
chemzqm
e68adfbe0b support plugins 2019-03-05 23:44:01 +08:00
chemzqm
ac0b3d8293 add importFix for node modules 2019-02-23 15:54:45 +08:00
chemzqm
93664d6aa3 Merge branch 'master' of https://github.com/neoclide/coc-tsserver 2019-02-20 02:43:29 +08:00
chemzqm
8febbe9418 fix snippet generate 2019-02-20 02:39:22 +08:00
Jasper Poppe
be81ec4e6b
bug fix: workspace.cwd -> workspace.root in getProjectRootPath()
I think workspace.cwd should become workspace.root, this fixes the tsserver behaviour in my projects (where I use paths, etc in my tsconfig.json), without this the getProjectRootPath method returns the 'source file' path .

Please correct me if I am wrong, I am still new to the code base and this took me hours to figure out ;)
2019-02-13 09:56:41 +01:00
Jasper Poppe
c16e21dd06
fixed typo: getDignosticsKind -> getDiagnosticsKind 2019-02-12 18:37:31 +01:00
chemzqm
0473880f30 use workspace.cwd when config file not resolved 2019-02-06 23:51:51 +08:00
chemzqm
a61c8b03b8 improve watchBuild command
- Use background process
- Statusline support
2019-02-06 21:53:55 +08:00
chemzqm
dab8e1509d add install modules codeAction 2019-02-06 17:12:10 +08:00
chemzqm
93f82a96a6 fix duplicated fix for unused variable 2019-02-06 11:01:42 +08:00
chemzqm
43d61273c8 support autofix of node modules import 2019-02-06 08:20:41 +08:00
chemzqm
9b1c461d82 fix check for uri scheme 2019-02-03 06:01:47 +08:00
chemzqm
96e9133f9a use cwd as project root when possible 2019-02-01 13:06:37 +08:00
chemzqm
ed95234b22 use workspace root as project root when possible 2019-01-25 20:28:12 +08:00
chemzqm
b1fcf886cc add command: tsserver.executeAutofix 2019-01-22 16:29:30 +08:00
chemzqm
931a0046d9 fix(tsserver): fix project root path resolve 2019-01-22 14:17:18 +08:00
chemzqm
d1d341b2a8 fix compile fail with tsc 3.2.2 2018-12-29 19:49:36 +08:00
chemzqm
71fa0e5ef9 fix snippet for function call 2018-12-28 17:54:02 +08:00
chemzqm
c324456e5d fix startcol & textEdit, fix #7 2018-12-25 15:23:57 +08:00
chemzqm
1f1c230456 fix registerCodeActionProvider with CodeActionKind 2018-12-17 22:17:23 +08:00
chemzqm
01ccf2cc6d fix match of terminal uri 2018-12-14 21:19:26 +08:00
chemzqm
51893f971d rework function snippet 2018-12-04 13:38:12 +08:00
chemzqm
ec6e406594 remove textEdit of completionItem 2018-12-04 12:17:57 +08:00
chemzqm
5d0c6830fc fix command title of codeLens, same as VSCode 2018-11-30 12:37:28 +08:00
chemzqm
d0b5bc760d fix label of signatureHelp 2018-11-28 04:18:32 +08:00
chemzqm
ce1aff4981 check position for function snippet 2018-11-24 20:56:49 +08:00
chemzqm
cb40287f1d add triggerCharacters for SignatureHelp 2018-11-14 14:20:14 +08:00
chemzqm
3f50455b61 Merge branch 'master' of github.com:neoclide/coc-tsserver 2018-11-13 11:22:24 +08:00
chemzqm
6c4e0d8a50 not throw error for No content available. 2018-11-09 09:59:55 +08:00
Yarden Sod-Moriah
c785f04fae
Add back javascript.jsx to the languageIds 2018-11-07 14:57:26 +02:00
chemzqm
786cdcd252 check languageId for current document 2018-11-07 19:54:23 +08:00
chemzqm
e759b156b4 support projectRootPath for document 2018-11-07 11:49:32 +08:00
chemzqm
1ac357497d add commitCharacters to completionItems 2018-11-01 02:18:04 +08:00
chemzqm
c5c1630d85 use javascriptreact as languageId for jsx 2018-10-31 21:32:16 +08:00
chemzqm
02b6067a98 add StatusBarItem support 2018-10-31 17:24:41 +08:00
chemzqm
269322685a fix suggestionActions.enabled not works 2018-10-31 14:13:55 +08:00
chemzqm
0cddc4acac use quickfix list for watchBuild 2018-10-30 03:12:06 +08:00
chemzqm
e4dbb9f68c fix organizeImports not working sometimes 2018-10-25 22:47:00 +08:00
chemzqm
311d4c0782 remvoe commaAfterImport option, use noSemicolons 2018-10-24 20:45:48 +08:00
chemzqm
59ea6999aa show diagnostics of config file 2018-10-22 20:55:01 +08:00
chemzqm
874c57579c remove using of workspace terminal 2018-10-21 15:01:04 +08:00
chemzqm
46d79132d1 doc 2018-10-21 13:21:25 +08:00
chemzqm
2f69c55eac support remove semicolons on format 2018-10-14 13:58:21 +08:00
chemzqm
b930a7b193 Use suggest for suggest configuration 2018-10-14 12:02:55 +08:00
chemzqm
48a515005b support rename for import path. 2018-10-14 11:15:08 +08:00
chemzqm
f4ed223296 use bundled version if local tsserver not found 2018-10-14 10:14:11 +08:00
chemzqm
1dfcb97d86 CompletionItemKind default to Variable 2018-10-09 01:50:28 +08:00
chemzqm
dbf008e4c7 fix ServiceStat 2018-10-01 20:25:21 +08:00
chemzqm
474f1bd827 fix locate of bundled typescript module 2018-09-27 19:30:26 +08:00
chemzqm
8b7ad4c5ee make sure service start on activate 2018-09-21 23:07:38 +08:00
chemzqm
318ac159ad fix Octal escape sequences are not allowed 2018-09-21 21:21:55 +08:00
chemzqm
dfb7ce5d3b trigger onTypeFormat on esc 2018-09-21 20:57:35 +08:00
chemzqm
fc4519a821 remove formatOnSave option 2018-09-11 00:51:17 +08:00
chemzqm
ae46f08fff add activationEvents 2018-09-08 18:32:16 +08:00
chemzqm
da3607afc3 feat(client): create client on actived 2018-09-08 16:42:09 +08:00
chemzqm
e75600b67e format code 2018-09-07 21:02:33 +08:00
chemzqm
54d03a04c1 init 2018-09-07 20:40:51 +08:00