Commit Graph

6 Commits

Author SHA1 Message Date
tonycheang
7446960904
Notification for All Feat Pro (#370)
* feat: presentational notification handler

* improve: migrate hover.js to typescript

* rename: kite.more-position -> kite.copilot-docs-from-position

* fix: events checks version from package to avoid circular dependencies

* refactor: docs-related commands lives with hover provider

* refactor: hover.ts -> docs.ts and no default export

* add: check for notification on docs command error

* improve: render buttons in presentational error notif

* clean: remove unused kite.more

* improve: use promisifiedKiteAPIRequest insetad of Kite.request

Avoids circular dependency when compiling for typescript.

* improve: variable naming

* improve: log unexpected hover errors

* improve: notifyFromError takes optional default error message

* fix: don't notify on JSON.parse error

It is expected that not all errors will send a notification.

* improve: set up ICommandRegistrant[] to signal refactor intent
2021-01-29 16:49:12 -08:00
tonycheang
28f70f2d31
Line Decoration for Code Nav (#350)
* update: typescript to latest

* add: ts bundling with ts-loader

* add: KiteCodeLensProvider skeleton

* change: wip codelens -> prototype inline decoration

* update: rm vscode devDep in favor of @types/vscode and vscode-test

See https://code.visualstudio.com/updates/v1_36#_splitting-vscode-package-into-typesvscode-and-vscodetest

* improve: consolidate after block to avoid conflicting styles

Long standing vscode bug "Inline decorations can interfere with one another"
https://github.com/microsoft/vscode/issues/33852

* remove: post-install since now using @types/vscode

* update: webpack and webpack-cli to latest

* migrate: to using vscode-test via webpack transpiling

* improve: fix various tests and improve dev test experience

* improve: use link theme color for inline message

* improve: bump kite-api and use getLineDecoration

* add: source-map and typescript test support

* migrate: expect.js -> chai for assertion style testing

* remove: unused deps + update sinon

* test: codenav-decoration
2021-01-13 11:02:31 -08:00
tonycheang
7813e6e5ea
Typescript Eslint (#349)
* add: typescript-eslint, use in .eslintrc

* clean: auto-fix semicolons

* improve: require -> es6 import statements

* remove: unused args

* clean: remove unnecessary escapes

* add: @types declarations for md5 and mixpanel

* replace: deprecated package name opn with updated open

* add: indent and object curly spacing eslint rules

* add: no-trailing-spaces rule
2020-11-13 14:45:30 -08:00
edzkite
524864e1e4
Remove hard coded max file size checks (#326)
* Remove max file size checks

* Get max file size from Kited

* Update kite-api to 3.14.0
2020-09-29 12:06:03 -07:00
edzkite
b64cd9fe98
Eslint, trigger char refactor (#262)
* Update eslint to use recommended config

* Update CompletionItemProvider trigger character implementation
2020-01-13 14:45:47 -08:00
abe33
37073f5cf0
VSCode boilerplate 2017-04-19 14:42:07 +02:00