Commit Graph

194 Commits (main)

Author SHA1 Message Date
Jerome Luckenbach b3d83d2e88 Update changelog.
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2020-01-08 23:33:37 +01:00
Jerome Luckenbach abe9c2c8b1
Enhancements (#190)
* v2 tasks json. Closes  #179.

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

* Increase needed vscode version. Closes #181

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

* Use upcoming version for the master branch.

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

* Fix minichangelog generation in build pipeline.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2020-01-08 23:24:43 +01:00
Jerome Luckenbach 07ad877900
Update item cache on save (#189)
* Added onSave event listener for HoverProvider.

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

* Refreshed changelog.

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

* Added some delay before item refresh.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2020-01-08 21:21:21 +01:00
Jerome Luckenbach 09bdbc5cce
Fix treview icons with dynamically generated path (#188)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2020-01-07 09:48:53 +01:00
Jerome Luckenbach e824746c85
Added icons to notice. (#187)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2020-01-05 22:03:35 +01:00
Jerome Luckenbach e0eab35549 Prepare future changelog.
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-11-13 23:52:54 +01:00
Jerome Luckenbach 9ba6ae5e6f 0.6.0 with fixed package.json...
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-11-13 23:01:34 +01:00
Jerome Luckenbach 6bac6546cd 0.6.0
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-11-13 22:51:15 +01:00
Jerome Luckenbach 2686ee3e72
Extracted HoverProvider as own class. Updated Changelog. (#178)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-11-11 23:58:39 +01:00
Jerome Luckenbach 38b3a1788b
Added copy and doc commands to item commands. (#177)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-11-11 20:35:07 +01:00
Jerome Luckenbach dfdacee4c7 Prepare release.
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-11-03 21:48:51 +01:00
Jerome Luckenbach 22a3d7d1fa
Removed, safe to replace, karaf references. (#172)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-11-03 20:48:11 +01:00
Jerome Luckenbach dbcbc244b7
Refactor docs/infos (#169)
* Refactor readme and changelog texts.

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

* Adress Review comments.

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

* Removed outdated gif.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-11-03 20:19:35 +01:00
Jerome Luckenbach a7e355e47c
Fix case insensitivity in openHAB language. Fixes #17 (#170)
* Fix case insensitivity in openHAB language. Fixes #17
* Fixed multi group item declaration and sitemap rectangle braces.
* Update Changelog

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-11-03 19:41:21 +01:00
Jerome Luckenbach 9b7a904cc7
Add compare links. (#168)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-11-02 00:12:22 +01:00
Jerome Luckenbach b87691e40b
Update changelog. Closes #160. (#167)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-11-01 23:44:03 +01:00
Jerome Luckenbach ff143fda8e
Moved pipeline config and added naming script. (#166)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-11-01 21:52:07 +01:00
Jerome Luckenbach 4b2d225cc5
Reorganise package.json. Remove unused utils. Add some comments. (#165)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-29 22:13:30 +01:00
Jerome Luckenbach 8f8770ce6f
Template updates (#164)
* Update bug_report.md

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

* Update feature_request.md

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-27 15:12:40 +01:00
Jerome Luckenbach d95ba9a0ba
Added status bar item for recognition of an active extension. (#162)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-26 23:02:39 +02:00
Jerome Luckenbach e0560e3763
Fix-badge-links
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-26 22:59:37 +02:00
Jerome Luckenbach f7dd9c8d46
Add webpack support (#155)
* Add webpack support

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

* Adaption to multi package extension. (Language Server). ALso build improvements

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-26 21:06:29 +02:00
Jerome Luckenbach 00e4af3d94
Added output general prepared for general usage. Also added some logging for the basicui command. (#156)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-26 21:00:23 +02:00
Jerome Luckenbach 26855baf66
Refactoring (#154)
* Move language related files in new introduced meta folder

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

* Add some logging, reflect file movements and make openHAB tree views available without file condition.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-23 22:31:30 +02:00
Jerome Luckenbach e60b0bb796 Update issue templates
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-21 19:38:10 +02:00
Jerome Luckenbach 07efe5248e
Rename Usage.md to USAGE.md
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-21 19:34:12 +02:00
Jerome Luckenbach 736e4b7492
Split up Readme and move explanations to a docs folder. (#149)
* Split up Readme and move explanations to a docs folder.

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

* Add some links.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-21 19:30:47 +02:00
Jerome Luckenbach 89ff23f564
Update issue templates to new workflow (#153)
* Update issue templates to new workflow

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

* Removed old workflow template file.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-20 09:41:01 +02:00
Jerome Luckenbach c221725710
Removed pullaprove yaml file. (#152)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-20 00:35:39 +02:00
Jerome Luckenbach 5b65856436
Update azure-pipelines.yml for Azure Pipelines (#150) 2019-10-19 23:56:43 +02:00
Jerome Luckenbach 20faeac1cc Update package files.
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-19 18:46:48 +02:00
Jerome Luckenbach 9d9b095595 Add Azure badge.
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-19 18:46:21 +02:00
Jerome Luckenbach 36962c6195
Preparing Azure build/release pipeline support. (#148)
* Add azure pipeline config

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

* Remove failing tests caused due to build server environment.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-19 18:28:09 +02:00
Jerome Luckenbach ce3c2f1465
Add Hover provider, with rest api contents. Closes #69 (#146)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-14 18:08:45 +02:00
Jerome Luckenbach 6fa973f028
Add info/warning for the remote LSP setting to use mounted network share. (#147)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-12 13:17:25 +02:00
Jerome Luckenbach 46476c9759
Quickfixes (#144)
* Replaced deprecated tslint extension.

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

* Added some general gitignore contents. Closes #134

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-12 13:17:14 +02:00
Jerome Luckenbach ce38762651
Added some additional activation Events to support smooth startup and start with jsr223 support. (#142)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-09 18:11:18 +02:00
Jerome Luckenbach 01eee46496
Fix https lsp problems (#139)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-10-09 18:10:44 +02:00
Wouter Born 275cc21e70 Update license to EPL-2.0 (#143)
Updates the LICENSE file and adds a NOTICE file.

Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-09 18:10:12 +02:00
Jerome Luckenbach 3575ecb038 Hotfix release changes
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-05-19 19:50:20 +02:00
Jerome Luckenbach eba0017d9e Prepare release
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2019-05-19 15:56:48 +02:00
Willi Eggeling 7f8c83b3aa added configuration option for Item name casing, refactoring (#133)
- the casing of generated Item names from Thing labels can
  now be configured using the extension's configuration.
- the ItemsProvider.ts file has been refactored to not
  depend on the 'underscore.strings' library any longer.

fixes #132

Signed-off-by: Willi Eggeling <thewilli@gmail.com>
2019-02-22 21:53:45 +01:00
zbot473 08a9335971 New line after item (#136)
Solves #121 

Signed-off-by: Mihir Patil zbot473@gmail.com (github: zbot473)
2019-02-08 08:55:51 +01: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
Samuel Brucksch 82afd6fdfc Readded sort for methods used by items explorer (#127)
Signed-off-by: Samuel Brucksch <sasliga@freenet.de>
2018-12-26 13:38:03 +01:00
Jerome Luckenbach 8bb6bd1e5d Release preparation
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2018-12-09 13:33:40 +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
Samuel Brucksch 8bdf61d4ff Removed sorting of items for auto completion (#114)
* Removed sorting of items when querying completion items

vscode deals with sorting the items in the auto completion list so no need to do it here. might improve speed a bit.

Signed-off-by: Samuel Brucksch <sasliga@freenet.de>

* Fixed Docs (pseudo commit for sign off)

Signed-off-by: Samuel Brucksch <sasliga@freenet.de> (github: SamuelBrucksch)
2018-12-06 16:27:45 +01:00
Jerome Luckenbach f5c587c230 updated pullaprove settings
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2018-12-05 21:49:47 +01:00
Kuba Wolanin 908e16921c
Move openHAB tree views to a ViewContainer (#107)
* View container
* Move openHAB tree views to a ViewContainer

Signed-off-by: Kuba Wolanin <hi@kubawolanin.com>
2018-07-27 21:27:41 +02:00