Commit Graph

8 Commits (275cc21e708ce5565bd1ad88251d3ee665068c0c)

Author SHA1 Message Date
Jerome Luckenbach 3575ecb038 Hotfix release changes
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-05-19 19:50:20 +02:00
Samuel Brucksch 91e7770c25 Local LSP server that improves functionality like item completion (#122)
* Initial commit with LSP from MS examples

* Code quality fixes

* added remote LSP server to run parallel to local LSP server

* removed lspEnabled check as its done in extension already

* Removed completion from REST

* removed comments

* Turned Server into a class and extracted validation

* Removed log output

* WIP: Added items completion in LSP server
Items are taken from REST API at start and are getting cached in LSP Server. Their values are updated from SSE (/rest/events). When Items are added or removed the cache is updated. So now we have a very responsive completion list.

* Code quality changes

* made code more robust

* Added parsing of StateChange and uItemUdate events

* Fixed wrongly called cb(error)

* removed log output

* Cleaned up validation to not return anything

* Cleaned up and added bit more docs

* Fixed capital letter of class in import - worked on win but not in linux

* Same as before

* Removed unused getter

* Code Quality

* Moved @types dependencies to root package.json and cleaned up tsconfig files

* Test commit for sign off

* Added author in docs

* Added pure JS impl of server and wrote tests with jest

Coverage is not goot yet, ItemCompletionProvider and Item still miss
some tests. Other files are good already.

* Added more tests, use of preomise instead of callbacks in completionitem

* Moved tests to unit folder

* Added more tests

* Cleaned up and removed TS impl

* Fixed compile problems by increasing vscode version

* Fallback to empty array if no items map is present

* More tests

* Improved npm scripts

npm run build builds a .vsix
npm run publish publishes the extension
both commands run tests before to make sure a working version is
built/deployed

* use bind() instead of anonymous function

* improved scripts

* Renamed config properties and removed useRestCompletions as its not
needed anymre

* changed config in remote language client

* removed TODO comment

* added changelog and fixed description for settings

* fixed typo

* Removed commented code

Signed-off-by: Samuel Brucksch <sasliga@freenet.de> (github: SamuelBrucksch)
2019-01-11 11:01:45 +01:00
Jerome Luckenbach 27ed416c92
Small fixes and updates (#117)
* Clarified Description for restCompletions

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Refactored -Show in Paper UI- to open always in external browser.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Removed search docs option

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* First webview implementation. Removed previewHTML.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Added WebView as exported module initially.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Preparations fo packaging. Changed minimal vscode version. Adressed review.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Finished first webview implementation.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Removed ContentProvider folder.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* updated gitignore

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Added simple mode status rest call

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Added simple mode check functionality

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2018-12-09 13:13:52 +01:00
Kuba Wolanin 485c18de6b
Release 0.3.0 (#51)
* Preparations for release 0.3.0

Signed-off-by: Kuba Wolanin <jakub.wolanin@sabre.com>

* Preparations for release 0.3.0

Signed-off-by: Kuba Wolanin <jakub.wolanin@sabre.com>
2017-11-15 09:08:26 +01:00
Kuba Wolanin bc56953381
Content Assist via LSP (#50)
* Feature #41 WIP

Signed-off-by: Kuba Wolanin <hi@kubawolanin.com>

* Completion assist - WIP

Signed-off-by: Kuba Wolanin <hi@kubawolanin.com>

* package.json bump engines

Signed-off-by: Kuba Wolanin <hi@kubawolanin.com>

* Finishing up the client-side LSP config

Signed-off-by: Kuba Wolanin <hi@kubawolanin.com>
2017-11-14 21:11:40 +01:00
Kuba Wolanin a59a95706f
Things Explorer - Initial contribution (#49)
Added icons and quick reference to thing's binding docs

Show Thing in Paper UI - WIP

Generating Items from Things channels and more!

Things Explorer is completed!

Signed-off-by: Kuba Wolanin <hi@kubawolanin.com>
2017-11-12 20:57:24 +01:00
Kuba Wolanin f75f65c663 Updates for the 0.2.0 release (#39)
Signed-off-by: Kuba Wolanin <hi@kubawolanin.com>
2017-10-20 19:18:16 +02:00
Kuba Wolanin aa64c9fe73 Language Server Protocol support (#31)
LSP cleanup, final touches.
Closes #3

Signed-off-by: Kuba Wolanin <hi@kubawolanin.com> (github: kubawolanin)
2017-10-17 20:04:14 +02:00