-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version Updates #162
Merged
Merged
Version Updates #162
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c28abd2
update to webpack 5
NiklasRentzCAU 6ff33f1
adapt to Sprotty 0.13, sprotty-vscode and sprotty-vscode-webview 0.5,…
NiklasRentzCAU 2f3d7d1
update to Sprotty 1.0, inversify 6, node 16 and more minor version up…
NiklasRentzCAU 4c9ac28
update to Sprotty 1.1.0
NiklasRentzCAU 310c1da
use node 16 in GH workflows
NiklasRentzCAU 77b9315
build: let eslint ignore the pack/ folder, configure underscored unus…
NiklasRentzCAU File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ dist | |
lerna-debug.log | ||
lib | ||
node_modules | ||
pack | ||
plugins | ||
src-gen | ||
workspace | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,20 +109,19 @@ To intercept an action, your extension has to provide an action handler with the | |
signature: | ||
|
||
```typescript | ||
// Return `true` if the action should be forwarded to the language server. `false` otherwise. | ||
type ActionHandler = (action: { kind: string }) => Promise<boolean>; | ||
type ActionHandler = (action: { kind: string }) => Promise<void>; | ||
``` | ||
|
||
To register your action handler with the `klighd-vscode` extension call the following command: | ||
|
||
```typescript | ||
// - refId: your registration id returned from the setLanguageClient command | ||
// - kind: the action kind that should be intercepted by the handler | ||
// - handler: the action handler that is called for the provided action type. | ||
vscode.commands.executeCommand("klighd-vscode.addActionHandler", refId: string, kind: string, handler: ActionHandler); | ||
vscode.commands.executeCommand("klighd-vscode.addActionHandler", kind: string, handler: ActionHandler); | ||
``` | ||
|
||
### Dispatching Actions | ||
*This feature is currently not supported* | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. does this break any of our stuff? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This feature has not been used in any other extension, so it does not break anything either. |
||
|
||
The KLighD diagram extension provides the ability to send an action to all open diagram views that | ||
belong to the host extension. The action will be handled by the diagram core and potentially sent to | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inconsistent use of ' and " in this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created #163 to fix this and the other formatting comments in one sweep in another PR.